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

Progressive scan in image capture formats, Progressive Scan: Progressive o...

Progressive Scan: Progressive or non-interlaced scanning is a process which displays, transmits or stores moving images wherein, the lines of all frame are drawn in order. It is i

Assumptions for polygon or area clipping algorithm, Assumptions for Polygon...

Assumptions for Polygon or Area Clipping Algorithm Assumption: The viewport and window are rectangular. So only, by identifying the maximum and the minimum coordinates t

File format-introduction to computer graphics, File format We want an i...

File format We want an image of a Fly. The wings are incompletely transparent and to present that in our presentation what be problematic if suitable file format is not there.

Crt, working of crt

working of crt

Traditional animation techniques - computer animation, Traditional Animatio...

Traditional Animation Techniques - Computer Animation Before the advent of computer animation, each animation was done via hand that involves an enormous amount of work. You

Reflection about a line - 2-d and 3-d transformations, Reflection about a L...

Reflection about a Line - 2-D and 3-D Transformations Reflection is a transformation that produces the mirror image of an object. Since we discussed that the mirror reflection

Macintosh - hardware for computer animation, Macintosh - Hardware for compu...

Macintosh - Hardware for computer animation It was originally designed to be graphic and desktop publishing machines. Macs did not turn into which widely known till recently, a

What colour depths are basically used, Q. What Colour depths are basically ...

Q. What Colour depths are basically used? Basically the number of colours are an exponential power of 2 as for Colour Depth n, colours can be showed. The most popular colour mo

Achieve a perspective projection on the plane of unit cube, Achieve a persp...

Achieve a perspective projection on the z = 0 plane of the unit cube, demonstrated in Figure (l) from the cop at E (0, 0, 10) upon the z-axis. Figure: I 01:  currently c

Application of sutherland hodgman polygon clipping, For good understanding ...

For good understanding of the application of the rules specified above see the following figure, where the shaded region demonstrates the clipped polygon. Fi

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