Hue and saturation, Computer Graphics

Hue and Saturation: A light source produced by a sun or electric bulb emits all frequencies within the visible range to give white light. When this light is incident upon an object, some frequencies are absorbed and some are reflected by the object. The combination of reflected frequencies decide the color of the object. If the lower frequencies are predominant in the reflected frequencies, the object color is red. In this case, we can say that the perceived light has a dominant frequency at the red end of the spectrum, therefore, the dominant frequency decides the color of the object. Due to this reason dominant frequency is also called hue or simply the color. Apart from the frequency there are two more properties which describe various characteristics of light. These are brightness and saturation (purity). The saturation describes the purity of the color. Conversion Between HSV And RGB Models It HSV color parameters are made available to a user of a graphics package, these parameter are transformed to the RGB settings needed for the color monitor. To determine the operations needed in this transformation, we first consider how the HSV hex cone can be derived from the RGB cube. The diagonal of this cube from black (the origin) to white corresponds to the v axis of the hex cone. Also, each sub cube of the RGB cube corresponds to a hexagonal cross- sectional area of the hexatone. At any cross section, all sides of the hexagon and all radial lines from the V axis to any vertex have the value V. For any set of RGB values, V is equal to the maximum values in this set. The HSV point corresponding to the set of RGB values lies on the hexagonal cross section at value V. Parameters S is then determined as the relative distance of this point from the V axis. Parameter H is determined by calculating the relative position of the point within each sextant of the hexagon. An algorithm for mapping any set of RGB values into the corresponding HSV values is in the following procedure. We obtain the transformation from HSV parameters to RGB parameters by determining the inverse of the equations in RGB To HSV procedure. These inverse operations are carried out for each sextant of the hex cone. The resulting transformation equations are summarized in the following algorithm. 



Posted Date: 7/12/2012 6:46:41 AM | Location : United States

Related Discussions:- Hue and saturation, Assignment Help, Ask Question on Hue and saturation, Get Answer, Expert's Help, Hue and saturation Discussions

Write discussion on Hue and saturation
Your posts are moderated
Related Questions
Rotation about z-axis - Transformation for 3-d rotation Rotation about z-axis is explained by the xy-plane. Suppose a 3-D point P(x,y,z) be rotated to P'(x',y',z') along with

Scale a sphere cantered on the point (1, 2, and 3) with radius 1, so that the new sphere has the same centre with radius 2.    Solution: Translate the sphere so that its centre

1. How does the resolution of a system influence graphic display? Ans. In a high resolution system the adjacent pixels are so near spaced such approximated line-pixels lie extr

Optical Character Recognition Software (OCR) Frequently, you will have printed matter and the other text to incorporate in your project although no electronic text file. Along

1. Modify the DDA algorithm for negative sloped lines; discuss both the cases i.e., slope > 1 and 0   Ans. For the generation of lines along with negative slopes as:

1. If you perform a x-direction shear transformation and then a y-direction shear transformation, will the result be the same as the one which is obtained when it is simultaneous s

Transformation for 3-D Shearing 2-dimensional xy-shearing transformation, as explained in equation, can also be simply extended to 3-dimensional case. All coordinates are tran

Introduction of Viewing  Transformations Projection is fundamentally a transformation or mapping of 3D objects upon 2D screen. Projection is mostly categorised in Para

Hypermedia: it is a superset of hypertext. Hypermedia documents comprise links not only to the other pieces of text, although also to other forms of media: sounds and images and m

What is character generation and explain it''s two method: 1> Bitmap method 2> outline method.