SlideShare una empresa de Scribd logo
1 de 28
Digital Image Fundamentals: 1
Digital Image FundamentalsDigital Image Fundamentals
Digital Image Fundamentals: 2
Electromagnetic SpectrumElectromagnetic Spectrum
Digital Image Fundamentals: 3
Electromagnetic SpectrumElectromagnetic Spectrum
Digital Image Fundamentals: 4
Attributes of Light SourceAttributes of Light Source
Achromatic or monochromatic light
Intensity: grey level
Chromatic light
Radiance
 measured in watts (W)
 total amount of energy that flows from the light source
Luminance
 measured in lumens (lm)
 gives a measure of the amount of energy an observer perceives
from a light source
Brightness
 a subjective descriptor of light perception that is practically
impossible to measure
 one of the key factors in describing color sensation
Digital Image Fundamentals: 5
Image SensingImage Sensing
Digital Image Fundamentals: 6
Digital Image AcquisitionDigital Image Acquisition
ExampleExample
Digital Image Fundamentals: 7
Simple Image Formation ModelSimple Image Formation Model
( , ) ( , ) ( , )f x y i x y r x y=
0 ( , )f x y< < ∞
0 ( , )i x y< < ∞
0 ( , ) 1r x y< <
Digital Image Fundamentals: 8
Image Sampling and QuantizationImage Sampling and Quantization
Digital Image Fundamentals: 9
ExampleExample
Digital Image Fundamentals: 10
Digital Image RepresentationDigital Image Representation
Digital Image Fundamentals: 11
Digital Image RepresentationDigital Image Representation
(0,0) (0,1) (0, 1)
(1,0) (1,1) (1, 1)
( , )
( 1,0) ( 1,1) ( 1, 1)
f f f N
f f f N
f x y
f M f M f M N
− 
 − =
 
 
− − − − 
K
L
M M O M
L
0,0 0,1 0, 1
1,0 1,1 1, 1
1,0 1,1 1, 1
N
N
M M M N
a a a
a a a
A
a a a
−
−
− − − −
 
 
 =
 
 
 
K
L
M M O M
L
Digital Image Fundamentals: 12
Digital Image RepresentationDigital Image Representation
Digital Image Fundamentals: 13
Digital Image RepresentationDigital Image Representation
M – number of rows
N – number of columns
L – number of gray levels (dynamic range)
b – number of bits required to store a digital image
when M=N
2k
L = [0, 1]L −
b M N k= × ×
2
b N k= ×
Digital Image Fundamentals: 14
Digital Image RepresentationDigital Image Representation
Digital Image Fundamentals: 15
Gray-Level ResolutionGray-Level Resolution
Digital Image Fundamentals: 16
Gray-Level ResolutionGray-Level Resolution
Digital Image Fundamentals: 17
Gray-Level ResolutionGray-Level Resolution
Digital Image Fundamentals: 18
Digital ZoomingDigital Zooming
Zooming requires two steps
Creation of new pixel locations
Assignment of grey levels to those new locations
Digital Image Fundamentals: 19
Digital ZoomingDigital Zooming
Nearest neighbor interpolation
Look for closest pixel in original image
Pixel replication
Fast but causes undesirable checkerboard effect
Digital Image Fundamentals: 20
Digital ZoomingDigital Zooming
Bilinear interpolation
Determines pixel value based on four nearest neighbors
Do linear interpolation in x direction
Do linear interpolation in y direction based on results of
interpolation from x direction
Does not suffer from checkerboard effect but can result in a blurred
appearance
Digital Image Fundamentals: 21
Digital ZoomingDigital Zooming
Bicubic Interpolation
Determines pixel value based on sixteen nearest neighbors
Do cubic spline interpolation in x direction
Do cubic spline interpolation in y direction based on results of
interpolation from x direction
Does not suffer from checkerboard effect like nearest neighbor
interpolation and preserves fine details better than bilinear
interpolation
Digital Image Fundamentals: 22
Digital ZoomingDigital Zooming
Digital Image Fundamentals: 23
Neighbors of a PixelNeighbors of a Pixel
A pixel p at coordinates (x,y) has four horizontal and vertical
neighbors called 4-neighbors
The four diagonal neighbors of a pixcel are
N4(p) and ND(p) are combined to make 8-neighbors ( N8(p) )
4 ( ) ( 1, ),( 1, ),( , 1),( , 1)N p x y x y x y x y→ + − + −
( ) ( 1, 1),( 1, 1),( 1, 1),( 1, 1)DN p x y x y x y x y→ + + + − − + − −
Digital Image Fundamentals: 24
AdjacencyAdjacency
Let V be the set of gray-level values used to define adjacency
4-adjacency. Two pixels p and q with values from V are
4-adjacent if q is in the set N4(p)
8-adjacency. Two pixels p and q with values from V are
8-adjacent if q is in the set N8(p).
m-adjacency (mixed adjacency). Two pixels p and q with
values from V are m-adjacent if:
 q is in N4(p), or
 q is in ND(p) and the set has no pixels whose
