Hue and saturation, Computer Graphics

Assignment Help:

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. 

 

 


Related Discussions:- Hue and saturation

Describe transformation, What is Transformation?  Transformation is the...

What is Transformation?  Transformation is the process of introducing changes in the shape size and orientation of the object using scaling rotation reflection shearing & trans

Education - applications for computer animation, Education - applications f...

Education - applications for computer animation Currently, studies of subjects as Art, Physics, Maths, Chemistry, Biology, Engineering, Medicine, and Technology are fairly simp

Application of computer aided design, Application of Computer Aided Design ...

Application of Computer Aided Design There are several CAD software applications. Several of them along with their respective vendors are listed here: CAD Applications

Important points for bresenham line generation algorithm, Important points ...

Important points for Bresenham Line Generation Algorithm Note: Bresenhams algorithm is generalised to lines along with arbitrary slopes with identifying the symmetry

What are the disadvantages with the boundary representation, Disadvantages ...

Disadvantages with the Boundary Representation (i) It requires more storage than the corresponding half-space method. (ii) There is no guarantee that the object created is v

What do you meant by the term typography, Question 1: (a) What do you m...

Question 1: (a) What do you meant by the term typography and what is its main purpose? (b) Differentiate between typeface and font using examples. (c) Design knows many diffe

What is seed fill, What is seed fill?  One way to fill a polygon is to ...

What is seed fill?  One way to fill a polygon is to begin from a given point (seed) known to be inside  the polygon and highlight outward from this point i.e. neighboring pixel

Vanishing point - viewing transformations, Vanishing Point - Viewing Transf...

Vanishing Point - Viewing Transformations This point is that point at those parallel lines shows to converge and vanish. A practical illustration is a long straight railroad

Key frame systems, Ask questionkms eey frame syst #Minimum 100 words accept...

Ask questionkms eey frame syst #Minimum 100 words accepted#

Filling algorithm, Analise floodfill algirithm & boundryfillalgorithim

Analise floodfill algirithm & boundryfillalgorithim

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd