Title: Fluency with IT
1(No Transcript)
2HSV colour model
Primary colours Red Green Blue Secondary Cyan Mag
enta Yellow SecondaryWhite-Primary (create
colors for print)
Source http//www.ncsu.edu/scivis/lessons/colormo
dels/color_models2.html
3HSV colour model, tertiary colours
Add the colours between primary and secondary
4HSV 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)
5HSV colour model
6- Colour sensation. It is determined by
- Light
- Physiology
- Psychology
Experiment
7Read the colors of the words in col 1, then col
3, then col 2
8Experiments with optical illusions
http//www.michaelbach.de/ot/col_lilacChaser/index
.html
9Capturing images (with digital camera)
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
10- 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)
11- Lossless compression
- original x by y pixels
- stored the color of every pixel, row by row
12- Lossless compression
- original x by y pixels
- stored the color of every pixel, row by row
- A lot of black pixels!
- (R,G,B0,0,0)
- Replace sequence of black pixels by 2 numbers
- 0, n
- n - nr repetitions.
13Image from a digital camera (10MB) stored as 128kB
148x8 blocks of pixels
JPEG compression
15 16We can store the average value for every block
17What if we stored the average for 4x4 blocks?