SlideShare uma empresa 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

Mais conteúdo relacionado

Mais procurados

Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: BasicsA B Shinde
 
Image enhancement in the spatial domain1
Image enhancement in the spatial domain1Image enhancement in the spatial domain1
Image enhancement in the spatial domain1shabanam tamboli
 
Thresholding.ppt
Thresholding.pptThresholding.ppt
Thresholding.pptshankar64
 
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
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processingasodariyabhavesh
 
Digital image processing img smoothning
Digital image processing img smoothningDigital image processing img smoothning
Digital image processing img smoothningVinay Gupta
 
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
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)Moe Moe Myint
 
IMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESIMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESVicky Kumar
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image ProcessingAzharo7
 
Advance image processing
Advance image processingAdvance image processing
Advance image processingAAKANKSHA JAIN
 
Dip unit-i-ppt academic year(2016-17)
Dip unit-i-ppt academic year(2016-17)Dip unit-i-ppt academic year(2016-17)
Dip unit-i-ppt academic year(2016-17)RagavanK6
 
Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domainAshish Kumar
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image CompressionKalyan Acharjya
 

Mais procurados (20)

Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
Segmentation
SegmentationSegmentation
Segmentation
 
Image enhancement in the spatial domain1
Image enhancement in the spatial domain1Image enhancement in the spatial domain1
Image enhancement in the spatial domain1
 
Thresholding.ppt
Thresholding.pptThresholding.ppt
Thresholding.ppt
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
 
Digital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image FundamentalsDigital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image Fundamentals
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processing
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
 
Digital image processing img smoothning
Digital image processing img smoothningDigital image processing img smoothning
Digital image processing img smoothning
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)
 
IMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESIMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUES
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Advance image processing
Advance image processingAdvance image processing
Advance image processing
 
Dip unit-i-ppt academic year(2016-17)
Dip unit-i-ppt academic year(2016-17)Dip unit-i-ppt academic year(2016-17)
Dip unit-i-ppt academic year(2016-17)
 
Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domain
 
Watershed
WatershedWatershed
Watershed
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image Compression
 

Semelhante 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
 
Lect 02 second portion
Lect 02  second portionLect 02  second portion
Lect 02 second portionMoe Moe Myint
 

Semelhante 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
 
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
 
Lecture 5.pptx
Lecture 5.pptxLecture 5.pptx
Lecture 5.pptx
 

Mais 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
 

Mais 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

General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
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
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 

Último (20)

General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
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
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 

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