CS430 © 2006 Ray S. Babcock CS430 – Image Processing Image Representation
CS430 © 2006 Ray S. Babcock Optical Images What I call a “real image” f(x,y) continuous function of two continuous variables Sampled by equipment to I(x,y) discrete image Two dimensional array of integers (unsigned char) What I call a “real image” f(x,y) continuous function of two continuous variables Sampled by equipment to I(x,y) discrete image Two dimensional array of integers (unsigned char) 4 x 4 x 3bits Each value represents 1 pixel 4 x 4 x 3bits Each value represents 1 pixel
CS430 © 2006 Ray S. Babcock Types of Images Binary (1 bit) Two values (0 = black, 1 = white) Gray Scale (n bits) 2 n gray levels (0=black, 2 n -1 = white) Color (n bits each of red, green, and blue) Can have different number of bits per color, e.g. (3,3,2) but this isn’t done much anymore. (8,8,8) 24-bit color Binary (1 bit) Two values (0 = black, 1 = white) Gray Scale (n bits) 2 n gray levels (0=black, 2 n -1 = white) Color (n bits each of red, green, and blue) Can have different number of bits per color, e.g. (3,3,2) but this isn’t done much anymore. (8,8,8) 24-bit color
CS430 © 2006 Ray S. Babcock Other Color Models HSL (Hue/Saturation/Lightness) Described in text, we won’t use these. HSL (Hue/Saturation/Lightness) Described in text, we won’t use these.