The RGB-to-IHS transformation is defined by the equations:
PI - h, where When H is in [2PI/3, 4PI/3], R should be the smallest. Then, there exists
R = (1-S)I
and
where c1 = 3I-R and c2 = sqrt(3)(R-I)tg(H)
when H is in [4PI/3, 2PI],
G = (1-S)I
and
where c1 = 3I-G and c2 = sqrt(3)(G-I)tg(H-2PI/3)
when H is in [0, 2PI/3],
B = (1-S)I
and
where c1 = 3I-B and c2 = sqrt(3)(B-I)tg(H-4PI/3)
Methods defined in the superclasses are not commented extensively. @see ColorSpaceJAI @since JAI 1.1
| |