Rosetta Utilities  2014.35
Namespaces | Functions
color_util.cc File Reference
#include <numeric/xyzVector.hh>
#include <numeric/color_util.hh>
#include <algorithm>

Namespaces

 numeric
 Unit headers.
 

Functions

numeric::xyzVector
< platform::Real
numeric::rgb_to_hsv (platform::Real r, platform::Real b, platform::Real g)
 convert an RGB color to HSV More...
 
numeric::xyzVector
< platform::Real
numeric::rgb_to_hsv (numeric::xyzVector< platform::Real > rgb_triplet)
 convert and RGB color to HSV More...
 
numeric::xyzVector
< platform::Real
numeric::hsv_to_rgb (platform::Real h, platform::Real s, platform::Real v)
 convert an HSV color to RGB More...
 
numeric::xyzVector
< platform::Real
numeric::hsv_to_rgb (numeric::xyzVector< platform::Real > hsv_triplet)
 convert an HSV color to RGB More...
 

Detailed Description

Author
Sam DeLuca

RGB <-> HSV conversion utilities based off of http://www.cs.rit.edu/~ncs/color/t_convert.html