Chapter 1
Chapter 1
Imaging System is as
An image can be thought of as a function with
resulting values of the light intensity at each
point over a planar region.
▪ 2‐dimensional matrix of
Intensity (gray or color)
values
▪ Digital image: discrete
samples f [x,y]
representing continuous
image f (x,y) . Each
element of the 2-d array
f [x,y] is called a pixel
Digital Image?
Digitization causes a
digital image to become
an approximation of a
real scene
• Image (Spatial) Sampling
A digital sensor can only measure a limited number
of
samples at a discrete set of energy levels
• Quantization: process of converting continuous
analog
signal into its digital representation
• Discretize image I(u,v) values
• Limit values image can take
Representing Images
30 framed per
second
Contrast
Stretching
❑Low contrast images occur often
due to poor or non uniform lighting
conditions, or due to nonlinearity, or
small dynamic range of the imaging
sensor.
❑Purpose of contrast stretching is
to process such images so that the
dynamic range of the image will be
very high, so that different details in
the objects present in the image will
be clearly visible.
❑ Contrast stretching process
expands dynamic range of intensity
levels in an image so that it spans
the full intensity range of the
recording medium or display
devices
Image Histograms
The histogram of an image shows us the distribution of grey levels in the
image. Massively useful in image processing, especially in segmentation.
Frequencies
Grey Levels
Image Histograms
The histogram of a digital image with Dividing each of its values by the total
gray levels in the range [0, L-1] is a number of pixels in the image (n).
discrete function p(rk) = nk/ n
h (rk) = nk
rk: the kth gray level For k = 0,1,……, L-1.
nk: the number of pixels in the image p(rk): Gives an estimate of the
having gray level rk probability of occurrence of gray level
rk.
The sum of all components of a
normalized histogram is equal to 1.
Histogram
Examples (cont…)
• A selection of images and
their histograms
• Notice the relationships
between the images and
their histograms
• Note that the high contrast
image has the most
evenly spaced histogram
Histogram equalization based on a histogram obtained from a portion of the image
Region-growing approaches exploit the important fact that pixels which are close
together have similar gray values
Region growing techniques start with one pixel of a potential region and try to grow
it by adding adjacent pixels till the pixels being compared are too dissimilar
1. Choose the seed pixels (one for every
segment).The first pixel selected can be
Region just the first unlabeled pixel in the image
or a set of seed pixels can be chosen from
growing in a the image
brief… 2. Check the neighboring pixels and add
them to the region if they are similar to
the seed
1. Split (& merge) starts from the assumption that the entire image is homogeneous
2. If this is not true (by the homogeneity criterion), the image is split into four sub images