Lecture 2 - Image Representation
Lecture 2 - Image Representation
LECTURE-2
Digital Image
Rasterization:
Process of converting vector graphics format to raster
graphics.
Vectorization:
Process of converting raster graphics to vector graphics format
Hardware Frame Buffer
➢Frame buffer is arranged so that the first byte of memory corresponds to the
pixel at coordinates (0,0) [left handed system].
➢Addressing then proceed in a left to right and then top to down manner.
➢Pixel (x, y) would be stored at buffer offset A where
A= x + W y
A bytes from the start of the frame buffer.
➢Sometimes, we use the term scanline to refer to a full row of pixels. A scanline is
therefore W pixels wide.
True Color Frame Buffer
(1,1,1) (1,1,1)
(0,0,0) (0,0,0)
CMYK Color Space
C=1-R=1-0.933=0.067
M=1-G=1-0.509=0.491
Y=1-B=1-0.933=0.067
Self Study
Grayscale Conversion