Professional Documents
Culture Documents
Quantization
Prepared By
E.T.JABA JASPHIN M.E
Assistant Professor(SG)
Sampling and Quantization
• Objective: To generate digital images from sensed data
• Converting continuous sensed data into digital form involves two
processes.
• Sampling
• Quantization
• An image may be continuous w.r.to the x and y coordinates and also
in amplitude.
• Digitizing the coordinate values – sampling
• Digitizing the amplitude values – Quantization.
• The method of sampling is determined by the sensor arrangement
used to generate the image.
• Single sensing element combined with mechanical motion.
• Sensing strip.
• Sensing array
Representing Digital Images
• 𝑓 𝑥, 𝑦 − Value of the image at any coordinates 𝑥, 𝑦
• 𝑥, 𝑦 𝑎𝑟𝑒 𝑖𝑚𝑎𝑔𝑒 𝑐𝑜𝑜𝑟𝑑𝑖𝑛𝑎𝑡𝑒𝑠.
• The section of the real plane spanned by the coordinates of an image
is called the spatial domain, with 𝑥 𝑎𝑛𝑑 𝑦 being referred to as spatial
variables or spatial coordinates.
Three ways to represent 𝑓(𝑥, 𝑦)
𝑓(0,0) 𝑓 0,1 … 𝑓(0, 𝑁 − 1)
𝑓(1,0) 𝑓(1,1) … 𝑓(1, 𝑁 − 1)
• 𝑓 𝑥, 𝑦 =
⋮ ⋮ ⋮
𝑓(𝑀 − 1,0) 𝑓(𝑀 − 1,1) … 𝑓(𝑀 − 1, 𝑁 − 1)
𝑏 =𝑀×𝑁×𝑘
• When 𝑀 = 𝑁
𝑏 = 𝑁 2𝑘
Spatial and Intensity Resolution
• Spatial resolution is a measure of the smallest discernible detail in an
image.
• Spatial resolution can be stated as line pairs per unit distance and
dots(pixels) per unit distance.
• Image resolution is the largest number of discernible line pairs per
unit distance.
• Dots per unit distance is a measure of image resolution used
commonly in printing and publishing industry.
• In US this measure is usually expressed as dots per inch(dpi).
• Newspapers are printed with a resolution of 75 dpi.
• Magazines at 133dpi.
• Glossary brochures at 175dpi.
• Digital image processing book page is printed at 2400dpi.
• Intensity value assigned to point (𝑥, 𝑦)is obtained using the equation
3 3
𝑣 𝑥, 𝑦 = 𝑎𝑖𝑗 𝑥 𝑖 𝑦 𝑖
𝑖=0 𝑗=0
Preserves fine details than bilinear interpolation.