46 f = (r ==
x) ? g - b : ((g ==
x) ? b - r : r - g);
47 i = (r ==
x) ? 3 : ((g ==
x) ? 5 : 1);
83 f = (r ==
x) ? g - b : ((g ==
x) ? b - r : r - g);
84 i = (r ==
x) ? 3 : ((g ==
x) ? 5 : 1);
unsigned char getR() const
float clamp(float colorValue, float min=0, float max=255) const
static const float OSSIM_HSV_UNDEFINED
ossimHsvVector(float h=0, float s=0, float i=0)
const ossimHsvVector & operator=(const ossimRgbVector &rgb)
unsigned char getB() const
unsigned char getG() const