Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::RGB Class Reference

#include <RGBImage.h>

Collaboration diagram for PLearn::RGB:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RGB ()
 RGB (unsigned char the_r, unsigned char the_g, unsigned char the_b)

Public Attributes

unsigned char r
unsigned char g
unsigned char b

Static Public Attributes

const RGB BLACK
 RGB(HSV hsvpix);.

const RGB WHITE
const RGB RED
const RGB GREEN
const RGB BLUE
const RGB DISCOCOLORS [] = {RGB::RED, RGB::GREEN, RGB::BLUE}

Constructor & Destructor Documentation

PLearn::RGB::RGB  )  [inline]
 

Definition at line 71 of file RGBImage.h.

PLearn::RGB::RGB unsigned char  the_r,
unsigned char  the_g,
unsigned char  the_b
[inline]
 

Definition at line 72 of file RGBImage.h.

References b, g, and r.


Member Data Documentation

unsigned char PLearn::RGB::b
 

Definition at line 69 of file RGBImage.h.

Referenced by PLearn::RGBImage::computeAverage(), PLearn::RGBImage::computeHistogram(), RGB(), and PLearn::RGBImageVMatrix::sample().

const RGB PLearn::RGB::BLACK [static]
 

RGB(HSV hsvpix);.

const RGB PLearn::RGB::BLUE [static]
 

const RGB PLearn::RGB::DISCOCOLORS = {RGB::RED, RGB::GREEN, RGB::BLUE} [static]
 

Definition at line 57 of file RGBImage.cc.

unsigned char PLearn::RGB::g
 

Definition at line 68 of file RGBImage.h.

Referenced by PLearn::RGBImage::computeAverage(), PLearn::RGBImage::computeHistogram(), RGB(), and PLearn::RGBImageVMatrix::sample().

const RGB PLearn::RGB::GREEN [static]
 

unsigned char PLearn::RGB::r
 

Definition at line 67 of file RGBImage.h.

Referenced by PLearn::RGBImage::computeAverage(), PLearn::RGBImage::computeHistogram(), RGB(), and PLearn::RGBImageVMatrix::sample().

const RGB PLearn::RGB::RED [static]
 

const RGB PLearn::RGB::WHITE [static]
 


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:23:06 2004 for PLearn by doxygen 1.3.7