Top Banner
Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek @fsv.cvut.cz http://kix.fsv.cvut.cz/ vanicek
17

Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 [email protected] .

Jan 14, 2016

Download

Documents

Nelson Joseph
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

Computer Graphics

Tomas Vanicek

College of Civil Engeneering, B407

[email protected]

http://kix.fsv.cvut.cz/vanicek

Page 2: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

Methods of graphical information saving

• Grid

• Vector

Page 3: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

Grid formats

Page 4: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

Colours in Computer Graphic

Page 5: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

Electromagnetic Waves

Page 6: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

Visible light

• Frequency 3.8×1014 Hz až 7.5×1014 Hz

• Wavelength 800nm – 400nm = 8-4×10-7m

Page 7: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

Colour perception – Spectral function

Page 8: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

Colour Models

• The spectral functions forms vector space of infinity dimension

• Human eye can recognize only 10.000 – 50.000 colour hues

• In fact only 3 dimensional vector space is usually sufficient

• We must chose 3 vector of base, 3 basic colour, for example Red (R), Green (G) and Blue (B)

Page 9: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

RGB model

Page 10: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

Aditive composition of colours

Page 11: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

RGB – 8 basic colours

Page 12: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

RGB – 256 colours

• 8 x 8 x 4 partion

Page 13: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

RGB True Color

• 256 x 256 x 256 = 16.777.216 colours

Page 14: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

CMY model

• Subtractive composition of colours

Page 15: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

CMYK model

• Colour K made from CMY is not precise

• It is cheaper

Page 16: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

Model HLS (Hue, Light, Saturation)

Light

S

Page 17: Computer Graphics Tomas Vanicek College of Civil Engeneering, B407 vanicek@fsv.cvut.cz .

Model HLS