values are from V.
Two image subsets S1 and S2 are adjacent if some pixel in S1 is
adjacent to some pixel in S2.
4 4( ) ( )N p N q∩
Digital Image Fundamentals: 25
ConnectivityConnectivity
A (digital) path (or curve) from pixel p with coordinates (x, y) to pixel q with
coordinates (s, t) is a sequence of distinct pixels with coordinates:
where
and pixels (xi,yi) and (xi-1,yi-1) are adjacent for
if
the path is a closed path
Let S represent a subset of pixels in an image.
Two pixels p and q are said to be connected in S if there exists a path
between them consisting entirely of pixels in S.
For any pixel p in S, the set of pixels that are connected to it in S is
called a connected component of S
0 0 1 1( , ),( , ), ,( , )n nx y x y x yL
0 0( , ) ( , ),( , ) ( , )n nx y x y x y s t= =
1 i n≤ ≤
0 0( , ) ( , )n nx y x y=
Digital Image Fundamentals: 26
Regions and BoundariesRegions and Boundaries
Let R be a subset of pixels in an image
R is a region of the image if R is a connected set.
The boundary (also called border or contour) of a region R is
the set of pixels in the region that have one or more neighbors
that are not in R.
If R happens to be an entire image, then its boundary is defined
as the set of pixels in the first and last rows and columns of the
image.
Digital Image Fundamentals: 27
Distance MeasuresDistance Measures
For pixels p, q, and z, with coordinates (x, y), (s, t), and (v, w),
respectively, D is a distance function if
The Euclidean distance between p and q is defined as:
( ) ( , ) 0 ( ( , ) 0 iff )
( ) ( , ) ( , ), and
( ) ( , ) ( , ) ( , )
a D p q D p q p q
b D p q D q p
c D p z D p q D q z
≥ = =
=
≤ +
2 2
( , ) ( ) ( )eD p q x s y t= − + −
Digital Image Fundamentals: 28
Distance MeasuresDistance Measures
The D4 distance (city-block distance) between p and q is defined as:
The D8 distance (chessboard distance) between p and q is defined as:
4 ( , )D p q x s y t= = − + −
2
2 1 2
2 1 0 1 2
2 1 2
2
( )8 ( , ) max ,D p q x s y t= = − −
2 2 2 2 2
2 1 1 1 2
2 1 0 1 2
2 1 1 1 2
2 2 2 2 2

Más contenido relacionado

La actualidad más candente

Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationMostafa G. M. Mostafa
 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image FundamentalsKalyan Acharjya
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processingasodariyabhavesh
 
Image Restoration And Reconstruction
Image Restoration And ReconstructionImage Restoration And Reconstruction
Image Restoration And ReconstructionAmnaakhaan
 
Spatial filtering using image processing
Spatial filtering using image processingSpatial filtering using image processing
Spatial filtering using image processingAnuj Arora
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filtersA B Shinde
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency DomainAmnaakhaan
 
Histogram Processing
Histogram ProcessingHistogram Processing
Histogram ProcessingAmnaakhaan
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and SegmentationA B Shinde
 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Kalyan Acharjya
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING anam singla
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: BasicsA B Shinde
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial DomainDEEPASHRI HK
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation modelAnupriyaDurai
 
Chapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image EnhancementChapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image EnhancementVarun Ojha
 

La actualidad más candente (20)

Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image Fundamentals
 
Lect 06
Lect 06 Lect 06
Lect 06
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processing
 
