SlideShare a Scribd company logo
1 of 47
Download to read offline
Image Processing (KCS-062):
Fundamentals of Digital Image Processing
Dr. Radhey Shyam
Professor
Department of Computer Science and Engineering
BIET Lucknow
(Affiliated to Dr. A.P.J. Abdul Kalam Technical University (APJAKTU) Lucknow)
Unit-1 has been written/prepared by Dr. Radhey Shyam, with grateful acknowledgement of others who
made their course contents freely available. Feel free to use this manual for your own academic purposes.
For any query, the communication can be made through my mail shyam0058@gmail.com.
Course Outcome of Unit-1, the students will be able to explain the basic concepts of two-dimensional signal
acquisition, sampling, quantization and color model.
Date: May 03, 2021
66 Chapter 2 ■ Digital Image Fundamentals
64*64 cases.The 32*32 to 1024*1024 image is blurry,but keep in mind that
this image was zoomed by a factor of 32. In spite of this, the result of bilinear
interpolation shown in Fig. 2.25(f) is a reasonably good rendition of the origi-
nal image shape, something that is lost in Fig. 2.25(c). ■
Some Basic Relationships Between Pixels
In this section, we consider several important relationships between pixels in a
digital image.As mentioned before,an image is denoted by f(x, y).When refer-
ring in this section to a particular pixel,we use lowercase letters,such as p and q.
2.5.1 Neighbors of a Pixel
A pixel p at coordinates (x, y) has four horizontal and vertical neighbors whose
coordinates are given by
(x+1, y), (x-1, y), (x, y+1), (x, y-1)
This set of pixels, called the 4-neighbors of p, is denoted by N4(p). Each pixel
is a unit distance from (x, y), and some of the neighbors of p lie outside the
digital image if (x, y) is on the border of the image.
The four diagonal neighbors of p have coordinates
(x+1, y+1), (x+1, y-1), (x-1, y+1), (x-1, y-1)
and are denoted by ND(p). These points, together with the 4-neighbors, are
called the 8-neighbors of p, denoted by N8(p).As before, some of the points in
ND(p) and N8(p) fall outside the image if (x, y) is on the border of the image.
2.5.2 Adjacency, Connectivity, Regions, and Boundaries
Connectivity between pixels is a fundamental concept that simplifies the defini-
tion of numerous digital image concepts, such as regions and boundaries.To es-
tablish if two pixels are connected,it must be determined if they are neighbors and
if their gray levels satisfy a specified criterion of similarity (say, if their gray lev-
els are equal).For instance,in a binary image with values 0 and 1,two pixels may
be 4-neighbors,but they are said to be connected only if they have the same value.
Let V be the set of gray-level values used to define adjacency. In a binary
image, V={1} if we are referring to adjacency of pixels with value 1. In a gray-
scale image, the idea is the same, but set V typically contains more elements. For
example, in the adjacency of pixels with a range of possible gray-level values 0
to 255, set V could be any subset of these 256 values. We consider three types
of adjacency:
(a) 4-adjacency. Two pixels p and q with values from V are 4-adjacent if q is
in the set N4(p).
(b) 8-adjacency. Two pixels p and q with values from V are 8-adjacent if q is
in the set N8(p).
2.5
GONZ02-034-074.II 29-08-2001 13:36 Page 66
2.5 ■ Some Basic Relationships Between Pixels 67
(c) m-adjacency (mixed adjacency).Two pixels p and q with values from V are
m-adjacent if
(i) q is in N4(p), or
(ii) q is in ND(p) and the set has no pixels whose values
are from V.
Mixed adjacency is a modification of 8-adjacency. It is introduced to eliminate
the ambiguities that often arise when 8-adjacency is used. For example, consid-
er the pixel arrangement shown in Fig. 2.26(a) for V={1}.The three pixels at
the top of Fig. 2.26(b) show multiple (ambiguous) 8-adjacency, as indicated by
the dashed lines.This ambiguity is removed by using m-adjacency, as shown in
Fig. 2.26(c). Two image subsets S1 and S2 are adjacent if some pixel in S1 is ad-
jacent to some pixel in S2. It is understood here and in the following definitions
that adjacent means 4-, 8-, or m-adjacent.
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 and are
adjacent for 1  i  n. In this case, n is the length of the path. If
the path is a closed path.We can define 4-, 8-, or m-paths de-
pending on the type of adjacency specified. For example, the paths shown in
Fig. 2.26(b) between the northeast and southeast points are 8-paths, and the
path in Fig. 2.26(c) is an m-path. Note the absence of ambiguity in the m-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 pix-
els 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. If it only has one connected component,
then set S is called a connected set.
Let R be a subset of pixels in an image.We call R 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 (which we recall is a rectangular set of
pixels), then its boundary is defined as the set of pixels in the first and last rows
and columns of the image.This extra definition is required because an image has
no neighbors beyond its border. Normally, when we refer to a region, we are
Ax0, y0B = (xn, yn),
Axi-1, yi-1B
Axi, yiB
Axn, ynB = (s, t),
Ax0, y0B = (x, y),
Ax0, y0B, Ax1, y1B, p , Axn, ynB
N4(p) ¨ N4(q)
0 1 1
0 1 0
0 0 1
0 1 1
0 1 0
0 0 1
0 1 1
0 1 0
0 0 1
FIGURE 2.26 (a) Arrangement of pixels; (b) pixels that are 8-adjacent (shown dashed)
to the center pixel; (c) m-adjacency.
a b c
GONZ02-034-074.II 29-08-2001 13:36 Page 67
68 Chapter 2 ■ Digital Image Fundamentals
referring to a subset of an image, and any pixels in the boundary of the region
that happen to coincide with the border of the image are included implicitly as
part of the region boundary.
The concept of an edge is found frequently in discussions dealing with re-
gions and boundaries. There is a key difference between these concepts, how-
ever.The boundary of a finite region forms a closed path (Problem 2.14) and is
thus a “global” concept.As discussed in detail in Chapter 10, edges are formed
from pixels with derivative values that exceed a preset threshold.Thus, the idea
of an edge is a “local” concept that is based on a measure of gray-level discon-
tinuity at a point.It is possible to link edge points into edge segments,and some-
times these segments are linked in such a way that correspond to boundaries,
but this is not always the case.The one exception in which edges and boundaries
correspond is in binary images. Depending on the type of connectivity and edge
operators used (we discuss these in Chapter 10), the edge extracted from a bi-
nary region will be the same as the region boundary. This is intuitive. Concep-
tually, until we arrive at Chapter 10, it is helpful to think of edges as intensity
discontinuities and boundaries as closed paths.
2.5.3 Distance Measures
For pixels p, q, and z, with coordinates (x, y), (s, t), and (v, w), respectively, D
is a distance function or metric if
(a) D(p, q)  0 AD(p, q)=0 iff p=qB,
(b) D(p, q)=D(q, p), and
(c) D(p, z)  D(p, q)+D(q, z).
The Euclidean distance between p and q is defined as
(2.5-1)
For this distance measure,the pixels having a distance less than or equal to some
value r from (x, y) are the points contained in a disk of radius r centered at (x, y).
The D4 distance (also called city-block distance) between p and q is defined as
(2.5-2)
In this case, the pixels having a D4 distance from (x, y) less than or equal to
some value r form a diamond centered at (x, y). For example, the pixels with
D4 distance 2 from (x, y) (the center point) form the following contours of
constant distance:
The pixels with D4=1 are the 4-neighbors of (x, y).
2
2
1
2
2
1
0
1
2
2
1
2
2
D4(p, q) = ∑x - s∑ + ∑y - t∑.
De(p, q) = C(x - s)2
+ (y - t)2
D
1
2.
GONZ02-034-074.II 29-08-2001 13:36 Page 68
2.5 ■ Some Basic Relationships Between Pixels 69
The D8 distance (also called chessboard distance) between p and q is defined as
(2.5-3)
In this case,the pixels with D8 distance from (x, y) less than or equal to some value
r form a square centered at (x, y). For example, the pixels with D8 distance 2
from (x, y) (the center point) form the following contours of constant distance:
The pixels with D8=1 are the 8-neighbors of (x, y).
Note that the D4 and D8 distances between p and q are independent of any
paths that might exist between the points because these distances involve only
the coordinates of the points. If we elect to consider m-adjacency, however, the
Dm distance between two points is defined as the shortest m-path between the
points. In this case, the distance between two pixels will depend on the values
of the pixels along the path, as well as the values of their neighbors. For in-
stance, consider the following arrangement of pixels and assume that p, p2, and
p4 have value 1 and that p1 and p3 can have a value of 0 or 1:
Suppose that we consider adjacency of pixels valued 1 (i.e., V={1}). If p1 and
p3 are 0, the length of the shortest m-path (the Dm distance) between p and p4
is 2. If p1 is 1, then p2 and p will no longer be m-adjacent (see the definition of
m-adjacency) and the length of the shortest m-path becomes 3 (the path goes
through the points ). Similar comments apply if p3 is 1 (and p1 is 0); in
this case, the length of the shortest m-path also is 3. Finally, if both p1 and p3 are
1 the length of the shortest m-path between p and p4 is 4. In this case, the path
goes through the sequence of points
2.5.4 Image Operations on a Pixel Basis
Numerous references are made in the following chapters to operations between
images, such as dividing one image by another. In Eq. (2.4-2), images were rep-
resented in the form of matrices. As we know, matrix division is not defined.
However, when we refer to an operation like “dividing one image by another,”
we mean specifically that the division is carried out between corresponding pix-
els in the two images.Thus, for example, if f and g are images, the first element
of the image formed by “dividing” f by g is simply the first pixel in f divided
by the first pixel in g; of course, the assumption is that none of the pixels in g
have value 0. Other arithmetic and logic operations are similarly defined be-
tween corresponding pixels in the images involved.
pp1p2p3p4.
pp1p2p4
p1
p
p3
p2
p4
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
D8(p, q) = maxA∑x - s∑, ∑y - t∑B.
GONZ02-034-074.II 29-08-2001 13:36 Page 69
Image Processing Lecture 15
©Asst. Lec. Wasseem Nahy Ibrahem Page 1
Color Image Processing
The use of color is important in image processing because:
• Color is a powerful descriptor that simplifies object identification
and extraction.
• Humans can discern thousands of color shades and intensities,
compared to about only two dozen shades of gray.
Color image processing is divided into two major areas:
• Full-color processing: images are acquired with a full-color sensor,
such as a color TV camera or color scanner.
• Pseudocolor processing: The problem is one of assigning a color to
a particular monochrome intensity or range of intensities.
Color Fundamentals
Colors are seen as variable combinations of the primary colors of light:
red (R), green (G), and blue (B). The primary colors can be mixed to
produce the secondary colors: magenta (red+blue), cyan (green+blue),
and yellow (red+green). Mixing the three primaries, or a secondary with
its opposite primary color, produces white light.
Figure 15.1 Primary and secondary colors of light
RGB colors are used for color TV, monitors, and video cameras.
Image Processing Lecture 15
©Asst. Lec. Wasseem Nahy Ibrahem Page 2
However, the primary colors of pigments are cyan (C), magenta (M), and
yellow (Y), and the secondary colors are red, green, and blue. A proper
combination of the three pigment primaries, or a secondary with its
opposite primary, produces black.
Figure 15.2 Primary and secondary colors of pigments
CMY colors are used for color printing.
Color characteristics
The characteristics used to distinguish one color from another are:
• Brightness: means the amount of intensity (i.e. color level).
• Hue: represents dominant color as perceived by an observer.
• Saturation: refers to the amount of white light mixed with a hue.
Color Models
The purpose of a color model is to facilitate the specification of colors in
some standard way. A color model is a specification of a coordinate
system and a subspace within that system where each color is represented
by a single point. Color models most commonly used in image processing
are:
Image Processing Lecture 15
©Asst. Lec. Wasseem Nahy Ibrahem Page 3
• RGB model for color monitors and video cameras
• CMY and CMYK (cyan, magenta, yellow, black) models for color
printing
• HSI (hue, saturation, intensity) model
The RGB color model
In this model, each color appears in its primary colors red, green, and
blue. This model is based on a Cartesian coordinate system. The color
subspace is the cube shown in the figure below. The different colors in
this model are points on or inside the cube, and are defined by vectors
extending from the origin.
Figure 15.3 RGB color model
All color values R, G, and B have been normalized in the range [0, 1].
However, we can represent each of R, G, and B from 0 to 255.
Each RGB color image consists of three component images, one for each
primary color as shown in the figure below. These three images are
combined on the screen to produce a color image.
Image Processing Lecture 15
©Asst. Lec. Wasseem Nahy Ibrahem Page 4
Figure 15.4 Scheme of RGB color image
The total number of bits used to represent each pixel in RGB image is
called pixel depth. For example, in an RGB image if each of the red,
green, and blue images is an 8-bit image, the pixel depth of the RGB
image is 24-bits. The figure below shows the component images of an
RGB image.
Full color
Red Green Blue
Figure 15.5 A full-color image and its RGB component images
Image Processing Lecture 15
©Asst. Lec. Wasseem Nahy Ibrahem Page 5
The CMY and CMYK color model
Cyan, magenta, and yellow are the primary colors of pigments. Most
printing devices such as color printers and copiers require CMY data
input or perform an RGB to CMY conversion internally. This conversion
is performed using the equation
=
1
1
1
−
where, all color values have been normalized to the range [0, 1].
In printing, combining equal amounts of cyan, magenta, and yellow
produce muddy-looking black. In order to produce true black, a fourth
color, black, is added, giving rise to the CMYK color model.
The figure below shows the CMYK component images of an RGB image.
Full color Cyan Magenta
Yellow Black
Figure 15.6 A full-color image and its CMYK component images
Image Processing Lecture 15
©Asst. Lec. Wasseem Nahy Ibrahem Page 6
The HSI color model
The RGB and CMY color models are not suited for describing colors in
terms of human interpretation. When we view a color object, we describe
it by its hue, saturation, and brightness (intensity). Hence the HSI color
model has been presented. The HSI model decouples the intensity
component from the color-carrying information (hue and saturation) in a
color image. As a result, this model is an ideal tool for developing color
image processing algorithms.
The hue, saturation, and intensity values can be obtained from the RGB
color cube. That is, we can convert any RGB point to a corresponding
point is the HSI color model by working out the geometrical formulas.
Converting colors from RGB to HSI
The hue H is given by
=
≤
360 − 
Where
=
1
2
[( − ) + ( − )]
( − ) + ( − )( − )
The saturation S is given by
= 1 −
3
( + + )
[min ( , , )]
The intensity I is given by
=
1
3
( + + )
All RGB values are normalized to the range [0,1].
Image Processing Lecture 15
©Asst. Lec. Wasseem Nahy Ibrahem Page 7
Converting colors from HSI to RGB
The applicable equations depend on the value of H:
If °
≤  °
:
= (1 − )
= 1 +
( ° )
= 3 − ( + )
If °
≤  °
:
= − 120°
= (1 − )
= 1 +
( ° )
= 3 − ( + )
If °
≤ ≤ °
:
= − 240°
= (1 − )
= 1 +
( ° )
= 3 − ( + )
The next figure shows the HSI component images of an RGB image.
Image Processing Lecture 15
©Asst. Lec. Wasseem Nahy Ibrahem Page 8
Full color
Hue Saturation Intensity
Figure 15.7 A full-color image and its HSI component images
Basics of Full-Color Image Processing
Full-color image processing approaches fall into two major categories:
• Approaches that process each component image individually and
then form a composite processed color image from the individually
processed components.
• Approaches that work with color pixels directly.
In full-color images, color pixels really are vectors. For example, in the
RGB system, each color pixel can be expressed as
( , ) =
( , )
( , )
( , )
=
( , )
( , )
( , )
For an image of size M×N, there are MN such vectors, c(x, y), for x = 0,1,
2,...,M-1; y = 0,1,2,...,N-1.
Image Processing Lecture 15
©Asst. Lec. Wasseem Nahy Ibrahem Page 9
Color Transformation
As with the gray-level transformation, we model color transformations
using the expression
( , ) = [ ( , )]
where f(x, y) is a color input image, g(x, y) is the transformed color output
image, and T is the color transform.
This color transform can also be written
= ( , , … , ) = 1,2, … ,
For example, we wish to modify the intensity of the image shown in
Figure 14.8(a) using
( , ) = 0.7 ( , )
• In the RGB color space, three components must be transformed:
= 0.7 = 1,2,3
• In CMY space, also three component images must be transformed
= 0.7 + 0.3 = 1,2,3
• In HSI space, only intensity component is transformed
= 0.7
(a) (b)
Figure 15.8 (a) Original image. (b) Result of decreasing its intensity
Wo Di ME NSIONAL MATHE MATICAL PRELIMINARIES
mage T-sanstovmlienc
*Ma imas Age potasing ask a bect
p mad w a domain olhe than the Shalial
demain
)
Tansosm a imag
Cass We tack_(c) m t hansAosmae domaun
3APly mvere dsanstom o hetusntoh
Chatal demaiw
TensgomT( dbertcoRT(U,)
R
fl%, y)-
spall al dgma
Tans4om demaim Lwerce
Hoamstorsm
shalial
deman
*Tmag oans4ocmalioA ah a acio maje
Precsing ul amaly tio
*mage anvosmalio aAe uced imagee
emhanue men ectoralio eceustrue
entoi n nd descnhTo
age
1)
Separalle Aranspormaliow
Lmaqe amstomalla- olho-s
DeT
DET
HadaMand
TranseosM
anpo ms Waleh
Trane
dan
Hotling
Haps
2D DET
e fwo imeu Sional disCrele Fuie/
toamAm a o w e
M-
F(us)- N-1 f ( ) 2 r(u
when w= 0,1. -- M-
o,1, - - N-1
f(z,¥) = L F(4,)eianC +
MN u =o
when aeD,1 M-1
Yo - N- |
(2)
Discrda Cocme Transtomalio DCT)
e 2 -DDeT aai o eu bu Ta
Rapreceia
cCu)= au) a() F )ex2N
Co ay+)ur
2N
N-I
N- N-1 2zt1)u
au) a() C(us) ee 2N
CeseT+)r
2N
wn Y:0, N-I
3)
Ip unit 1
Ip unit 1
Ip unit 1

