23 24chapter 1 Image Representation
23 24chapter 1 Image Representation
1. Pixel
2. Graphics Image
3. Color Model (RGB, CMY)
4. Direct Coding
5. Lookup Table
6. Display Monitor
7. Printing
8. Image Files
9. Dithering
10. Error Diffusion
11. Image Files
12. Books
13. References
Pixel
Raster Image
Vector Image
Raster Image
Raster graphics are best used for non-line art images; specifically
digitized photographs, scanned artwork or detailed graphics
A color's RGB value indicates its red, green, and blue intensity.
3-bit RGB
Systems with a 3-bit RGB palette use 1 bit for each of the red,
green and blue color components. That is, each component is
either "on" or "off" with no intermediate states. This results in an
8-color ((21)3 = 23 = 8) palette
6-bit RGB
Systems with a 6-bit RGB palette use 2 bits for each of the red,
green, and blue color components. This results in a (22)3 = 43 = 64-
color palette
Color Palette
CMY uses subtractive color mixing used in the printing process, because it
describes what kind of inks need to be applied so the light reflected from the
substrate and through the inks produces a given color.
One starts with a white substrate (canvas, page, etc.), and uses ink to
subtract color from white to create an image.
C = 1 –( color.R / 255.0);
M = 1 – (color.G / 255.0);
Y = 1 – (color.B / 255.0);
RGB to CMY
R = (1 - C) * 255.0,
G = (1 - M) * 255.0,
B = (1 - Y) * 255.0
RGB -> CMY -> RGB
More info
http://colormine.org/convert/rgb-to-cmy
Sample Code:
https://github.com/THEjoezack/ColorMine/blob/
master/ColorMine/ColorSpaces/Conversions/
CmyConverter.cs
Direct Coding
https://www.chegg.com/homework-help/definitions/
direct-coding-3
Lookup Table
Halftone
• http://colormine.org/convert/rgb-to-cmy
• www.howstuffworks.com
• www.wikipedia.com
• http://www.picturetopeople.org/image_effects/photo-halftone/examples/photo-to
-halftone-convertion-2.gif
• http://mocoloco.com/fresh2/upload/2011/12/halftone_calendar_by_casey_klebba
/halftone_calendar_casey_klebba_3b-thumb-468x468-35319.jpg
• https://www.chegg.com
• https://www.slideshare.net/mustafasalam167/color-model-29181025
• https://www.printcnx.com/resources-and-support/addiational-resources/raster-ima
ges-vs-vector-graphics/
• https://slideplayer.com/slide/5143930/