Image Restoration And Reconstruction
Image Restoration And ReconstructionImage Restoration And Reconstruction
Image Restoration And Reconstruction
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Spatial filtering using image processing
Spatial filtering using image processingSpatial filtering using image processing
Spatial filtering using image processing
 
Digital image processing
Digital image processing  Digital image processing
Digital image processing
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency Domain
 
Histogram Processing
Histogram ProcessingHistogram Processing
Histogram Processing
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation model
 
Chapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image EnhancementChapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image Enhancement
 

Similar a 03 digital image fundamentals DIP

Image Acquisition and Representation
Image Acquisition and RepresentationImage Acquisition and Representation
Image Acquisition and RepresentationAmnaakhaan
 
chap2.ppt is the presentation of image of eye.
chap2.ppt is the presentation of image of eye.chap2.ppt is the presentation of image of eye.
chap2.ppt is the presentation of image of eye.YogeshRotela
 
Digital Image Fundamentals 1.ppt
Digital Image Fundamentals 1.pptDigital Image Fundamentals 1.ppt
Digital Image Fundamentals 1.pptMrsSDivyaBME
 
quantization and sampling presentation ppt
quantization and sampling presentation pptquantization and sampling presentation ppt
quantization and sampling presentation pptKNaveenKumarECE
 
Image_Processing-ch2surface r_part_2.ppt
Image_Processing-ch2surface r_part_2.pptImage_Processing-ch2surface r_part_2.ppt
Image_Processing-ch2surface r_part_2.pptPraveen Kumar
 
Digital image processing fundamental explanation
Digital image processing fundamental explanationDigital image processing fundamental explanation
Digital image processing fundamental explanationTirusew1
 
Lec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfLec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfnagwaAboElenein
 
Digital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image FundamentalsDigital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image FundamentalsMostafa G. M. Mostafa
 
Image processing 1-lectures
Image processing  1-lecturesImage processing  1-lectures
Image processing 1-lecturesTaymoor Nazmy
 
Fundamentals of image processing
Fundamentals of image processing  Fundamentals of image processing
Fundamentals of image processing BCET, Balasore
 
DIP7_Relationships_between_pixels.ppt
DIP7_Relationships_between_pixels.pptDIP7_Relationships_between_pixels.ppt
DIP7_Relationships_between_pixels.pptakshaya870130
 

Similar a 03 digital image fundamentals DIP (20)

Image Acquisition and Representation
Image Acquisition and RepresentationImage Acquisition and Representation
Image Acquisition and Representation
 
chap2.ppt is the presentation of image of eye.
chap2.ppt is the presentation of image of eye.chap2.ppt is the presentation of image of eye.
chap2.ppt is the presentation of image of eye.
 
chap2.ppt
chap2.pptchap2.ppt
chap2.ppt
 
Digital Image Fundamentals 1.ppt
Digital Image Fundamentals 1.pptDigital Image Fundamentals 1.ppt
Digital Image Fundamentals 1.ppt
 
quantization and sampling presentation ppt
quantization and sampling presentation pptquantization and sampling presentation ppt
quantization and sampling presentation ppt
 
Image_Processing-ch2surface r_part_2.ppt
Image_Processing-ch2surface r_part_2.pptImage_Processing-ch2surface r_part_2.ppt
Image_Processing-ch2surface r_part_2.ppt
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Dip mcq1
Dip mcq1Dip mcq1
Dip mcq1
 
Digital image processing fundamental explanation
Digital image processing fundamental explanationDigital image processing fundamental explanation
Digital image processing fundamental explanation
 
Lec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfLec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdf
 
Digital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image FundamentalsDigital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image Fundamentals
 
Image processing 1-lectures
Image processing  1-lecturesImage processing  1-lectures
Image processing 1-lectures
 
2. IP Fundamentals.pdf
2. IP Fundamentals.pdf2. IP Fundamentals.pdf
2. IP Fundamentals.pdf
 
Fundamentals of image processing
Fundamentals of image processing  Fundamentals of image processing
Fundamentals of image processing
 
DIP7_Relationships_between_pixels.ppt
DIP7_Relationships_between_pixels.pptDIP7_Relationships_between_pixels.ppt
DIP7_Relationships_between_pixels.ppt
 