More Related Content

What's hot

Template Matching - Pattern Recognition
Template Matching - Pattern RecognitionTemplate Matching - Pattern Recognition
Template Matching - Pattern RecognitionMustafa Salam
 
Features image processing and Extaction
Features image processing and ExtactionFeatures image processing and Extaction
Features image processing and ExtactionAli A Jalil
 
Adaptive Median Filters
Adaptive Median FiltersAdaptive Median Filters
Adaptive Median FiltersAmnaakhaan
 
GREY LEVEL CO-OCCURRENCE MATRICES: GENERALISATION AND SOME NEW FEATURES
GREY LEVEL CO-OCCURRENCE MATRICES: GENERALISATION AND SOME NEW FEATURESGREY LEVEL CO-OCCURRENCE MATRICES: GENERALISATION AND SOME NEW FEATURES
GREY LEVEL CO-OCCURRENCE MATRICES: GENERALISATION AND SOME NEW FEATURESijcseit
 
Chapter 9 morphological image processing
Chapter 9 morphological image processingChapter 9 morphological image processing
Chapter 9 morphological image processingasodariyabhavesh
 
Image segmentation 3 morphology
Image segmentation 3 morphologyImage segmentation 3 morphology
Image segmentation 3 morphologyRumah Belajar
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extractionRushin Shah
 
