Image Sampling
Image Sampling
Pixel
Coordinate convention used to represent digital images Boxes inside the image represent pixels
If k is the number of bits per pixel, then the number of gray levels, L, is an integer
power of 2.
L = 2k
When an image can have gray levels, it is common practice to refer to the image as a
“k-bit image”. For example, an image with 256 possible grey level values is called an 8
bit image.
Therefore the number of bits required to store a digitalized image of size M*N is
b = M*N*k
Example:
How much storage capacity is required to store an image with size of 1024*768 and
256 gray levels?
As it has 256 gray levels, it is an 8 bit image since 28 = 256.
Hence storage capacity required = M*N*k= 1024*768*8 = 62,91,456 bits = 7,86,432
bytes = 786.432 KB