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 $R$, $G$, and $B$ 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=(1,0,0)$, $P_g=(0,1,0)$ and $P_b=(0,0,1)$, and the three components of the given color is represented by a point $P=(R,G,B)$ in the RGB 3-D space. As we 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

RGB2HSIcode.gif


next up previous
Next: Conversion from HSI to Up: color_processing Previous: The RGB Cube and
Ruye Wang 2012-09-25