iLab Neuromorphic Robotics Toolkit  0.1
nrt::PixGray< T > Struct Template Reference

#include <PixelTypes.H>


Inherits nrt::PixelBase< T, numChans, PixType >.

List of all members.

Public Member Functions

 PixGray ()
 Default Constructor.
template<class T2 >
 PixGray (PixGray< T2 > const &other)
 Copy Constructor.
template<typename T1 >
 PixGray (T1 val)
 initialize with a POD type or pixel, we'll let this one be no explicit
val () const
 Read the value channel.
void set (T value)
 Set the hue channel.
template<class T2 >
void set (T2 value)
 Set the hue channel and clamp/round if necessary.
PixRGB< T > toRGB () const
 Convert this color space to RGB.
template<typename T1 >
 PixGray (T1 value)
template<class T2 >
 PixGray (PixGray< T2 > const &other)
template<class T >
void set (T value)
template<class T2 >
void set (T2 value)

Static Public Member Functions

static PixGray< T > fromRGB (PixRGB< T > const &other)
 Convert to this color space from RGB.

Related Functions

(Note that these are not member functions.)

template<class T >
std::ostream & operator<< (std::ostream &out, PixGray< T > pix)
 Stream out as PixGray(v)

Constructor & Destructor Documentation

template<class T>
nrt::PixGray< T >::PixGray ( )

Default Constructor.

All components will be uninitialized


Friends And Related Function Documentation

template<class T >
std::ostream & operator<< ( std::ostream &  out,
PixGray< T >  pix 
) [related]

Stream out as PixGray(v)

Definition at line 287 of file PixelTypes.H.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines