170 likes | 326 Views
HSV colour model. Primary colours Red Green Blue Secondary Cyan Magenta Yellow Secondary=White-Primary (create colors for print). Source: http://www.ncsu.edu/scivis/lessons/colormodels/color_models2.html. HSV colour model, tertiary colours. Add the colours between primary
E N D
HSV colour model Primary colours Red Green Blue Secondary Cyan Magenta Yellow Secondary=White-Primary (create colors for print) Source: http://www.ncsu.edu/scivis/lessons/colormodels/color_models2.html
HSV colour model, tertiary colours Add the colours between primary and secondary
HSV colour model • Colour specified by 3 parameters: • hue (angle on disc) • saturation (how dominant is the hue relative to the other colours) • value (overall intensity of the light)
Colour = sensation. It is determined by: • Light • Physiology • Psychology Experiment
Read the colors of the words in col 1, then col 3, then col 2:
Experiments with optical illusions: http://www.michaelbach.de/ot/col_lilacChaser/index.html
Capturing images (with digital camera…) Charge motion Charge motion Image area (exposed to light) Parallel (vertical) registers Pixel Serial (horizontal) register Output amplifier masked area (not exposed to light) (slides by Claudio Cumani, European Southern Observatory) 9
Representing the intensity of a primary color (eg. Red) • left: 3 bits per color (numbers 0 to 7) • right: 8 bits per color (numbers 0 to 255)
Lossless compression • original x by y pixels • stored: the color of every pixel, row by row
Lossless compression • original x by y pixels • stored: the color of every pixel, row by row • A lot of black pixels! • (R,G,B=0,0,0) • Replace sequence of black pixels by 2 numbers: • “0, n” • n - nr repetitions.
JPEG compression 8x8 blocks of pixels