Image representation
Image representationImage representation
Image representationRahul Dadwal
 
Morphological image processing
Morphological image processingMorphological image processing
Morphological image processingRaghu Kumar
 
Image Representation & Descriptors
Image Representation & DescriptorsImage Representation & Descriptors
Image Representation & DescriptorsPundrikPatel
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Comparison of Distance Transform Based Features
Comparison of Distance Transform Based FeaturesComparison of Distance Transform Based Features
Comparison of Distance Transform Based FeaturesIJERA Editor
 
A simple and fast exact clustering algorithm defined for complex
A simple and fast exact clustering algorithm defined for complexA simple and fast exact clustering algorithm defined for complex
A simple and fast exact clustering algorithm defined for complexAlexander Decker
 

What's hot (20)

Template Matching - Pattern Recognition
Template Matching - Pattern RecognitionTemplate Matching - Pattern Recognition
Template Matching - Pattern Recognition
 
Features image processing and Extaction
Features image processing and ExtactionFeatures image processing and Extaction
Features image processing and Extaction
 
Adaptive Median Filters
Adaptive Median FiltersAdaptive Median Filters
Adaptive Median Filters
 
07 Tensor Visualization
07 Tensor Visualization07 Tensor Visualization
07 Tensor Visualization
 
GREY LEVEL CO-OCCURRENCE MATRICES: GENERALISATION AND SOME NEW FEATURES
GREY LEVEL CO-OCCURRENCE MATRICES: GENERALISATION AND SOME NEW FEATURESGREY LEVEL CO-OCCURRENCE MATRICES: GENERALISATION AND SOME NEW FEATURES
GREY LEVEL CO-OCCURRENCE MATRICES: GENERALISATION AND SOME NEW FEATURES
 
