Digital Image Representation - Unit1
Digital Image Representation - Unit1
STEP 2: Preprocessing
•This step improves the image quality.
•This deals with techniques for enhancing constrast,
removing noise and isolating regions whose texture
indicates a likelihood of alphanumeric information
Steps in image processing (cont’d)
STEP 3: SEGMENTATION
• Computer tries to separate objects from the
image background (most difficult tasks in
DIP).
• A rugged segmentation procedure brings the
process a long way toward successful
solution of an image problem.
• Output of the segmentation stage is raw pixel data, constituting
either the boundary of a region or all the points in the region
itself.
i)Boundary Representation- focus is on external characteristics
eg. Corner and inflections.
ii)Regional representations:-focus is on internal properties
eg: Texture or skeletal shape
In some cases both exists. eg: Character recognition
Steps in image processing (cont’d)
Step 4: Representation &
Description
•This is the way of
Representing raw data in the
form suitable for computer
processing
•Description (feature selection)
deals with extracting features
(basic for differentating one
class of objects from others) in
some quantitative form.
Steps in image processing (cont’d)
Step 5 Recognition & Interpretation
Recognition - the process that assigns a label to an
object based on the information provided by its
descriptors.
Interpretation - assigning meaning to an ensemble
of recognized objects.
Eq. group of 5 numerals is interpreted as –ZIP code
Knowledge base: Knowledge about the problem
domain is coded into an image processing system in
the form of knowledge data base. eg: Information of
regions of image - where processing has to be done.
In addition to guiding the operation of each module , it
controls interaction between modules.
GENERAL STEP IN IMAGE
PROCESSING
Steps in image processing (cont’d)
Image Enchanement: Simplest area, based on human
subjective prefences
This technique brings out detail that
is obscured, or simply to highlight
certain features of interest in an
image.
f ( x, y ) i ( x, y ) r ( x, y )
0 f ( x, y) where 0 i ( x, y ) (illumination)
and 0 r ( x, y ) 1 (reflectance)
r(x,y) 0 refers to total absorption
r(x,y) 1 refers to total reflection
Illumination & reflectance
Typical numerical values of:
illumination i(x,y):
Clear day light 9000foot-candles
Cloudy day 1000foot-candles
Full moon day 0.01foot-candles
Commerical office 100foot-candles
Reflectance r(x,y):
Black velvet 0.01 , stainless steel 0.65
flat white wall paint 0.80 , silver –plated metal 0.90
• Sampling : digitizing
the coordinate value
• Quantization :
digitizing the
amplitude values
Image Sampling and Quantization
Sampling Quantization
Representing Digital Images
• Digitization in spatial coordinates is image sampling
• Digitization in amplitude is grey –level quantization
• The result of sampling and quantization : matrix
of real numbers
Required total storage :
bits =M*N*k
k (bit per pixel)
Digital
a0, 0 a0,1 a0, N 1
image a
a1,1 a1, N 1
A
1, 0
aM 1, 0 aM 1, 0 aM 1, N 1
Representing Digital Images(cont’d)
• Digitization process requries decision about values
M,N and L.
• Requirement on M and N is that they must be
positive no.’s. L must be integer power of 2 due to
processing , storage and sampling hardware
requirements.
Common practice is to have N=2p, M=2k, L=2m
32
128 64
Effects of gray scale Resolution
• Here the no. of gray levels are reduced keeping the
spatial resolution constant at 1024x1024 pixels.
Use of insufficient no. of gray levels results in false
contouring at the smooth areas of a digital image.
Effects of Gray-Level Resolution
• Typical effects of varying the number of gray levels in a digital image
256
2
Some Basic Relationships Between
Pixels
• Neighbors of a Pixel N4 ( p) , N D ( p) , N8 ( p)