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

RGBClassifier Class Reference

The RGBClassifier class returns a binary IntImage with separated for- and background. More...

#include <RGBClassifier.hh>

List of all members.

Public Member Functions

 RGBClassifier ()
 RGBClassifier (const RGBColor &color, int r, int g, int b)
 ~RGBClassifier ()
void setTolerance (int r, int g, int b)
void setObjektColor (const RGBColor &color)
IntImageclassify (const SimpleRGBImage &in)


Detailed Description

The RGBClassifier class returns a binary IntImage with separated for- and background.


Constructor & Destructor Documentation

RGBClassifier::RGBClassifier  )  [inline]
 

Default Constructor.

RGBClassifier::RGBClassifier const RGBColor color,
int  r,
int  g,
int  b
 

Constructor setting tolerance and color

RGBClassifier::~RGBClassifier  )  [inline]
 

Destructor


Member Function Documentation

IntImage * RGBClassifier::classify const SimpleRGBImage in  ) 
 

group all pixels of in to Object =1 or background =0

Parameters:
in SimpleRGBImage input
Returns:
pointer to binary IntImage

void RGBClassifier::setObjektColor const RGBColor color  ) 
 

sets color of Objects

Parameters:
color Oject RGBColor color

void RGBClassifier::setTolerance int  r,
int  g,
int  b
 

set tolerance of forground color

Parameters:
r red channel tolerance
g green channel tolerance
b blue channel tolerance


The documentation for this class was generated from the following files:
Generated on Tue May 3 10:15:35 2005 by doxygen 1.3.7