rgbhsi.hh File Reference

#include <oln/convert/abstract/colorconv.hh>
#include <ntg/basics.hh>
#include <ntg/color/rgb.hh>
#include <ntg/color/hsi.hh>
#include <sstream>

Include dependency graph for rgbhsi.hh:

Go to the source code of this file.

Namespaces

namespace  oln
namespace  oln::convert

Classes

struct  oln::convert::f_rgb_to_hsi< inbits, outbits >
struct  oln::convert::f_hsi_to_rgb< inbits, outbits >

Functions

template<unsigned inbits, unsigned outbits>
color< 3, outbits, hsi_traits > oln::convert::rgb_to_hsi (const color< 3, inbits, rgb_traits > &v)
template<unsigned inbits, unsigned outbits>
color< 3, outbits, rgb_traits > oln::convert::hsi_to_rgb (const color< 3, inbits, hsi_traits > &v)

Variables

static const float oln::convert::sqrt3_3 = sqrt(3) / 3
static const float oln::convert::inv_sqrt6 = 1 / sqrt(6)
static const float oln::convert::inv_sqrt2 = 1 / sqrt(2)


Detailed Description

REF: The formulas used here come from ``Digital Image Processing Algorithms and Applications'', I. Pitas; Wiley-Interscience.

Definition in file rgbhsi.hh.


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