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

Image segmentation based on color
Image segmentation based on colorImage segmentation based on color
Image segmentation based on coloreSAT Journals
 
Image Segmentation (Digital Image Processing)
Image Segmentation (Digital Image Processing)Image Segmentation (Digital Image Processing)
Image Segmentation (Digital Image Processing)VARUN KUMAR
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial DomainA B Shinde
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image ProcessingPallavi Agarwal
 
Lect 03 - first portion
Lect 03 - first portionLect 03 - first portion
Lect 03 - first portionMoe Moe Myint
 
Digital image processing
Digital image processingDigital image processing
Digital image processingABIRAMI M
 
Spatial filtering using image processing
Spatial filtering using image processingSpatial filtering using image processing
Spatial filtering using image processingAnuj Arora
 
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
 
digital image processing, image processing
digital image processing, image processingdigital image processing, image processing
digital image processing, image processingKalyan Acharjya
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Digital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency DomainDigital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency DomainMostafa G. M. Mostafa
 
Image segmentation
Image segmentationImage segmentation
Image segmentationDeepak Kumar
 
Digital image processing img smoothning
Digital image processing img smoothningDigital image processing img smoothning
Digital image processing img smoothningVinay Gupta
 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image FundamentalsKalyan Acharjya
 

La actualidad más candente (20)

Image segmentation based on color
Image segmentation based on colorImage segmentation based on color
Image segmentation based on color
 
Image Segmentation (Digital Image Processing)
Image Segmentation (Digital Image Processing)Image Segmentation (Digital Image Processing)
Image Segmentation (Digital Image Processing)
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
 
Lect 03 - first portion
Lect 03 - first portionLect 03 - first portion
Lect 03 - first portion
 
Digital image processing
Digital image processingDigital image processing
Digital image processing
 
Spatial filtering using image processing
Spatial filtering using image processingSpatial filtering using image processing
Spatial filtering using image processing
 
Digital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image FundamentalsDigital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image Fundamentals
 
digital image processing, image processing
digital image processing, image processingdigital image processing, image processing
digital image processing, image processing
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
 
Cse image processing ppt
Cse image processing pptCse image processing ppt
Cse image processing ppt
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Digital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency DomainDigital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency Domain
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Digital image processing img smoothning
Digital image processing img smoothningDigital image processing img smoothning
Digital image processing img smoothning
 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image Fundamentals
 
image enhancement
 image enhancement image enhancement
image enhancement
 
Mathematical tools in dip
Mathematical tools in dipMathematical tools in dip
Mathematical tools in dip
 
Histogram processing
Histogram processingHistogram processing
Histogram processing
 

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
 
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
 
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...Shahbaz Alam
 

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
 
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
 
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
 

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

HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
The Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World PoliticsThe Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World PoliticsRommel Regala
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 

Último (20)

HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
The Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World PoliticsThe Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World Politics
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 

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