Image Segmentation
 Image Segmentation Image Segmentation
Image Segmentation
 
Chapter 9 morphological image processing
Chapter 9 morphological image processingChapter 9 morphological image processing
Chapter 9 morphological image processing
 
Image segmentation 3 morphology
Image segmentation 3 morphologyImage segmentation 3 morphology
Image segmentation 3 morphology
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extraction
 
Image representation
Image representationImage representation
Image representation
 
Morphological operations
Morphological operationsMorphological operations
Morphological operations
 
06 Vector Visualization
06 Vector Visualization06 Vector Visualization
06 Vector Visualization
 
Morphological image processing
Morphological image processingMorphological image processing
Morphological image processing
 
Image Representation & Descriptors
Image Representation & DescriptorsImage Representation & Descriptors
Image Representation & Descriptors
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Cc24529533
Cc24529533Cc24529533
Cc24529533
 
1422798749.2779lecture 5
1422798749.2779lecture 51422798749.2779lecture 5
1422798749.2779lecture 5
 
Comparison of Distance Transform Based Features
Comparison of Distance Transform Based FeaturesComparison of Distance Transform Based Features
Comparison of Distance Transform Based Features
 
A simple and fast exact clustering algorithm defined for complex
A simple and fast exact clustering algorithm defined for complexA simple and fast exact clustering algorithm defined for complex
A simple and fast exact clustering algorithm defined for complex
 

Similar to Ip unit 1

DIP7_Relationships_between_pixels.ppt
DIP7_Relationships_between_pixels.pptDIP7_Relationships_between_pixels.ppt
DIP7_Relationships_between_pixels.pptakshaya870130
 
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
 
Image Acquisition and Representation
Image Acquisition and RepresentationImage Acquisition and Representation
Image Acquisition and RepresentationAmnaakhaan
 
03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIPbabak danyal
 
student-problem-solutions.pdf
student-problem-solutions.pdfstudent-problem-solutions.pdf
student-problem-solutions.pdfssuser4d4e5a
 
student-problem-solutions.PDF
student-problem-solutions.PDFstudent-problem-solutions.PDF
student-problem-solutions.PDFKarminderSingh7
 
Digital Image Fundamentals 1.ppt
Digital Image Fundamentals 1.pptDigital Image Fundamentals 1.ppt
Digital Image Fundamentals 1.pptMrsSDivyaBME
 
pixelrelationships-m-1.pptx.ppt
pixelrelationships-m-1.pptx.pptpixelrelationships-m-1.pptx.ppt
pixelrelationships-m-1.pptx.pptJayanthHN1
 
Fundamentals of image processing
Fundamentals of image processing  Fundamentals of image processing
Fundamentals of image processing BCET, Balasore
 
The Digital Image Processing Q@A
The Digital Image Processing Q@AThe Digital Image Processing Q@A
The Digital Image Processing Q@AChung Hua Universit
 
Performance Improvement of Vector Quantization with Bit-parallelism Hardware
Performance Improvement of Vector Quantization with Bit-parallelism HardwarePerformance Improvement of Vector Quantization with Bit-parallelism Hardware
Performance Improvement of Vector Quantization with Bit-parallelism HardwareCSCJournals
 
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
 
Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...
Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...
Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...ijcisjournal
 
chapter_4_1ST_PART_BASIC_RELATION_OF_PIXELSchapter_2_dip_5th_sem.pdf
chapter_4_1ST_PART_BASIC_RELATION_OF_PIXELSchapter_2_dip_5th_sem.pdfchapter_4_1ST_PART_BASIC_RELATION_OF_PIXELSchapter_2_dip_5th_sem.pdf
chapter_4_1ST_PART_BASIC_RELATION_OF_PIXELSchapter_2_dip_5th_sem.pdfSomeone413715
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)ijceronline
 

Similar to Ip unit 1 (20)

DIP7_Relationships_between_pixels.ppt
DIP7_Relationships_between_pixels.pptDIP7_Relationships_between_pixels.ppt
DIP7_Relationships_between_pixels.ppt
 
3.ppt
3.ppt3.ppt
3.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
 
Pixel relationships
Pixel relationshipsPixel relationships
Pixel relationships
 
Image Acquisition and Representation
Image Acquisition and RepresentationImage Acquisition and Representation
Image Acquisition and Representation
 
03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIP
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
student-problem-solutions.pdf
student-problem-solutions.pdfstudent-problem-solutions.pdf
student-problem-solutions.pdf
 
student-problem-solutions.PDF
student-problem-solutions.PDFstudent-problem-solutions.PDF
student-problem-solutions.PDF
 
