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

RobotFlow::ColorHistExtraction Class Reference

#include <ColorHistExtraction.h>

Inheritance diagram for RobotFlow::ColorHistExtraction:

Inheritance graph
Collaboration diagram for RobotFlow::ColorHistExtraction:

Collaboration graph

Public Member Functions

 ColorHistExtraction ()
 ColorHistExtraction (int i_width, int i_height, int i_numChannels, const FD::Vector< int > *i_numBins)
 ColorHistExtraction (const ColorHistExtraction &i_ref)
 ColorHistExtraction (std::string nodeName, FD::ParameterSet params)
 ColorHistExtraction (std::istream &in)
virtual ~ColorHistExtraction ()
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 ExtractFeatures (VisualROI *i_roi)
void ExtractFeatures (IplImage *i_input, VisualROI *i_roi)
void EstimateMSLocation (const VisualTarget< double > *i_targetRef, int i_descIdx, FD::Vector< double > *o_msLocVec)
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 (const FD::Vector< int > *i_numBins)

Private Attributes

int m_imageInID
int m_numBinsInID
int m_roiInID
int m_targetInID
int m_targetDescIdxInID
int m_useNextImgInID
int m_featuresOutID
int m_msLocOutID
int m_ppCompletedOutID
int m_width
int m_height
int m_numChannels
int m_numPixels
int m_numBytesInFrame
bool m_init
VisualHistogramDesc< double,
unsigned char > * 
void(ColorHistExtraction::* m_extractionFct )(unsigned char *)
IplImage * m_curImage


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

Constructor & Destructor Documentation

RobotFlow::ColorHistExtraction::ColorHistExtraction  ) 

RobotFlow::ColorHistExtraction::ColorHistExtraction int  i_width,
int  i_height,
int  i_numChannels,
const FD::Vector< int > *  i_numBins

RobotFlow::ColorHistExtraction::ColorHistExtraction const ColorHistExtraction i_ref  ) 

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

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

RobotFlow::ColorHistExtraction::~ColorHistExtraction  )  [virtual]

Member Function Documentation

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

Implements RobotFlow::VisualFeaturesExtraction< double >.

void RobotFlow::ColorHistExtraction::EstimateMSLocation const VisualTarget< double > *  i_targetRef,
int  i_descIdx,
FD::Vector< double > *  o_msLocVec

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

Implements RobotFlow::VisualFeaturesExtraction< double >.

void RobotFlow::ColorHistExtraction::ExtractFeatures VisualROI i_roi  ) 

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

Implements RobotFlow::VisualFeaturesExtraction< double >.

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

Implements RobotFlow::VisualFeaturesExtraction< double >.

void RobotFlow::ColorHistExtraction::Initialize const FD::Vector< int > *  i_numBins  )  [private]

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

Implements RobotFlow::VisualFeaturesExtraction< double >.

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

Implements RobotFlow::VisualFeaturesExtraction< double >.

void RobotFlow::ColorHistExtraction::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

VisualHistogramDesc<double, unsigned char>* RobotFlow::ColorHistExtraction::m_colorHistogram [private]

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

void(ColorHistExtraction::* RobotFlow::ColorHistExtraction::m_extractionFct)(unsigned char *) [private]

int RobotFlow::ColorHistExtraction::m_featuresOutID [private]

int RobotFlow::ColorHistExtraction::m_height [private]

int RobotFlow::ColorHistExtraction::m_imageInID [private]

bool RobotFlow::ColorHistExtraction::m_init [private]

int RobotFlow::ColorHistExtraction::m_msLocOutID [private]

int RobotFlow::ColorHistExtraction::m_numBinsInID [private]

int RobotFlow::ColorHistExtraction::m_numBytesInFrame [private]

int RobotFlow::ColorHistExtraction::m_numChannels [private]

int RobotFlow::ColorHistExtraction::m_numPixels [private]

int RobotFlow::ColorHistExtraction::m_ppCompletedOutID [private]

int RobotFlow::ColorHistExtraction::m_roiInID [private]

int RobotFlow::ColorHistExtraction::m_targetDescIdxInID [private]

int RobotFlow::ColorHistExtraction::m_targetInID [private]

int RobotFlow::ColorHistExtraction::m_useNextImgInID [private]

int RobotFlow::ColorHistExtraction::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