What is the difference between HSI and HSV color space? I want to use HSI color space but I did not find any useful material for HSI. Is HSI the same as HSV?
The HSI color model represents every color with three components: hue (H), saturation (S), intensity (I). The Hue component describes the color in the form of an angle between [0,360] degrees. The Saturation component describes how much the color is diluted with white light. The range of the S varies between [0,1].
HSL (for hue, saturation, lightness) and HSV (for hue, saturation, value; also known as HSB, for hue, saturation, brightness) are alternative representations of the RGB color model, designed in the 1970s by computer graphics researchers to more closely align with the way human vision perceives color-making attributes.
Because color images are acquired and displayed using RGB technology, manipulating RGB images can be faster and more efficient than using other color spaces. The HSI color space is modeled on how human beings perceive and describe colors.
The HSV (Hue, Saturation, Value) model, also known as HSB (Hue, Saturation, Brightness), defines a color space in terms of three constituent components: Hue, the color type (such as red, blue, or yellow) ranges from \mathrm{0} – \mathrm{360} {}^{\circ} (but normalized to \mathrm{0} – \mathrm{100} %)
HSI, HSV, and HSL are all different color spaces. Hue computation is (as far as I can find) identical between the three models, and uses a 6-piece piece-wise function to determine it, or for a simpler model that is accurate to within 1.2 degrees, atan((sqrt(3)⋅(G-B))/2(R-G-B))
can be used. For the most part, these two are interchangeable, but generally HSV and HSL use the piece-wise model, where HSI usually uses the arctan model. Different equations may be used, but these usually sacrifice precision for either simplicity or faster computation.
For lightness/value/intensity, the three spaces use slightly different representations.
(1/3)⋅(R+G+B)
.(1/2)⋅(max(R,G,B) + min(R,G,B))
.max(R,G,B)
.When used in subsequent calculations, L/V/I is scaled to a decimal between 0 and 1.
Saturation is where the three models differ the most. For all 3, if I/V/L is 0, then saturation is 0 (this is for black, so that its representation is unambiguous), and HSL additionally sets saturation to 0 if lightness is maximum (because for HSL maximum lightness means white).
max(R,G,B) - min(R,G,B)
, this value is sometimes referred to as chroma (C).C/V
.C/(1-abs(2L-1))
.min(R,G,B)
into account: min(R,G,B)/I
.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With