Digital Image Fundamentals 1.ppt
Digital Image Fundamentals 1.pptDigital Image Fundamentals 1.ppt
Digital Image Fundamentals 1.ppt
 
pixelrelationships-m-1.pptx.ppt
pixelrelationships-m-1.pptx.pptpixelrelationships-m-1.pptx.ppt
pixelrelationships-m-1.pptx.ppt
 
chap2.ppt
chap2.pptchap2.ppt
chap2.ppt
 
Fundamentals of image processing
Fundamentals of image processing  Fundamentals of image processing
Fundamentals of image processing
 
The Digital Image Processing Q@A
The Digital Image Processing Q@AThe Digital Image Processing Q@A
The Digital Image Processing Q@A
 
Performance Improvement of Vector Quantization with Bit-parallelism Hardware
Performance Improvement of Vector Quantization with Bit-parallelism HardwarePerformance Improvement of Vector Quantization with Bit-parallelism Hardware
Performance Improvement of Vector Quantization with Bit-parallelism Hardware
 
Lec-3 DIP.pptx
Lec-3 DIP.pptxLec-3 DIP.pptx
Lec-3 DIP.pptx
 
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.
 
Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...
Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...
Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...
 
chapter_4_1ST_PART_BASIC_RELATION_OF_PIXELSchapter_2_dip_5th_sem.pdf
chapter_4_1ST_PART_BASIC_RELATION_OF_PIXELSchapter_2_dip_5th_sem.pdfchapter_4_1ST_PART_BASIC_RELATION_OF_PIXELSchapter_2_dip_5th_sem.pdf
chapter_4_1ST_PART_BASIC_RELATION_OF_PIXELSchapter_2_dip_5th_sem.pdf
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 

More from Dr. Radhey Shyam

KIT-601-L-UNIT-1 (Revised) Introduction to Data Analytcs.pdf
KIT-601-L-UNIT-1 (Revised) Introduction to Data Analytcs.pdfKIT-601-L-UNIT-1 (Revised) Introduction to Data Analytcs.pdf
KIT-601-L-UNIT-1 (Revised) Introduction to Data Analytcs.pdfDr. Radhey Shyam
 
SE-UNIT-3-II-Software metrics, numerical and their solutions.pdf
SE-UNIT-3-II-Software metrics, numerical and their solutions.pdfSE-UNIT-3-II-Software metrics, numerical and their solutions.pdf
SE-UNIT-3-II-Software metrics, numerical and their solutions.pdfDr. Radhey Shyam
 
Introduction to Data Analytics and data analytics life cycle
Introduction to Data Analytics and data analytics life cycleIntroduction to Data Analytics and data analytics life cycle
Introduction to Data Analytics and data analytics life cycleDr. Radhey Shyam
 
KIT-601 Lecture Notes-UNIT-2.pdf
KIT-601 Lecture Notes-UNIT-2.pdfKIT-601 Lecture Notes-UNIT-2.pdf
KIT-601 Lecture Notes-UNIT-2.pdfDr. Radhey Shyam
 
KIT-601 Lecture Notes-UNIT-1.pdf
KIT-601 Lecture Notes-UNIT-1.pdfKIT-601 Lecture Notes-UNIT-1.pdf
KIT-601 Lecture Notes-UNIT-1.pdfDr. Radhey Shyam
 
Deep-Learning-2017-Lecture5CNN.pptx
Deep-Learning-2017-Lecture5CNN.pptxDeep-Learning-2017-Lecture5CNN.pptx
Deep-Learning-2017-Lecture5CNN.pptxDr. Radhey Shyam
 
SE UNIT-3 (Software metrics).pdf
SE UNIT-3 (Software metrics).pdfSE UNIT-3 (Software metrics).pdf
SE UNIT-3 (Software metrics).pdfDr. Radhey Shyam
 
Ip unit 4 modified on 22.06.21
Ip unit 4 modified on 22.06.21Ip unit 4 modified on 22.06.21
Ip unit 4 modified on 22.06.21Dr. Radhey Shyam
 
Ip unit 3 modified of 26.06.2021
Ip unit 3 modified of 26.06.2021Ip unit 3 modified of 26.06.2021
Ip unit 3 modified of 26.06.2021Dr. Radhey Shyam
 
Ip unit 2 modified on 8.6.2021
Ip unit 2 modified on 8.6.2021Ip unit 2 modified on 8.6.2021
Ip unit 2 modified on 8.6.2021Dr. Radhey Shyam
 

More from Dr. Radhey Shyam (20)

KIT-601-L-UNIT-1 (Revised) Introduction to Data Analytcs.pdf
KIT-601-L-UNIT-1 (Revised) Introduction to Data Analytcs.pdfKIT-601-L-UNIT-1 (Revised) Introduction to Data Analytcs.pdf
KIT-601-L-UNIT-1 (Revised) Introduction to Data Analytcs.pdf
 
SE-UNIT-3-II-Software metrics, numerical and their solutions.pdf
SE-UNIT-3-II-Software metrics, numerical and their solutions.pdfSE-UNIT-3-II-Software metrics, numerical and their solutions.pdf
SE-UNIT-3-II-Software metrics, numerical and their solutions.pdf
 
Introduction to Data Analytics and data analytics life cycle
Introduction to Data Analytics and data analytics life cycleIntroduction to Data Analytics and data analytics life cycle
Introduction to Data Analytics and data analytics life cycle
 
KCS-501-3.pdf
KCS-501-3.pdfKCS-501-3.pdf
KCS-501-3.pdf
 
KIT-601 Lecture Notes-UNIT-2.pdf
KIT-601 Lecture Notes-UNIT-2.pdfKIT-601 Lecture Notes-UNIT-2.pdf
KIT-601 Lecture Notes-UNIT-2.pdf
 
KIT-601 Lecture Notes-UNIT-1.pdf
KIT-601 Lecture Notes-UNIT-1.pdfKIT-601 Lecture Notes-UNIT-1.pdf
KIT-601 Lecture Notes-UNIT-1.pdf
 
KCS-055 U5.pdf
KCS-055 U5.pdfKCS-055 U5.pdf
KCS-055 U5.pdf
 
KCS-055 MLT U4.pdf
KCS-055 MLT U4.pdfKCS-055 MLT U4.pdf
KCS-055 MLT U4.pdf
 
Deep-Learning-2017-Lecture5CNN.pptx
Deep-Learning-2017-Lecture5CNN.pptxDeep-Learning-2017-Lecture5CNN.pptx
Deep-Learning-2017-Lecture5CNN.pptx
 
