Professional Documents
Culture Documents
• Colors
• Basic concepts of image
• Image formats
• Computer Image processing
COLORS
• Color Science
• Color Models in Images
Color Science
Color is the frequency of light wave within the narrow band of the
electromagnetic spectrum to which the human eye can respond
Light that is infrared, or below the frequency of red light and not
perceivable by human eye, can be created and viewed by electronic
diodes and sensors, and it is used for
• TV and VCR remote controls,
• for wireless communication among computers and
• for night goggles used in the military
Physics of color
• Light is an electromagnetic wave, its color characterized by the
wavelength
– Laser Light -- a single wavelength
– Most light sources -- Contributions over many wavelengths
– Short wave – Blue, Long wave -- Red
– Visible light in the range:400-700nm (Nanometer, 10-9 M)
0.00001nm 0.001nm 1nm 10nm 0.00003m 0.03m 0.3m 30m 5,500km
Cosmic Gamma Visible
X-Rays UV IR Microwaves TV Radio Electricity
Rays Rays Light
400nm 700nm
NB: Green, blue, yellow, orange, purple, pink, brown, black, gray, and white
are the 10 most common color describing words used In all human languages
and cultures.
RGB model
11/7/2013 E. Elias
RGB Color Model
A zero indicates a lack of that primary color while 255 is the maximum amount of that color
Subtractive Color: CMY
• Is created by combining
colored media such as
paints or ink that absorb
(subtract) some parts of
the color spectrum of
light and reflect the
others back to the eye.
Additive and subtractive color
• Subtractive color is the RGB is additive color; CMYK is
process used to create subtractive color
color in printing.
Transformation from RBG to CMY
C
M = 1
1
- R
G
Y 1 B
R
G = 1
1
- C
M
B 1 Y
Under color Removal : CMYK
• CMYK
– Used mostly for printing, based on cyan, magenta, yellow
and black inks used for colour separation.
K =min{ C , M ,Y }
C C-K
M = M-K
Y Y-K
• Brightness is a
percentage representing
the continuum from
black to white. 0% 100%
Basic Concepts of Images
1 pixel
Image Format
•Common image formats include: Popular File Formats
• 1 sample per point (B&W or
Grayscale) (1 bit image) ✓ JPEG
✓ GIF,
• 3 samples per point (Red,
Green, and Blue) ✓ BMP,
• 4 samples per point (Red, ✓ Others
Green, Blue, and “Alpha”,
a.k.a. Opacity)
1-Bit Image
• Also called Binary Image or Monochrome
Image
• Storage
– Monochrome image with resolution: 640×480
– 640×480/8 bytes
– Storing space needed: 38.4KB
• Usage
– Pictures containing only simple graphics and
text
8-Bit Gray-level Image
• Resolution
– High:1600×1200
– Low:640×480
– Aspect Ratio : 4:3
• The space needed by a 640×480 grey image
– 640×480=307,200 bytes
24-Bit Color Image
24-Bit Color Image: Feature
• GIF
• JPEG
• BMP
• PNG
• TIFF
• EXIF
• others
GIF Image
GIF Image: features
Dithering
Dithering is a technique to increase the number of colors to
be perceived in an image.
Aliasing
Is caused by the limited resolution of an output device.
Aliasing makes edges seen as staircases.
Some Image Techniques
Anti-aliasing
• Is a technique to reduce the staircase effect.
• It works by filling in pixels which should be half filled
with different levels of gray or matching colours.
• The result is sharper edges, not blurring or
smoothing them
What is Digital Image Processing?
interpretation
Object
Image Recognition
Enhancement
Image
Acquisition Image
Compression
Problem Domain
Colour Image
Processing
Key Stages in Digital Image Processing:
Image Acquisition
Image Morphological
Restoration Processing
Image Object
Enhancement Recognition
Image
Acquisition Image
Compression
Problem Domain
Colour Image
Processing
Key Stages in Digital Image Processing:
Image Enhancement
Image Morphological
Restoration Processing
Image Object
Enhancement Recognition
Image Image
Acquisition Compression
Problem Domain
Colour Image
Processing
Key Stages in Digital Image Processing:
Image Restoration
Image Morphological
Restoration Processing
Image Object
Enhancement Recognition
Image
Acquisition Image
Compression
Problem Domain
Colour Image
Processing
Key Stages in Digital Image Processing:
Morphological Processing
Image Morphological
Restoration Processing
Image Object
Enhancement Recognition
Image
Acquisition Image
Compression
Problem Domain
Colour Image
Processing
Key Stages in Digital Image Processing:
Object Recognition
Image Morphological
Restoration Processing
Image Object
Enhancement Recognition
Image
Acquisition Image
Compression
Problem Domain
Colour Image
Processing
Key Stages in Digital Image
Processing:
Image Compression
Image Morphological
Restoration Processing
Image Object
Enhancement Recognition
Image
Acquisition Image
Compression
Problem Domain
Colour Image
Processing
Key Stages in Digital Image
Processing:
Colour Image Processing
Image Morphological
Restoration Processing
Image Object
Enhancement Recognition
Image
Image
Acquisition
Compression
Problem Domain
Colour Image
Processing
HARDWARE REQUIREMENTS