SlideShare a Scribd company logo
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

More Related Content

What's hot

Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
kiruthiammu
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
lalithambiga kamaraj
 
Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing Presentation
Revanth Chimmani
 
Data Redundacy
Data RedundacyData Redundacy
Data Redundacy
Poonam Seth
 
Image compression .
Image compression .Image compression .
Image compression .
Payal Vishwakarma
 
Enhancement in spatial domain
Enhancement in spatial domainEnhancement in spatial domain
Enhancement in spatial domainAshish Kumar
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
Mostafa G. M. Mostafa
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
A B Shinde
 
Image segmentation
Image segmentation Image segmentation
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain Filters
Suhaila Afzana
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
asodariyabhavesh
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Image segmentation
Image segmentationImage segmentation
Image segmentation
Md Shabir Alam
 
Digital image processing techniques
Digital image processing techniquesDigital image processing techniques
Digital image processing techniques
Shab Bi
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extraction
Rishabh shah
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
A B Shinde
 

What's hot (20)

Histogram processing
Histogram processingHistogram processing
Histogram processing
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing Presentation
 
Data Redundacy
Data RedundacyData Redundacy
Data Redundacy
 
Image compression .
Image compression .Image compression .
Image compression .
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
Enhancement in spatial domain
Enhancement in spatial domainEnhancement in spatial domain
Enhancement in spatial domain
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
 
SPATIAL FILTER
SPATIAL FILTERSPATIAL FILTER
SPATIAL FILTER
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain Filters
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
 
Shape Features
 Shape Features  Shape Features
Shape Features
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Image restoration and reconstruction
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Digital image processing techniques
Digital image processing techniquesDigital image processing techniques
Digital image processing techniques
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extraction
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 

Similar to 03 digital image fundamentals DIP

Image Acquisition and Representation
Image Acquisition and RepresentationImage Acquisition and Representation
Image Acquisition and Representation
Amnaakhaan
 
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
 
chap2.ppt
chap2.pptchap2.ppt
chap2.ppt
akshaya870130
 
Digital Image Fundamentals 1.ppt
Digital Image Fundamentals 1.pptDigital Image Fundamentals 1.ppt
Digital Image Fundamentals 1.ppt
MrsSDivyaBME
 
quantization and sampling presentation ppt
quantization and sampling presentation pptquantization and sampling presentation ppt
quantization and sampling presentation ppt
KNaveenKumarECE
 
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
Praveen Kumar
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
PreethiPreethi28
 
Dip mcq1
Dip mcq1Dip mcq1
Dip mcq1
Antony Vigil
 
Digital image processing fundamental explanation
Digital image processing fundamental explanationDigital image processing fundamental explanation
Digital image processing fundamental explanation
Tirusew1
 
Lec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfLec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdf
nagwaAboElenein
 
Digital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image FundamentalsDigital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image Fundamentals
Mostafa G. M. Mostafa
 
Image processing 1-lectures
Image processing  1-lecturesImage processing  1-lectures
Image processing 1-lectures
Taymoor Nazmy
 
2. IP Fundamentals.pdf
2. IP Fundamentals.pdf2. IP Fundamentals.pdf
2. IP Fundamentals.pdf
DrNVaijayanthiDeanRD
 
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.ppt
akshaya870130
 
Module 1.pptx
Module 1.pptxModule 1.pptx
Module 1.pptx
Mattupallipardhu
 
3.ppt
3.ppt3.ppt
3.ppt
anshharjai
 
Lect 02 second portion
Lect 02  second portionLect 02  second portion
Lect 02 second portion
Moe Moe Myint
 
Ip unit 1
Ip unit 1Ip unit 1
Ip unit 1
Dr. Radhey Shyam
 

Similar to 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
 
Lect 02 second portion
Lect 02  second portionLect 02  second portion
Lect 02 second portion
 
DIP.ppt
DIP.pptDIP.ppt
DIP.ppt
 
Ip unit 1
Ip unit 1Ip unit 1
Ip unit 1
 

More from 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 Sockets
babak danyal
 
Java IO Package and Streams
Java IO Package and StreamsJava IO Package and Streams
Java IO Package and Streams
babak 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 Java
babak danyal
 
Tcp sockets
Tcp socketsTcp sockets
Tcp sockets
babak danyal
 
block ciphers and the des
block ciphers and the desblock ciphers and the des
block ciphers and the des
babak danyal
 
key distribution in network security
key distribution in network securitykey distribution in network security
key distribution in network security
babak danyal
 
Lecture10 Signal and Systems
Lecture10 Signal and SystemsLecture10 Signal and Systems
Lecture10 Signal and Systems
babak danyal
 
Lecture8 Signal and Systems
Lecture8 Signal and SystemsLecture8 Signal and Systems
Lecture8 Signal and Systems
babak danyal
 
Lecture7 Signal and Systems
Lecture7 Signal and SystemsLecture7 Signal and Systems
Lecture7 Signal and Systems
babak danyal
 
Lecture6 Signal and Systems
Lecture6 Signal and SystemsLecture6 Signal and Systems
Lecture6 Signal and Systems
babak danyal
 
Lecture5 Signal and Systems
Lecture5 Signal and SystemsLecture5 Signal and Systems
Lecture5 Signal and Systems
babak danyal
 
Lecture4 Signal and Systems
Lecture4  Signal and SystemsLecture4  Signal and Systems
Lecture4 Signal and Systems
babak danyal
 
Lecture3 Signal and Systems
Lecture3 Signal and SystemsLecture3 Signal and Systems
Lecture3 Signal and Systems
babak danyal
 
Lecture2 Signal and Systems
Lecture2 Signal and SystemsLecture2 Signal and Systems
Lecture2 Signal and Systems
babak 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 Systems
babak danyal
 
Cns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption TechniquesCns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption Techniques
babak danyal
 
Classical Encryption Techniques in Network Security
Classical Encryption Techniques in Network SecurityClassical Encryption Techniques in Network Security
Classical Encryption Techniques in Network Security
babak danyal
 

More from 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
 

Recently uploaded

Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 

Recently uploaded (20)

Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 

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