SE UNIT-3 (Software metrics).pdf
SE UNIT-3 (Software metrics).pdfSE UNIT-3 (Software metrics).pdf
SE UNIT-3 (Software metrics).pdf
 
SE UNIT-2.pdf
SE UNIT-2.pdfSE UNIT-2.pdf
SE UNIT-2.pdf
 
SE UNIT-1 Revised.pdf
SE UNIT-1 Revised.pdfSE UNIT-1 Revised.pdf
SE UNIT-1 Revised.pdf
 
SE UNIT-3.pdf
SE UNIT-3.pdfSE UNIT-3.pdf
SE UNIT-3.pdf
 
Ip unit 5
Ip unit 5Ip unit 5
Ip unit 5
 
Ip unit 4 modified on 22.06.21
Ip unit 4 modified on 22.06.21Ip unit 4 modified on 22.06.21
Ip unit 4 modified on 22.06.21
 
Ip unit 3 modified of 26.06.2021
Ip unit 3 modified of 26.06.2021Ip unit 3 modified of 26.06.2021
Ip unit 3 modified of 26.06.2021
 
Ip unit 2 modified on 8.6.2021
Ip unit 2 modified on 8.6.2021Ip unit 2 modified on 8.6.2021
Ip unit 2 modified on 8.6.2021
 
Cc unit 5
Cc unit 5Cc unit 5
Cc unit 5
 
Cc unit 4 updated version
Cc unit 4 updated versionCc unit 4 updated version
Cc unit 4 updated version
 
Cc unit 3 updated version
Cc unit 3 updated versionCc unit 3 updated version
Cc unit 3 updated version
 

Recently uploaded

Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 

Recently uploaded (20)

Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 

