next up previous
Next: Conversion from HSI to Up: color_processing Previous: The RGB Cube and

Conversion from RGB to HSI

Given the intensities of the three primaries RGB of a color, we can find its HSV representation using different models. Here we use the RGB plane of the cube to find the corresponding HSV. The three vertices are represented by $P_r$, $P_g$ and $P_b$, and the three components of the given color is represented by a 3D point $P=(R,G,B)$. We also assume the intensities are normalized so that the $R$, $G$ and $B$ values are between 0 and 1, so that point $P$ is inside or on the surface of the color cube.

RGB_model_2.gif


next up previous
Next: Conversion from HSI to Up: color_processing Previous: The RGB Cube and
rwang 2007-10-31