Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

RobotFlow::IntegralColorExtraction Class Reference

#include <IntegralColorExtraction.h>

Inheritance diagram for RobotFlow::IntegralColorExtraction:

Inheritance graph
Collaboration diagram for RobotFlow::IntegralColorExtraction:

Collaboration graph

Public Member Functions

 IntegralColorExtraction ()
 IntegralColorExtraction (int i_width, int i_height, int i_numChannels, int i_numHoriIntRect, int i_numVertIntRect, double i_maxValue, bool i_useRectDiff, bool i_useBoundary, double i_boundaryMeanDiffThresh)
 IntegralColorExtraction (std::string nodeName, FD::ParameterSet params)
 IntegralColorExtraction (std::istream &in)
virtual ~IntegralColorExtraction ()
void printOn (std::ostream &out) const
void readFrom (std::istream &in)
virtual void request (int output_id, const FD::ParameterSet &req)
void calculate (int output_id, int count, FD::Buffer &out)
void Preprocess (IplImage *i_srcImg)
void Preprocess (const unsigned char *i_src)
void ExtractFeatures (VisualROI *i_roi)
void ExtractFeatures (IplImage *i_input, VisualROI *i_roi)
VisualFeatureDesc< double > * GetDescriptor ()
const VisualFeatureDesc< double > * GetCstDescriptor () const
 VisualFeaturesExtraction ()
 VisualFeaturesExtraction (std::string nodeName, FD::ParameterSet params)
virtual ObjectRef getOutput (int output_id, int count)
virtual void initialize ()
virtual void reset ()
virtual int addOutput (const std::string &outputName)
virtual int addInput (const std::string &inputName)
virtual void initializeBuffers ()
virtual void performRequests ()
virtual ObjectRef getOutputNamed (const std::string &outputName, int count)
virtual void connectToNode (std::string in, Node *inputNode, std::string out)
virtual bool hasOutput (int output_id) const
ObjectRef getInput (int inputID, int count)
virtual void stop ()
virtual void cleanupNotify ()
std::string getName ()
virtual void verifyConnect ()
void setUINode (UINode *_uinode)
void ref ()
void unref ()
int unique ()
virtual void destroy ()
virtual void serialize (std::ostream &out) const
virtual void unserialize (std::istream &in)
virtual void doesNotUnderstand (std::string method)
virtual bool isNil () const
virtual void prettyPrint (std::ostream &out=std::cout) const
virtual ObjectRef clone ()
virtual std::string className () const

Static Public Member Functions

static int addFactory (const std::string &factoryName, _NodeFactory *const factory)
static int addXPM (const std::string &nodeName, char **XPMData)
static char ** getXPM (const std::string &nodeName)
static _NodeFactory * getFactoryNamed (const std::string &name)
static std::map< std::string,
_NodeFactory * > & 
factoryDictionary ()
static std::vector< std::string > & nodeInfo ()
static std::map< std::string,
char ** > & 
XPMDictionary ()
static int addNodeInfo (const std::string &info)
static ObjectRef newObject (const std::string &objType)
static int addObjectType (const std::string &objType, _ObjectFactory *factory)
static std::map< std::string,
_ObjectFactory * > & 
ObjectFactoryDictionary ()
static TypeMap< _ObjectFactory * > & TypeidDictionary ()

Protected Member Functions

virtual void connectToNode (unsigned int in, Node *inputNode, unsigned int out)
virtual std::vector< NodeInput > & getInputs ()
virtual int translateInput (std::string inputName)
virtual int translateOutput (std::string inputName)
virtual void rt_assert (bool cond, std::string message="", char *_file="unknown", int _line=0)
virtual void construct_assert (bool cond, std::string message="", char *_file="unknown", int _line=0)
virtual void throw_error (bool send_ptr, std::string message, char *_file, int _line)

Protected Attributes

int processCount
std::vector< OutputCacheInfo > outputs
std::vector< InputCacheInfo > inputsCache
bool inOrder
std::string name
std::vector< NodeInput > inputs
std::vector< std::string > outputNames
ParameterSet parameters
UINode * uinode
AtomicCounter ref_count

Private Member Functions

void Initialize ()

Private Attributes

int m_imageInID
int m_roiInID
int m_useNextImgInID
int m_featuresOutID
int m_ppCompletedOutID
int m_width
int m_imgSumWidth
int m_height
int m_numChannels
int m_numPixels
int m_numBytesInFrame
int m_numHoriIntRect
int m_numVertIntRect
int m_numIntRect
int m_numFeatures
double m_maxValue
bool m_useRectDiff
double * m_tmpMeanFeatures
double * m_curMeanVal
bool m_useBoundary
double m_boundaryMeanDiffThresh
FD::RCPtr< FD::Vector< VisualFeatureDesc<
double > * > > 
IplImage * m_curImage
IplImage ** m_chImage
unsigned char ** m_chPixPtr
int ** m_sumPixPtr
IplImage ** m_sumImage


friend std::ostream & operator<< (std::ostream &out, const Object &obj)

Constructor & Destructor Documentation

