76 void ToHSI (
float& hue,
PixelValue(const PixelValue &pixelValue)
static PixelValue Magenta
PixelValue & operator=(const PixelValue &right)
void ToHSI(float &hue, float &sat, float &intensity) const
Computes the equivalent HSI values; RGB -> HSI.
PixelValue()
Constructs a 'PixelValue' instance from the the three provided values.
PixelValue(uchar _r, uchar _g, uchar _b)
Constructs a 'PixelValue' instance using the provided values for the color components.
bool operator!=(const PixelValue &right) const
unsigned char uchar
Unsigned character.
static KKStr Concat(const std::vector< std::string > &values)
Concatenates the list of 'std::string' strings.
PixelValue operator*(double fact) const
KKStr ToStr() const
Creates a displayable string reflecting the values of the three RGB components.
static PixelValue FromHSI(float hue, float sat, float intensity)
Will create an instance of PixelValue from the HSI values provided (HSI -> RGB).
static PixelValue FireBrick
bool operator==(const PixelValue &right) const
Used by the Raster Class to represent the contents of one pixel.