color image processing

20
Color Image Processing Vishal Kumar Jaiswal

Upload: vishal-kumar-jaiswal

Post on 15-Apr-2017

523 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Color image processing

Color Image Processing

Vishal Kumar Jaiswal

Page 2: Color image processing

ColorIf light is achromatic (void of color), its only attribute is its intensity.

The term gray level refers to a scalar measure of intensity that ranges from black, to grays, and finally to white.

A very powerful descriptor that simplifies object identification and extraction from a scene.

Cones are the sensors in the eye responsible for color vision.

A body that reflects light that is balanced in all visible wavelengths appears white to the observer.

Page 3: Color image processing

Color SpectrumNo single color may be called red, green or blue.

Page 4: Color image processing

Quality descriptor of light sourceRadiance The total amount of energy that flows from the light source. measured in watt(W).

Luminance Gives a measure of amount of energy an observer perceives from a light source. measured in lumens(lm).

Brightness Subjective descriptor impossible to measure. It embodies the achromatic notion of intensity and is one of the key factors in describing color sensation.

Page 5: Color image processing

Characteristics of ColorHue Hue represents dominant color wavelength in the mixture of light waves. When we call an object red, orange, or yellow; we are specifying its hue. It’s independent of intensity.

Saturation It refers to the relative purity or amount of white light mixed with a hue.The degree of saturation is inversely proportional to the amount of white light added. The pure spectrum colors are fully saturated and colors such as pink(red and white) are less saturated.

Brightness As defined earlier.

Page 6: Color image processing

Color ModelA color model is a specification of a coordinate system and a subspace within that system where each color is represented by a single point.

Hardware oriented model

❏RGB(red, green, blue) for color monitors and color video camera.

❏CMY(cyan, magenta, yellow) for color printing.

Color image manipulation oriented model

❏HSI(Hue, saturation, intensity)

❏HSI(Hue, saturation, value)

Page 7: Color image processing

Color Model: RGBNot very useful for image processing,

since RGB components can not be treated treated independently.

In histogram equalization of R,G,B respectively, three image intensities altered differently will not appear natural.

Page 8: Color image processing

Color Model: CMYSecondary model of color.

RGB to CMY conversion:

Page 9: Color image processing

Color Model: HSIWell suited to human perception as one does not refer to the color of

an automobile by giving the percentage of the primaries composing its colors.

Ideal for developing image processing algorithms.

It decouples intensity from color information.

H=0o -> Red,H=60o -> Green, H=120o -> Blue.

S is proportional to distance from point to center.Surface is purely saturated color.

I measured with respect to a line perpendicular to triangle and passing through its center.

Page 10: Color image processing

Color Model: HSI

Page 11: Color image processing

Tristimulus valuesThe amount of red, green, and blue needed to form any particular color is called the tristimulus values and are denoted X,Y and Z respectively.A color is then specified by its tristimulus coefficients.

x+y+z=1

Page 12: Color image processing

Full color image processingApproach:

1.Process each color component individually and then form a composite processed color image from the individually processed components.

2.Work with color pixels directly.

Color images have at least three components, So a pixel is a vector.The pixel vector in RGB space:

Components are spatial variables in x and y.

Page 13: Color image processing

Spatial Mask for neighborhood spatial processing

Page 14: Color image processing

Color TransformationProcessing the components of a color image within the context of a

single color model. The transformation is modeled using the expression:

Where, f(x,y) is a color input image, g(x,y) is the transformed color output image, and T is an operator on f over a spatial

neighborhood of (x,y).

The principal difference is that pixel values are triplets from the color space chosen to represent the image.

Page 15: Color image processing

Intensity TransformationTo modify intensity of an image using where 0<k<1.

In HSI color space, s3=kr3 where s1=r1 and s2=r2. Only HSI component r3 is modified.

In RGB color space, three components must be transformed. si=kri i=1,2,3.

In CMY color space, a similar set of linear transformation. si=kri+(1-k) i=1,2,3.

Page 16: Color image processing

Color complementsThe hues directly opposite to one another on color circle are called

complements.

Analogous to gray level negative.

Useful for enhancing detail that is embedded in dark regions of a color image- particularly when regions are dominant in size.

Page 17: Color image processing

Color SlicingHighlighting a specific range of colors in an image is useful for seperating objects from their surroundings.

Map the colors outside some range of interest to a nonprominent neutral color. If the colors of interest are enclosed by a cube (or hypercube for n>3) of width W and centered at a prototypical (e.g. average) color with components (a1,a2,a3,...an), the necessary transformation is

Page 18: Color image processing

Tones and color correctionProvides facilities similiar to dark room on monitor.

Transformation performed on monitor and effectiveness is desired in print, So it’s necessary to maintain high degree of consistency between monitor and output devices.

The model of choice is the CIE L*a*b model, also called CIELAB.

L*a*b(lightness, red minus green, green minus blue) color space is colorimetric (i.e. colors perceived as matching are encoded identically), perceptually uniform(i.e. Differences among various hues are perceived uniformly) and device independent.

While not directly displayable, it can represent colors of any display, print or input device.

Page 19: Color image processing

L*a*b color model

Page 20: Color image processing

Thank You