RobotFlow::IntegralColorExtraction::IntegralColorExtraction  ) 

RobotFlow::IntegralColorExtraction::IntegralColorExtraction int  i_width,
int  i_height,
int  i_numChannels,
int  i_numHoriIntRect,
int  i_numVertIntRect,
double  i_maxValue,
bool  i_useRectDiff,
bool  i_useBoundary,
double  i_boundaryMeanDiffThresh

RobotFlow::IntegralColorExtraction::IntegralColorExtraction std::string  nodeName,
FD::ParameterSet  params

RobotFlow::IntegralColorExtraction::IntegralColorExtraction std::istream &  in  )  [inline]

RobotFlow::IntegralColorExtraction::~IntegralColorExtraction  )  [virtual]

Member Function Documentation

void RobotFlow::IntegralColorExtraction::calculate int  output_id,
int  count,
FD::Buffer out

Implements RobotFlow::VisualFeaturesExtraction< double >.

void RobotFlow::IntegralColorExtraction::ExtractFeatures IplImage *  i_input,
VisualROI i_roi

Implements RobotFlow::VisualFeaturesExtraction< double >.

void RobotFlow::IntegralColorExtraction::ExtractFeatures VisualROI i_roi  ) 

const VisualFeatureDesc<double>* RobotFlow::IntegralColorExtraction::GetCstDescriptor  )  const [inline, virtual]

Implements RobotFlow::VisualFeaturesExtraction< double >.

VisualFeatureDesc<double>* RobotFlow::IntegralColorExtraction::GetDescriptor  )  [inline, virtual]

Implements RobotFlow::VisualFeaturesExtraction< double >.

void RobotFlow::IntegralColorExtraction::Initialize  )  [private]

void RobotFlow::IntegralColorExtraction::Preprocess const unsigned char *  i_src  ) 

void RobotFlow::IntegralColorExtraction::Preprocess IplImage *  i_srcImg  ) 

void RobotFlow::IntegralColorExtraction::printOn std::ostream &  out  )  const [inline, virtual]

Implements RobotFlow::VisualFeaturesExtraction< double >.

void RobotFlow::IntegralColorExtraction::readFrom std::istream &  in  )  [inline, virtual]

Implements RobotFlow::VisualFeaturesExtraction< double >.

void RobotFlow::IntegralColorExtraction::request int  output_id,
const FD::ParameterSet req

Reimplemented from FD::BufferedNode.

RobotFlow::VisualFeaturesExtraction< double >::VisualFeaturesExtraction std::string  nodeName,
FD::ParameterSet  params
[inline, inherited]

RobotFlow::VisualFeaturesExtraction< double >::VisualFeaturesExtraction  )  [inline, inherited]

Field Documentation

double RobotFlow::IntegralColorExtraction::m_boundaryMeanDiffThresh [private]

IplImage** RobotFlow::IntegralColorExtraction::m_chImage [private]

unsigned char** RobotFlow::IntegralColorExtraction::m_chPixPtr [private]

IplImage* RobotFlow::IntegralColorExtraction::m_curImage [private]

double* RobotFlow::IntegralColorExtraction::m_curMeanVal [private]

int RobotFlow::IntegralColorExtraction::m_featuresOutID [private]

FD::RCPtr<FD::Vector<VisualFeatureDesc<double> *> > RobotFlow::IntegralColorExtraction::m_featVect [private]

int RobotFlow::IntegralColorExtraction::m_height [private]

int RobotFlow::IntegralColorExtraction::m_imageInID [private]

int RobotFlow::IntegralColorExtraction::m_imgSumWidth [private]

double RobotFlow::IntegralColorExtraction::m_maxValue [private]

int RobotFlow::IntegralColorExtraction::m_numBytesInFrame [private]

int RobotFlow::IntegralColorExtraction::m_numChannels [private]

int RobotFlow::IntegralColorExtraction::m_numFeatures [private]

int RobotFlow::IntegralColorExtraction::m_numHoriIntRect [private]

int RobotFlow::IntegralColorExtraction::m_numIntRect [private]

int RobotFlow::IntegralColorExtraction::m_numPixels [private]

int RobotFlow::IntegralColorExtraction::m_numVertIntRect [private]

int RobotFlow::IntegralColorExtraction::m_ppCompletedOutID [private]

int RobotFlow::IntegralColorExtraction::m_roiInID [private]

IplImage** RobotFlow::IntegralColorExtraction::m_sumImage [private]

int** RobotFlow::IntegralColorExtraction::m_sumPixPtr [private]

double* RobotFlow::IntegralColorExtraction::m_tmpMeanFeatures [private]

bool RobotFlow::IntegralColorExtraction::m_useBoundary [private]

int RobotFlow::IntegralColorExtraction::m_useNextImgInID [private]

bool RobotFlow::IntegralColorExtraction::m_useRectDiff [private]

int RobotFlow::IntegralColorExtraction::m_width [private]

The documentation for this class was generated from the following files:
Generated on Wed Oct 5 14:36:28 2005 for RobotFlow by  doxygen 1.4.4