casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
ColorConversion.h File Reference
#include <casa/aips.h>
#include <casa/Arrays/Array.h>

Go to the source code of this file.

Classes

struct  HSV_casacore__Conversion_Functions
 Utilities for converting between color spaces. More...
 

Namespaces

 HSV_casacore__Conversion_Functions::casa
 

Functions

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]. More...
 
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 More...
 
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]. More...

 
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 More...