3.sampling and Quantization
3.sampling and Quantization
1) Low level process- these involve primitive operations such as image processing to reduce noise,
contrast enhancement and image sharpening. These kinds of processes are characterized by fact
the both inputs and output are images.
2) Mid level image processing - it involves tasks like segmentation, description of those objects to
reduce them to a form suitable for computer processing, and classification of individual objects.
The inputs to the process are generally images but outputs are attributes extracted from images.
3) High level processing – It involves “making sense” of an ensemble of recognized objects, as in
image analysis, and performing the cognitive functions normally associated with vision.
The result of sampling and quantization is matrix of real numbers. Assume that an image f(x, y)
is sampled so that the resulting digital image has M rows and N Columns.
The right side of the matrix represents a digital element, pixel or pel. Hence f(x, y) is a digital image if
gray level (that is, a real number from the set of real number R) to each distinct pair of coordinates (x,
y). Due to processing storage and hardware consideration, the number gray levels typically is an
integer power of 2.
L=2k
The discrete levels are equally spaced and that they are integers in the interval [0, L-1] is called
dynamic range. Then, the number, b, of bits required to store a digital image is
b=M *N* k When M=N, the equation become b=N2*k
When an image can have 2k gray levels, it is referred to as “k- bit”. An image with 256 possible gray
levels is called an “8- bit image” (256=28).
Gray levels resolution refers to smallest discernible change in gray levels. It depends on the
gray levels. We have considerable discretion regarding the number of samples used to generate a
digital image, but this is not true for the number of gray levels. Due to hardware considerations, the
number of gray levels is usually an integer power of 2.
The most common number is 8 bits, with 16 bits being used in some applications where
enhancement of specific gray-level ranges is necessary. When an actual measure of physical resolution
relating pixels and the level of detail they resolve in the original scene are not necessary, it is not
uncommon to refer to an L level digital image of size M*N as having a spatial resolution of M*N pixels
and a gray-level resolution of L levels.