rgbhsv.hh File Reference

#include <oln/basics.hh>
#include <oln/convert/abstract/colorconv.hh>
#include <oln/convert/float_cmp.hh>
#include <ntg/basics.hh>
#include <ntg/color/rgb.hh>
#include <ntg/color/hsv.hh>
#include <mlc/contract.hh>
#include <sstream>

Include dependency graph for rgbhsv.hh:

Go to the source code of this file.

Namespaces

namespace  oln
namespace  oln::convert

Classes

struct  oln::convert::f_rgb_to_hsv< inbits, outbits >
struct  oln::convert::f_hsv_to_rgb< inbits, outbits >

Functions

template<unsigned inbits, unsigned outbits>
color< 3, outbits, hsv_traits > oln::convert::rgb_to_hsv (const color< 3, inbits, rgb_traits > &v)
template<unsigned inbits, unsigned outbits>
color< 3, outbits, rgb_traits > oln::convert::hsv_to_rgb (const color< 3, inbits, hsv_traits > &v)


Detailed Description

REF: The formulas used here come from ``Color Conversion Algorithms''

Definition in file rgbhsv.hh.


Generated on Tue Feb 20 20:21:27 2007 for Olena by  doxygen 1.5.1