Module 1.pptx
Module 1.pptxModule 1.pptx
Module 1.pptx
 
3.ppt
3.ppt3.ppt
3.ppt
 
DIP.ppt
DIP.pptDIP.ppt
DIP.ppt
 
Ip unit 1
Ip unit 1Ip unit 1
Ip unit 1
 
Lecture 5.pptx
Lecture 5.pptxLecture 5.pptx
Lecture 5.pptx
 

Más de babak danyal

Easy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client SocketsEasy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client Socketsbabak danyal
 
Java IO Package and Streams
Java IO Package and StreamsJava IO Package and Streams
Java IO Package and Streamsbabak danyal
 
Swing and Graphical User Interface in Java
Swing and Graphical User Interface in JavaSwing and Graphical User Interface in Java
Swing and Graphical User Interface in Javababak danyal
 
block ciphers and the des
block ciphers and the desblock ciphers and the des
block ciphers and the desbabak danyal
 
key distribution in network security
key distribution in network securitykey distribution in network security
key distribution in network securitybabak danyal
 
Lecture10 Signal and Systems
Lecture10 Signal and SystemsLecture10 Signal and Systems
Lecture10 Signal and Systemsbabak danyal
 
Lecture8 Signal and Systems
Lecture8 Signal and SystemsLecture8 Signal and Systems
Lecture8 Signal and Systemsbabak danyal
 
Lecture7 Signal and Systems
Lecture7 Signal and SystemsLecture7 Signal and Systems
Lecture7 Signal and Systemsbabak danyal
 
Lecture6 Signal and Systems
Lecture6 Signal and SystemsLecture6 Signal and Systems
Lecture6 Signal and Systemsbabak danyal
 
Lecture5 Signal and Systems
Lecture5 Signal and SystemsLecture5 Signal and Systems
Lecture5 Signal and Systemsbabak danyal
 
Lecture4 Signal and Systems
Lecture4  Signal and SystemsLecture4  Signal and Systems
Lecture4 Signal and Systemsbabak danyal
 
Lecture3 Signal and Systems
Lecture3 Signal and SystemsLecture3 Signal and Systems
Lecture3 Signal and Systemsbabak danyal
 
Lecture2 Signal and Systems
Lecture2 Signal and SystemsLecture2 Signal and Systems
Lecture2 Signal and Systemsbabak danyal
 
Lecture1 Intro To Signa
Lecture1 Intro To SignaLecture1 Intro To Signa
Lecture1 Intro To Signababak danyal
 
Lecture9 Signal and Systems
Lecture9 Signal and SystemsLecture9 Signal and Systems
Lecture9 Signal and Systemsbabak danyal
 
Cns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption TechniquesCns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption Techniquesbabak danyal
 
Classical Encryption Techniques in Network Security
Classical Encryption Techniques in Network SecurityClassical Encryption Techniques in Network Security
Classical Encryption Techniques in Network Securitybabak danyal
 

Más de babak danyal (20)

applist
applistapplist
applist
 
Easy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client SocketsEasy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client Sockets
 
Java IO Package and Streams
Java IO Package and StreamsJava IO Package and Streams
Java IO Package and Streams
 
Swing and Graphical User Interface in Java
Swing and Graphical User Interface in JavaSwing and Graphical User Interface in Java
Swing and Graphical User Interface in Java
 
Tcp sockets
Tcp socketsTcp sockets
Tcp sockets
 
block ciphers and the des
block ciphers and the desblock ciphers and the des
block ciphers and the des
 
key distribution in network security
key distribution in network securitykey distribution in network security
key distribution in network security
 
Lecture10 Signal and Systems
Lecture10 Signal and SystemsLecture10 Signal and Systems
Lecture10 Signal and Systems
 
Lecture8 Signal and Systems
Lecture8 Signal and SystemsLecture8 Signal and Systems
Lecture8 Signal and Systems
 
Lecture7 Signal and Systems
Lecture7 Signal and SystemsLecture7 Signal and Systems
Lecture7 Signal and Systems
 
Lecture6 Signal and Systems
Lecture6 Signal and SystemsLecture6 Signal and Systems
Lecture6 Signal and Systems
 
Lecture5 Signal and Systems
Lecture5 Signal and SystemsLecture5 Signal and Systems
Lecture5 Signal and Systems
 
