0% found this document useful (0 votes)
9 views5 pages

Unit-3 DIP

The document discusses the significance of color image processing, highlighting its role in object identification and extraction. It covers various color models including RGB, HSI, and CMY/CMYK, explaining their characteristics and applications in image processing. Key concepts such as brightness, hue, and saturation are also defined, along with equations for color transformations between models.

Uploaded by

ayushi bhardwaj
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views5 pages

Unit-3 DIP

The document discusses the significance of color image processing, highlighting its role in object identification and extraction. It covers various color models including RGB, HSI, and CMY/CMYK, explaining their characteristics and applications in image processing. Key concepts such as brightness, hue, and saturation are also defined, along with equations for color transformations between models.

Uploaded by

ayushi bhardwaj
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Unit-3(DIP) –(only theory)

[Link] is the importance of color image processing?


Ans: The use of color is important in image processing because:

• Color is a powerful descriptor that simplifies object identification and


extraction.
• Humans can discern thousands of color shades and intensities,
compared to about only two dozen shades of gray.
Color image processing is divided into two major areas:
• Full-color processing: images are acquired with a full-color sensor,
such as a color TV camera or color scanner.
• Pseudocolor processing: The problem is one of assigning a color toa
particular monochrome intensity or range of intensities.

2. What are full color processing?

Ans: Full-color processing, also known as color image processing, involves


manipulating and analyzing digital images that contain color information. Unlike
grayscale images, which only have intensity values for each pixel, color images
include additional information about the colors of the pixels.

Full-color image processing approaches fall into two major categories:


• Approaches that process each component image individually and then
form a composite processed color image from the individually
processed components.
• Approaches that work with color pixels directly.
In full-color images, color pixels really are vectors. For example, in the
RGB system, each color pixel can be expressed as
For an image of size M×N, there are MN such vectors, c(x, y), for x = 0,1,
2,...,M-1; y = 0,1,2,...,N-1.

3. What is RGB color model?

Ans:
In this model, each color appears in its primary colors red, green, and blue.
This model is based on a Cartesian coordinate system. The color subspace
is the cube shown in the figure below. The different colors in this model are
points on or inside the cube, and are defined by vectors extending from the
origin.

All color values R, G, and B have been normalized in the range [0, 1].
However, we can represent each of R, G, and B from 0 to 255.
Each RGB color image consists of three component images, one for each
primary color as shown in the figure below. These three images are
combined on the screen to produce a color image.
The total number of bits used to represent each pixel in RGB image is
called pixel depth. For example, in an RGB image if each of the red,
green, and blue images is an 8-bit image, the pixel depth of the RGB
image is 24-bits. The figure below shows the component images of an
RGB image.
5. What do you mean by HSI color model?
Ans: The HSI color model
The RGB and CMY color models are not suited for describing colors in
terms of human interpretation. When we view a color object, we describeit
by its hue, saturation, and brightness (intensity). Hence the HSI color model
has been presented. The HSI model decouples the intensity component from
the color-carrying information (hue and saturation) in a color image. As a
result, this model is an ideal tool for developing color image processing
algorithms.
The hue, saturation, and intensity values can be obtained from the RGB
color cube. That is, we can convert any RGB point to a corresponding point
is the HSI color model by working out the geometrical formulas.

6. What do you mean by brightness, hue and saturation?


Ans: Brightness, hue, and saturation are three fundamental attributes that describe
the appearance of colors in a color space. These attributes are commonly used in
color models such as RGB (Red, Green, Blue) and HSV (Hue, Saturation, Value).

Brightness, hue, and saturation are three fundamental attributes that describe the
appearance of colors in a color space. These attributes are commonly used in color
models such as RGB (Red, Green, Blue) and HSV (Hue, Saturation, Value).
1. Brightness (Value in HSV):
• Brightness refers to the intensity or luminance of a color. In the HSV
color model, brightness is often represented by the "Value"
component. A higher value corresponds to a brighter color, while a
lower value results in a darker color. Brightness is independent of color
hue and saturation.
2. Hue:
• Hue is the attribute that distinguishes one color from another based on
its dominant wavelength. In simpler terms, it represents the pure color
without any white or black added. Hue is often measured in degrees
around a color wheel, where 0° and 360° correspond to red, 120° to
green, and 240° to blue. In the HSV color model, the "Hue" component
is used to specify the color.
3. Saturation:
• Saturation refers to the intensity or purity of a color. A fully saturated
color is pure and vivid, while a desaturated color tends to be more
muted and closer to grayscale. In the HSV color model, saturation is
represented by the "Saturation" component. A saturation of 0
corresponds to a grayscale image, and higher values represent more
vibrant colors.

7. Write the equations for HSI to RGB transformation and vice versa.
Ans: Converting colors from HSI to RGB
The applicable equations depend on the value of H:
If :

If :
If :

9. What do you mean by CMY and CMYK color model?


Ans: Cyan, magenta, and yellow are the primary colors of pigments. Most
printing devices such as color printers and copiers require CMY data input or
perform an RGB to CMY conversion internally. This conversion is performed
using the equation

where, all color values have been normalized to the range [0, 1].
In printing, combining equal amounts of cyan, magenta, and yellow
produce muddy-looking black. In order to produce true black, a fourth
color, black, is added, giving rise to the CMYK color model.

10. Write the equation for RGB to CMY transformation?

C = 1 - ( R / 255 )
M = 1 - ( G / 255 )
Y = 1 - ( B / 255 )

You might also like