MAP
– set of elements to process
– function to run on each element
map(elements, function)
How Pixels are represented
red, green, blue
struct uchar4Σ
unsigned char x, y, z, w
converting color to black and white
I = (r + g + b)/3
I = .299f * r + .587f