Lecture4 Signal and Systems
Lecture4  Signal and SystemsLecture4  Signal and Systems
Lecture4 Signal and Systems
 
Lecture3 Signal and Systems
Lecture3 Signal and SystemsLecture3 Signal and Systems
Lecture3 Signal and Systems
 
Lecture2 Signal and Systems
Lecture2 Signal and SystemsLecture2 Signal and Systems
Lecture2 Signal and Systems
 
Lecture1 Intro To Signa
Lecture1 Intro To SignaLecture1 Intro To Signa
Lecture1 Intro To Signa
 
Lecture9 Signal and Systems
Lecture9 Signal and SystemsLecture9 Signal and Systems
Lecture9 Signal and Systems
 
Lecture9
Lecture9Lecture9
Lecture9
 
Cns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption TechniquesCns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption Techniques
 
Classical Encryption Techniques in Network Security
Classical Encryption Techniques in Network SecurityClassical Encryption Techniques in Network Security
Classical Encryption Techniques in Network Security
 

Último

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 

Último (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 

03 digital image fundamentals DIP

  • 1. Digital Image Fundamentals: 1 Digital Image FundamentalsDigital Image Fundamentals
  • 2. Digital Image Fundamentals: 2 Electromagnetic SpectrumElectromagnetic Spectrum
  • 3. Digital Image Fundamentals: 3 Electromagnetic SpectrumElectromagnetic Spectrum
  • 4. Digital Image Fundamentals: 4 Attributes of Light SourceAttributes of Light Source Achromatic or monochromatic light Intensity: grey level Chromatic light Radiance  measured in watts (W)  total amount of energy that flows from the light source Luminance  measured in lumens (lm)  gives a measure of the amount of energy an observer perceives from a light source Brightness  a subjective descriptor of light perception that is practically impossible to measure  one of the key factors in describing color sensation
  • 5. Digital Image Fundamentals: 5 Image SensingImage Sensing
  • 6. Digital Image Fundamentals: 6 Digital Image AcquisitionDigital Image Acquisition ExampleExample
  • 7. Digital Image Fundamentals: 7 Simple Image Formation ModelSimple Image Formation Model ( , ) ( , ) ( , )f x y i x y r x y= 0 ( , )f x y< < ∞ 0 ( , )i x y< < ∞ 0 ( , ) 1r x y< <
  • 8. Digital Image Fundamentals: 8 Image Sampling and QuantizationImage Sampling and Quantization
  • 9. Digital Image Fundamentals: 9 ExampleExample
  • 10. Digital Image Fundamentals: 10 Digital Image RepresentationDigital Image Representation
  • 11. Digital Image Fundamentals: 11 Digital Image RepresentationDigital Image Representation (0,0) (0,1) (0, 1) (1,0) (1,1) (1, 1) ( , ) ( 1,0) ( 1,1) ( 1, 1) f f f N f f f N f x y f M f M f M N −   − =     − − − −  K L M M O M L 0,0 0,1 0, 1 1,0 1,1 1, 1 1,0 1,1 1, 1 N N M M M N a a a a a a A a a a − − − − − −      =       K L M M O M L
  • 12. Digital Image Fundamentals: 12 Digital Image RepresentationDigital Image Representation
  • 13. Digital Image Fundamentals: 13 Digital Image RepresentationDigital Image Representation M – number of rows N – number of columns L – number of gray levels (dynamic range) b – number of bits required to store a digital image when M=N 2k L = [0, 1]L − b M N k= × × 2 b N k= ×
  • 14. Digital Image Fundamentals: 14 Digital Image RepresentationDigital Image Representation
  • 15. Digital Image Fundamentals: 15 Gray-Level ResolutionGray-Level Resolution
  • 16. Digital Image Fundamentals: 16 Gray-Level ResolutionGray-Level Resolution
  • 17. Digital Image Fundamentals: 17 Gray-Level ResolutionGray-Level Resolution
  • 18. Digital Image Fundamentals: 18 Digital ZoomingDigital Zooming Zooming requires two steps Creation of new pixel locations Assignment of grey levels to those new locations
  • 19. Digital Image Fundamentals: 19 Digital ZoomingDigital Zooming Nearest neighbor interpolation Look for closest pixel in original image Pixel replication Fast but causes undesirable checkerboard effect
  • 20. Digital Image Fundamentals: 20 Digital ZoomingDigital Zooming Bilinear interpolation Determines pixel value based on four nearest neighbors Do linear interpolation in x direction Do linear interpolation in y direction based on results of interpolation from x direction Does not suffer from checkerboard effect but can result in a blurred appearance
  • 21. Digital Image Fundamentals: 21 Digital ZoomingDigital Zooming Bicubic Interpolation Determines pixel value based on sixteen nearest neighbors Do cubic spline interpolation in x direction Do cubic spline interpolation in y direction based on results of interpolation from x direction Does not suffer from checkerboard effect like nearest neighbor interpolation and preserves fine details better than bilinear interpolation
  • 22. Digital Image Fundamentals: 22 Digital ZoomingDigital Zooming
  • 23. Digital Image Fundamentals: 23 Neighbors of a PixelNeighbors of a Pixel A pixel p at coordinates (x,y) has four horizontal and vertical neighbors called 4-neighbors The four diagonal neighbors of a pixcel are N4(p) and ND(p) are combined to make 8-neighbors ( N8(p) ) 4 ( ) ( 1, ),( 1, ),( , 1),( , 1)N p x y x y x y x y→ + − + − ( ) ( 1, 1),( 1, 1),( 1, 1),( 1, 1)DN p x y x y x y x y→ + + + − − + − −
  • 24. Digital Image Fundamentals: 24 AdjacencyAdjacency Let V be the set of gray-level values used to define adjacency 4-adjacency. Two pixels p and q with values from V are 4-adjacent if q is in the set N4(p) 8-adjacency. Two pixels p and q with values from V are 8-adjacent if q is in the set N8(p). m-adjacency (mixed adjacency). Two pixels p and q with values from V are m-adjacent if:  q is in N4(p), or  q is in ND(p) and the set has no pixels whose values are from V. Two image subsets S1 and S2 are adjacent if some pixel in S1 is adjacent to some pixel in S2. 4 4( ) ( )N p N q∩
  • 25. Digital Image Fundamentals: 25 ConnectivityConnectivity A (digital) path (or curve) from pixel p with coordinates (x, y) to pixel q with coordinates (s, t) is a sequence of distinct pixels with coordinates: where and pixels (xi,yi) and (xi-1,yi-1) are adjacent for if the path is a closed path Let S represent a subset of pixels in an image. Two pixels p and q are said to be connected in S if there exists a path between them consisting entirely of pixels in S. For any pixel p in S, the set of pixels that are connected to it in S is called a connected component of S 0 0 1 1( , ),( , ), ,( , )n nx y x y x yL 0 0( , ) ( , ),( , ) ( , )n nx y x y x y s t= = 1 i n≤ ≤ 0 0( , ) ( , )n nx y x y=
  • 26. Digital Image Fundamentals: 26 Regions and BoundariesRegions and Boundaries Let R be a subset of pixels in an image R is a region of the image if R is a connected set. The boundary (also called border or contour) of a region R is the set of pixels in the region that have one or more neighbors that are not in R. If R happens to be an entire image, then its boundary is defined as the set of pixels in the first and last rows and columns of the image.
  • 27. Digital Image Fundamentals: 27 Distance MeasuresDistance Measures For pixels p, q, and z, with coordinates (x, y), (s, t), and (v, w), respectively, D is a distance function if The Euclidean distance between p and q is defined as: ( ) ( , ) 0 ( ( , ) 0 iff ) ( ) ( , ) ( , ), and ( ) ( , ) ( , ) ( , ) a D p q D p q p q b D p q D q p c D p z D p q D q z ≥ = = = ≤ + 2 2 ( , ) ( ) ( )eD p q x s y t= − + −
  • 28. Digital Image Fundamentals: 28 Distance MeasuresDistance Measures The D4 distance (city-block distance) between p and q is defined as: The D8 distance (chessboard distance) between p and q is defined as: 4 ( , )D p q x s y t= = − + − 2 2 1 2 2 1 0 1 2 2 1 2 2 ( )8 ( , ) max ,D p q x s y t= = − − 2 2 2 2 2 2 1 1 1 2 2 1 0 1 2 2 1 1 1 2 2 2 2 2 2