casa
5.7.0-16
|
void HSV_casacore__Conversion_Functions::casa::hsvToRgb | ( | casacore::Float | h, |
casacore::Float | s, | ||
casacore::Float | v, | ||
casacore::Float & | red, | ||
casacore::Float & | green, | ||
casacore::Float & | blue | ||
) |
map a single hsv value to an rgb value assumes h, s, and v to be in range [0, 1].
Returns r, g, b in range [0, 1].
void HSV_casacore__Conversion_Functions::casa::hsvToRgb | ( | const casacore::Array< casacore::Float > & | h, |
const casacore::Array< casacore::Float > & | s, | ||
const casacore::Array< casacore::Float > & | v, | ||
casacore::Array< casacore::Float > & | r, | ||
casacore::Array< casacore::Float > & | g, | ||
casacore::Array< casacore::Float > & | b | ||
) |
map an array of hsv values to an array of rgb value
void HSV_casacore__Conversion_Functions::casa::rgbToHsv | ( | casacore::Float | r, |
casacore::Float | g, | ||
casacore::Float | b, | ||
casacore::Float & | h, | ||
casacore::Float & | s, | ||
casacore::Float & | v | ||
) |
map a single rgb value to its hsv value
Assumes r, g, and b to be in range [0, 1].
Returns h, s, v in range [0, 1].
void HSV_casacore__Conversion_Functions::casa::rgbToHsv | ( | const casacore::Array< casacore::Float > & | r, |
const casacore::Array< casacore::Float > & | g, | ||
const casacore::Array< casacore::Float > & | b, | ||
casacore::Array< casacore::Float > & | h, | ||
casacore::Array< casacore::Float > & | s, | ||
casacore::Array< casacore::Float > & | v | ||
) |
map an array of rgb values to an array of hsv values