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

RobotFlow::SkinColorHistSegm Class Reference

Inheritance diagram for RobotFlow::SkinColorHistSegm:

Inheritance graph
Collaboration diagram for RobotFlow::SkinColorHistSegm:

Collaboration graph

Public Member Functions

 SkinColorHistSegm (string nodeName, ParameterSet params)
 ~SkinColorHistSegm ()
void calculate (int output_id, int count, Buffer &out)
void SegmentSkin (const unsigned char *i_srcImg, unsigned char *o_skinMap, unsigned char *o_skinMask)
void GenerateMap ()
void ReadModels ()
void BuildLookupTable ()
virtual ObjectRef getOutput (int output_id, int count)
virtual void request (int outputID, const ParameterSet &req)
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 printOn (std::ostream &out=std::cout) const
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 void readFrom (std::istream &in=std::cin)
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 Attributes

int m_imageInID
int m_activatedInID
int m_mapOutID
int m_imageOutID
RCPtr< Boolm_activated
int m_width
int m_height
int m_numChannels
int m_numPixels
int m_numBytesInFrame
string m_modelsPath
double m_skinProbPrior
unsigned char m_skinProbThresh
double m_skinProbMap [k_SCHS_histogramSize]
unsigned char m_channel2HistLookup [k_SCHS_lookupSize]


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

Constructor & Destructor Documentation

RobotFlow::SkinColorHistSegm::SkinColorHistSegm string  nodeName,
ParameterSet  params

RobotFlow::SkinColorHistSegm::~SkinColorHistSegm  )  [inline]

Member Function Documentation

void RobotFlow::SkinColorHistSegm::BuildLookupTable  )  [inline]

void RobotFlow::SkinColorHistSegm::calculate int  output_id,
int  count,
Buffer out
[inline, virtual]

Implements FD::BufferedNode.

void RobotFlow::SkinColorHistSegm::GenerateMap  )  [inline]

void RobotFlow::SkinColorHistSegm::ReadModels  )  [inline]

void RobotFlow::SkinColorHistSegm::SegmentSkin const unsigned char *  i_srcImg,
unsigned char *  o_skinMap,
unsigned char *  o_skinMask

Field Documentation

RCPtr<Bool> RobotFlow::SkinColorHistSegm::m_activated [private]

int RobotFlow::SkinColorHistSegm::m_activatedInID [private]

unsigned char RobotFlow::SkinColorHistSegm::m_channel2HistLookup[k_SCHS_lookupSize] [private]

int RobotFlow::SkinColorHistSegm::m_height [private]

int RobotFlow::SkinColorHistSegm::m_imageInID [private]

int RobotFlow::SkinColorHistSegm::m_imageOutID [private]

int RobotFlow::SkinColorHistSegm::m_mapOutID [private]

string RobotFlow::SkinColorHistSegm::m_modelsPath [private]

int RobotFlow::SkinColorHistSegm::m_numBytesInFrame [private]

int RobotFlow::SkinColorHistSegm::m_numChannels [private]

int RobotFlow::SkinColorHistSegm::m_numPixels [private]

double RobotFlow::SkinColorHistSegm::m_skinProbMap[k_SCHS_histogramSize] [private]

double RobotFlow::SkinColorHistSegm::m_skinProbPrior [private]

unsigned char RobotFlow::SkinColorHistSegm::m_skinProbThresh [private]

int RobotFlow::SkinColorHistSegm::m_width [private]

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