Sampling and Quantization
Sampling and Quantization
PAM3012 Digital Image Processing for Radiographers Image S I Sampling & Q li Quantization ti ti
In this lecture
Definitions of Sampling & Quantisation Representing Digital Images Spatial & G l Gray-l Gray-level resolution l l Perceived Image Quality & Resolution Aliasing & Moire patterns
1/12/2009
a 0,1
... ...
aN 1 , 1
Digital Image
Digital Image
aij = f (x = i , y = j ) = f (i , j )
1/12/2009
number of bits = N x M x k
N&M = k = number of samples in vertical & horizontal direction bit depth
levels are equally spaced between 0 and L-1 Lin the gray scale.
Spatial Resolution
Smallest discernible detail in an image Sampling is the principle factor Often defined by line pairs per mm
GrayGray-Level Resolution
Smallest discernible
change in gray-level, L gray-
Examples
Reducing spatial resolution, constant Gray-level Gray 1024 X 1024 image subsampled down to 32 X 32 8-bit image 256 gray levels
Examples
Reducing spatial resolution, constant Gray-level Gray 1024 X 1024 image subsampled down to 32 X 32 8-bit image 256 gray levels
1/12/2009
Examples
Reducing Gray-level, constant spatial resolution (452 X 374) Gray 8-bit (256 levels) to 1-bit (2 levels) 1-
Isopreference Curves
Isopreference curves (in the N-k plane) N Each point: image having values of N and k equal to the coordinates of thi point l t th di t f this i t Points lying on an isopreference curve correspond to images of equal subjective quality.
Example
Example
Curves shift up & right
with increasing quality
1/12/2009
Example
Sometimes, for fixed N,
the quality improved by decreasing k (increased contrast) image detail
Example
Summary
Definitions of Sampling & Quantisation Representing Digital Images Spatial & Gray-level resolution GrayPerceived Image Quality & Resolution Aliasing & Moire patterns