casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Namespaces | Functions
ColorConversion.h File Reference

Go to the source code of this file.

Classes

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

Namespaces

namespace  HSV_Conversion_Functions::casa

Functions

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