Ip unit 1

  • 1. Image Processing (KCS-062): Fundamentals of Digital Image Processing Dr. Radhey Shyam Professor Department of Computer Science and Engineering BIET Lucknow (Affiliated to Dr. A.P.J. Abdul Kalam Technical University (APJAKTU) Lucknow) Unit-1 has been written/prepared by Dr. Radhey Shyam, with grateful acknowledgement of others who made their course contents freely available. Feel free to use this manual for your own academic purposes. For any query, the communication can be made through my mail shyam0058@gmail.com. Course Outcome of Unit-1, the students will be able to explain the basic concepts of two-dimensional signal acquisition, sampling, quantization and color model. Date: May 03, 2021
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29. 66 Chapter 2 ■ Digital Image Fundamentals 64*64 cases.The 32*32 to 1024*1024 image is blurry,but keep in mind that this image was zoomed by a factor of 32. In spite of this, the result of bilinear interpolation shown in Fig. 2.25(f) is a reasonably good rendition of the origi- nal image shape, something that is lost in Fig. 2.25(c). ■ Some Basic Relationships Between Pixels In this section, we consider several important relationships between pixels in a digital image.As mentioned before,an image is denoted by f(x, y).When refer- ring in this section to a particular pixel,we use lowercase letters,such as p and q. 2.5.1 Neighbors of a Pixel A pixel p at coordinates (x, y) has four horizontal and vertical neighbors whose coordinates are given by (x+1, y), (x-1, y), (x, y+1), (x, y-1) This set of pixels, called the 4-neighbors of p, is denoted by N4(p). Each pixel is a unit distance from (x, y), and some of the neighbors of p lie outside the digital image if (x, y) is on the border of the image. The four diagonal neighbors of p have coordinates (x+1, y+1), (x+1, y-1), (x-1, y+1), (x-1, y-1) and are denoted by ND(p). These points, together with the 4-neighbors, are called the 8-neighbors of p, denoted by N8(p).As before, some of the points in ND(p) and N8(p) fall outside the image if (x, y) is on the border of the image. 2.5.2 Adjacency, Connectivity, Regions, and Boundaries Connectivity between pixels is a fundamental concept that simplifies the defini- tion of numerous digital image concepts, such as regions and boundaries.To es- tablish if two pixels are connected,it must be determined if they are neighbors and if their gray levels satisfy a specified criterion of similarity (say, if their gray lev- els are equal).For instance,in a binary image with values 0 and 1,two pixels may be 4-neighbors,but they are said to be connected only if they have the same value. Let V be the set of gray-level values used to define adjacency. In a binary image, V={1} if we are referring to adjacency of pixels with value 1. In a gray- scale image, the idea is the same, but set V typically contains more elements. For example, in the adjacency of pixels with a range of possible gray-level values 0 to 255, set V could be any subset of these 256 values. We consider three types of adjacency: (a) 4-adjacency. Two pixels p and q with values from V are 4-adjacent if q is in the set N4(p). (b) 8-adjacency. Two pixels p and q with values from V are 8-adjacent if q is in the set N8(p). 2.5 GONZ02-034-074.II 29-08-2001 13:36 Page 66
  • 30. 2.5 ■ Some Basic Relationships Between Pixels 67 (c) m-adjacency (mixed adjacency).Two pixels p and q with values from V are m-adjacent if (i) q is in N4(p), or (ii) q is in ND(p) and the set has no pixels whose values are from V. Mixed adjacency is a modification of 8-adjacency. It is introduced to eliminate the ambiguities that often arise when 8-adjacency is used. For example, consid- er the pixel arrangement shown in Fig. 2.26(a) for V={1}.The three pixels at the top of Fig. 2.26(b) show multiple (ambiguous) 8-adjacency, as indicated by the dashed lines.This ambiguity is removed by using m-adjacency, as shown in Fig. 2.26(c). Two image subsets S1 and S2 are adjacent if some pixel in S1 is ad- jacent to some pixel in S2. It is understood here and in the following definitions that adjacent means 4-, 8-, or m-adjacent. 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 and are adjacent for 1 i n. In this case, n is the length of the path. If the path is a closed path.We can define 4-, 8-, or m-paths de- pending on the type of adjacency specified. For example, the paths shown in Fig. 2.26(b) between the northeast and southeast points are 8-paths, and the path in Fig. 2.26(c) is an m-path. Note the absence of ambiguity in the m-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 pix- els 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. If it only has one connected component, then set S is called a connected set. Let R be a subset of pixels in an image.We call R 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 (which we recall is a rectangular set of pixels), then its boundary is defined as the set of pixels in the first and last rows and columns of the image.This extra definition is required because an image has no neighbors beyond its border. Normally, when we refer to a region, we are Ax0, y0B = (xn, yn), Axi-1, yi-1B Axi, yiB Axn, ynB = (s, t), Ax0, y0B = (x, y), Ax0, y0B, Ax1, y1B, p , Axn, ynB N4(p) ¨ N4(q) 0 1 1 0 1 0 0 0 1 0 1 1 0 1 0 0 0 1 0 1 1 0 1 0 0 0 1 FIGURE 2.26 (a) Arrangement of pixels; (b) pixels that are 8-adjacent (shown dashed) to the center pixel; (c) m-adjacency. a b c GONZ02-034-074.II 29-08-2001 13:36 Page 67
  • 31. 68 Chapter 2 ■ Digital Image Fundamentals referring to a subset of an image, and any pixels in the boundary of the region that happen to coincide with the border of the image are included implicitly as part of the region boundary. The concept of an edge is found frequently in discussions dealing with re- gions and boundaries. There is a key difference between these concepts, how- ever.The boundary of a finite region forms a closed path (Problem 2.14) and is thus a “global” concept.As discussed in detail in Chapter 10, edges are formed from pixels with derivative values that exceed a preset threshold.Thus, the idea of an edge is a “local” concept that is based on a measure of gray-level discon- tinuity at a point.It is possible to link edge points into edge segments,and some- times these segments are linked in such a way that correspond to boundaries, but this is not always the case.The one exception in which edges and boundaries correspond is in binary images. Depending on the type of connectivity and edge operators used (we discuss these in Chapter 10), the edge extracted from a bi- nary region will be the same as the region boundary. This is intuitive. Concep- tually, until we arrive at Chapter 10, it is helpful to think of edges as intensity discontinuities and boundaries as closed paths. 2.5.3 Distance Measures For pixels p, q, and z, with coordinates (x, y), (s, t), and (v, w), respectively, D is a distance function or metric if (a) D(p, q) 0 AD(p, q)=0 iff p=qB, (b) D(p, q)=D(q, p), and (c) D(p, z) D(p, q)+D(q, z). The Euclidean distance between p and q is defined as (2.5-1) For this distance measure,the pixels having a distance less than or equal to some value r from (x, y) are the points contained in a disk of radius r centered at (x, y). The D4 distance (also called city-block distance) between p and q is defined as (2.5-2) In this case, the pixels having a D4 distance from (x, y) less than or equal to some value r form a diamond centered at (x, y). For example, the pixels with D4 distance 2 from (x, y) (the center point) form the following contours of constant distance: The pixels with D4=1 are the 4-neighbors of (x, y). 2 2 1 2 2 1 0 1 2 2 1 2 2 D4(p, q) = ∑x - s∑ + ∑y - t∑. De(p, q) = C(x - s)2 + (y - t)2 D 1 2. GONZ02-034-074.II 29-08-2001 13:36 Page 68
  • 32. 2.5 ■ Some Basic Relationships Between Pixels 69 The D8 distance (also called chessboard distance) between p and q is defined as (2.5-3) In this case,the pixels with D8 distance from (x, y) less than or equal to some value r form a square centered at (x, y). For example, the pixels with D8 distance 2 from (x, y) (the center point) form the following contours of constant distance: The pixels with D8=1 are the 8-neighbors of (x, y). Note that the D4 and D8 distances between p and q are independent of any paths that might exist between the points because these distances involve only the coordinates of the points. If we elect to consider m-adjacency, however, the Dm distance between two points is defined as the shortest m-path between the points. In this case, the distance between two pixels will depend on the values of the pixels along the path, as well as the values of their neighbors. For in- stance, consider the following arrangement of pixels and assume that p, p2, and p4 have value 1 and that p1 and p3 can have a value of 0 or 1: Suppose that we consider adjacency of pixels valued 1 (i.e., V={1}). If p1 and p3 are 0, the length of the shortest m-path (the Dm distance) between p and p4 is 2. If p1 is 1, then p2 and p will no longer be m-adjacent (see the definition of m-adjacency) and the length of the shortest m-path becomes 3 (the path goes through the points ). Similar comments apply if p3 is 1 (and p1 is 0); in this case, the length of the shortest m-path also is 3. Finally, if both p1 and p3 are 1 the length of the shortest m-path between p and p4 is 4. In this case, the path goes through the sequence of points 2.5.4 Image Operations on a Pixel Basis Numerous references are made in the following chapters to operations between images, such as dividing one image by another. In Eq. (2.4-2), images were rep- resented in the form of matrices. As we know, matrix division is not defined. However, when we refer to an operation like “dividing one image by another,” we mean specifically that the division is carried out between corresponding pix- els in the two images.Thus, for example, if f and g are images, the first element of the image formed by “dividing” f by g is simply the first pixel in f divided by the first pixel in g; of course, the assumption is that none of the pixels in g have value 0. Other arithmetic and logic operations are similarly defined be- tween corresponding pixels in the images involved. pp1p2p3p4. pp1p2p4 p1 p p3 p2 p4 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 D8(p, q) = maxA∑x - s∑, ∑y - t∑B. GONZ02-034-074.II 29-08-2001 13:36 Page 69
  • 33. Image Processing Lecture 15 ©Asst. Lec. Wasseem Nahy Ibrahem Page 1 Color Image Processing The use of color is important in image processing because: • Color is a powerful descriptor that simplifies object identification and extraction. • Humans can discern thousands of color shades and intensities, compared to about only two dozen shades of gray. Color image processing is divided into two major areas: • Full-color processing: images are acquired with a full-color sensor, such as a color TV camera or color scanner. • Pseudocolor processing: The problem is one of assigning a color to a particular monochrome intensity or range of intensities. Color Fundamentals Colors are seen as variable combinations of the primary colors of light: red (R), green (G), and blue (B). The primary colors can be mixed to produce the secondary colors: magenta (red+blue), cyan (green+blue), and yellow (red+green). Mixing the three primaries, or a secondary with its opposite primary color, produces white light. Figure 15.1 Primary and secondary colors of light RGB colors are used for color TV, monitors, and video cameras.
  • 34. Image Processing Lecture 15 ©Asst. Lec. Wasseem Nahy Ibrahem Page 2 However, the primary colors of pigments are cyan (C), magenta (M), and yellow (Y), and the secondary colors are red, green, and blue. A proper combination of the three pigment primaries, or a secondary with its opposite primary, produces black. Figure 15.2 Primary and secondary colors of pigments CMY colors are used for color printing. Color characteristics The characteristics used to distinguish one color from another are: • Brightness: means the amount of intensity (i.e. color level). • Hue: represents dominant color as perceived by an observer. • Saturation: refers to the amount of white light mixed with a hue. Color Models The purpose of a color model is to facilitate the specification of colors in some standard way. A color model is a specification of a coordinate system and a subspace within that system where each color is represented by a single point. Color models most commonly used in image processing are:
  • 35. Image Processing Lecture 15 ©Asst. Lec. Wasseem Nahy Ibrahem Page 3 • RGB model for color monitors and video cameras • CMY and CMYK (cyan, magenta, yellow, black) models for color printing • HSI (hue, saturation, intensity) model The RGB color model In this model, each color appears in its primary colors red, green, and blue. This model is based on a Cartesian coordinate system. The color subspace is the cube shown in the figure below. The different colors in this model are points on or inside the cube, and are defined by vectors extending from the origin. Figure 15.3 RGB color model All color values R, G, and B have been normalized in the range [0, 1]. However, we can represent each of R, G, and B from 0 to 255. Each RGB color image consists of three component images, one for each primary color as shown in the figure below. These three images are combined on the screen to produce a color image.
  • 36. Image Processing Lecture 15 ©Asst. Lec. Wasseem Nahy Ibrahem Page 4 Figure 15.4 Scheme of RGB color image The total number of bits used to represent each pixel in RGB image is called pixel depth. For example, in an RGB image if each of the red, green, and blue images is an 8-bit image, the pixel depth of the RGB image is 24-bits. The figure below shows the component images of an RGB image. Full color Red Green Blue Figure 15.5 A full-color image and its RGB component images
  • 37. Image Processing Lecture 15 ©Asst. Lec. Wasseem Nahy Ibrahem Page 5 The CMY and CMYK color model Cyan, magenta, and yellow are the primary colors of pigments. Most printing devices such as color printers and copiers require CMY data input or perform an RGB to CMY conversion internally. This conversion is performed using the equation = 1 1 1 − where, all color values have been normalized to the range [0, 1]. In printing, combining equal amounts of cyan, magenta, and yellow produce muddy-looking black. In order to produce true black, a fourth color, black, is added, giving rise to the CMYK color model. The figure below shows the CMYK component images of an RGB image. Full color Cyan Magenta Yellow Black Figure 15.6 A full-color image and its CMYK component images
  • 38. Image Processing Lecture 15 ©Asst. Lec. Wasseem Nahy Ibrahem Page 6 The HSI color model The RGB and CMY color models are not suited for describing colors in terms of human interpretation. When we view a color object, we describe it by its hue, saturation, and brightness (intensity). Hence the HSI color model has been presented. The HSI model decouples the intensity component from the color-carrying information (hue and saturation) in a color image. As a result, this model is an ideal tool for developing color image processing algorithms. The hue, saturation, and intensity values can be obtained from the RGB color cube. That is, we can convert any RGB point to a corresponding point is the HSI color model by working out the geometrical formulas. Converting colors from RGB to HSI The hue H is given by = ≤ 360 − Where = 1 2 [( − ) + ( − )] ( − ) + ( − )( − ) The saturation S is given by = 1 − 3 ( + + ) [min ( , , )] The intensity I is given by = 1 3 ( + + ) All RGB values are normalized to the range [0,1].
  • 39. Image Processing Lecture 15 ©Asst. Lec. Wasseem Nahy Ibrahem Page 7 Converting colors from HSI to RGB The applicable equations depend on the value of H: If ° ≤ ° : = (1 − ) = 1 + ( ° ) = 3 − ( + ) If ° ≤ ° : = − 120° = (1 − ) = 1 + ( ° ) = 3 − ( + ) If ° ≤ ≤ ° : = − 240° = (1 − ) = 1 + ( ° ) = 3 − ( + ) The next figure shows the HSI component images of an RGB image.
  • 40. Image Processing Lecture 15 ©Asst. Lec. Wasseem Nahy Ibrahem Page 8 Full color Hue Saturation Intensity Figure 15.7 A full-color image and its HSI component images Basics of Full-Color Image Processing Full-color image processing approaches fall into two major categories: • Approaches that process each component image individually and then form a composite processed color image from the individually processed components. • Approaches that work with color pixels directly. In full-color images, color pixels really are vectors. For example, in the RGB system, each color pixel can be expressed as ( , ) = ( , ) ( , ) ( , ) = ( , ) ( , ) ( , ) For an image of size M×N, there are MN such vectors, c(x, y), for x = 0,1, 2,...,M-1; y = 0,1,2,...,N-1.
  • 41. Image Processing Lecture 15 ©Asst. Lec. Wasseem Nahy Ibrahem Page 9 Color Transformation As with the gray-level transformation, we model color transformations using the expression ( , ) = [ ( , )] where f(x, y) is a color input image, g(x, y) is the transformed color output image, and T is the color transform. This color transform can also be written = ( , , … , ) = 1,2, … , For example, we wish to modify the intensity of the image shown in Figure 14.8(a) using ( , ) = 0.7 ( , ) • In the RGB color space, three components must be transformed: = 0.7 = 1,2,3 • In CMY space, also three component images must be transformed = 0.7 + 0.3 = 1,2,3 • In HSI space, only intensity component is transformed = 0.7 (a) (b) Figure 15.8 (a) Original image. (b) Result of decreasing its intensity
  • 42. Wo Di ME NSIONAL MATHE MATICAL PRELIMINARIES mage T-sanstovmlienc *Ma imas Age potasing ask a bect p mad w a domain olhe than the Shalial demain ) Tansosm a imag Cass We tack_(c) m t hansAosmae domaun 3APly mvere dsanstom o hetusntoh Chatal demaiw TensgomT( dbertcoRT(U,) R fl%, y)- spall al dgma Tans4om demaim Lwerce Hoamstorsm shalial deman *Tmag oans4ocmalioA ah a acio maje Precsing ul amaly tio *mage anvosmalio aAe uced imagee emhanue men ectoralio eceustrue entoi n nd descnhTo age 1)
  • 43. Separalle Aranspormaliow Lmaqe amstomalla- olho-s DeT DET HadaMand TranseosM anpo ms Waleh Trane dan Hotling Haps 2D DET e fwo imeu Sional disCrele Fuie/ toamAm a o w e M- F(us)- N-1 f ( ) 2 r(u when w= 0,1. -- M- o,1, - - N-1 f(z,¥) = L F(4,)eianC + MN u =o when aeD,1 M-1 Yo - N- | (2)
  • 44. Discrda Cocme Transtomalio DCT) e 2 -DDeT aai o eu bu Ta Rapreceia cCu)= au) a() F )ex2N Co ay+)ur 2N N-I N- N-1 2zt1)u au) a() C(us) ee 2N CeseT+)r 2N wn Y:0, N-I 3)