17
W2D1

HSV colour model

Embed Size (px)

DESCRIPTION

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 - PowerPoint PPT Presentation

Citation preview

Page 1: HSV colour model

W2D1

Page 2: HSV colour model

W2D1

HSV colour model

Source: http://www.ncsu.edu/scivis/lessons/colormodels/color_models2.html

Primary coloursRedGreenBlue

SecondaryCyanMagentaYellow

Secondary=White-Primary(create colors for print)

Page 3: HSV colour model

W2D1

HSV colour model, tertiary colours

Add the coloursbetween primary and secondary

Page 4: HSV colour model

W2D1

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)

Page 5: HSV colour model

W2D1

HSV colour model

Page 6: HSV colour model

W2D1

Colour = sensation. It is determined by:-Light-Physiology-Psychology

Experiment

Page 7: HSV colour model

W2D1

Read the colors of the words in col 1, then col 3, then col 2:

Page 8: HSV colour model

W2D1

http://www.michaelbach.de/ot/col_lilacChaser/index.html

Experiments with optical illusions:

Page 9: HSV colour model

W2D19

Capturing images (with digital camera…)

Charge motion

Ch

arg

e m

otio

n

Serial (horizontal) register

Parallel (vertical) registers

Pixel

Image area(exposed to light)

Output amplifier

masked area(not exposed to light)

(slides by Claudio Cumani, European Southern Observatory)

Page 10: HSV colour model

W2D1

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)

Page 11: HSV colour model

W2D1

Lossless compression• original x by y pixels• stored: the color of every pixel, row by row

Page 12: HSV colour model

W2D1

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.

Page 13: HSV colour model

W2D1

Image from a digital camera (10MB) stored as 128kB

Page 14: HSV colour model

W2D1

8x8 blocks of pixelsJPEG compression

Page 15: HSV colour model

W2D1

<- 1 block.

Page 16: HSV colour model

W2D1

We can store the average value for every block

Page 17: HSV colour model

W2D1

What if we stored the average for 4x4 blocks?