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

RobotFlow::VisualIntegralDesc< FeatType > Class Template Reference

#include <VisualIntegralDesc.h>

Inheritance diagram for RobotFlow::VisualIntegralDesc< FeatType >:

Inheritance graph
[legend]
Collaboration diagram for RobotFlow::VisualIntegralDesc< FeatType >:

Collaboration graph
[legend]

template<class FeatType>
class RobotFlow::VisualIntegralDesc< FeatType >


Public Member Functions

 VisualIntegralDesc ()
 VisualIntegralDesc (e_VISUALINTDESC_similarityType i_simType, unsigned int i_numClrChannels, unsigned int i_numIntValues, FeatType i_maxValue, bool i_useRectDiff, bool i_useBoundary)
 VisualIntegralDesc (const VisualIntegralDesc< FeatType > &i_ref)
 ~VisualIntegralDesc ()
VisualIntegralDesc< FeatType > & operator= (const VisualIntegralDesc< FeatType > &i_ref)
VisualIntegralDesc< FeatType > * clone () const
void printOn (std::ostream &out) const
void readFrom (std::istream &in)
double Similarity (const FeatType *i_candidate, unsigned int i_size) const
void Adapt (const FeatType *i_candidate, unsigned int i_size, double i_rate)
unsigned int GetSize () const
FeatType * GetFeatures ()
const FeatType * GetCstFeatures () const
bool GetValidity () const
void SetSize (unsigned int i_size)
void SetFeatures (const FeatType *i_ref, unsigned int i_size)
void SetValidity (bool i_flag)
 VisualFeatureDesc ()
 VisualFeatureDesc (e_VISUALDESCRIPTOR_type i_descType)
 VisualFeatureDesc (const VisualFeatureDesc< FeatType > &i_ref)
virtual ObjectRef clone ()
e_VISUALDESCRIPTOR_type GetType () const
void SetType (e_VISUALDESCRIPTOR_type i_type)
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 std::string className () const

Static Public Member Functions

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 Attributes

AtomicCounter ref_count

Private Member Functions

void SetSimilarityFct ()
double EuclideanDist (const FeatType *i_candidate) const
double EuclideanDistWDiff (const FeatType *i_candidate) const
double EuclideanDistWBound (const FeatType *i_candidate) const
double EuclideanDistWDiffWBound (const FeatType *i_candidate) const

Private Attributes

e_VISUALINTDESC_similarityType m_simType
unsigned int m_numClrChannels
unsigned int m_numIntValues
unsigned int m_featSize
FeatType m_maxValue
unsigned int m_numMeanValues
FeatType m_maxDiffValue
bool m_useRectDiff
bool m_useBoundary
bool m_valid
FeatType * m_intFeatures
double(VisualIntegralDesc::* m_similarityFct )(const FeatType *) const

Friends

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

Constructor & Destructor Documentation

template<class FeatType>
RobotFlow::VisualIntegralDesc< FeatType >::VisualIntegralDesc  )  [inline]
 

template<class FeatType>
RobotFlow::VisualIntegralDesc< FeatType >::VisualIntegralDesc e_VISUALINTDESC_similarityType  i_simType,
unsigned int  i_numClrChannels,
unsigned int  i_numIntValues,
FeatType  i_maxValue,
bool  i_useRectDiff,
bool  i_useBoundary
[inline]
 

template<class FeatType>
RobotFlow::VisualIntegralDesc< FeatType >::VisualIntegralDesc const VisualIntegralDesc< FeatType > &  i_ref  )  [inline]
 

template<class FeatType>
RobotFlow::VisualIntegralDesc< FeatType >::~VisualIntegralDesc  )  [inline]
 


Member Function Documentation

template<class FeatType>
void RobotFlow::VisualIntegralDesc< FeatType >::Adapt const FeatType *  i_candidate,
unsigned int  i_size,
double  i_rate
[inline, virtual]
 

Reimplemented from RobotFlow::VisualFeatureDesc< FeatType >.

template<class FeatType>
VisualIntegralDesc<FeatType>* RobotFlow::VisualIntegralDesc< FeatType >::clone  )  const [inline, virtual]
 

Reimplemented from RobotFlow::VisualFeatureDesc< FeatType >.

template<class FeatType>
double RobotFlow::VisualIntegralDesc< FeatType >::EuclideanDist const FeatType *  i_candidate  )  const [inline, private]
 

template<class FeatType>
double RobotFlow::VisualIntegralDesc< FeatType >::EuclideanDistWBound const FeatType *  i_candidate  )  const [inline, private]
 

template<class FeatType>
double RobotFlow::VisualIntegralDesc< FeatType >::EuclideanDistWDiff const FeatType *  i_candidate  )  const [inline, private]
 

template<class FeatType>
double RobotFlow::VisualIntegralDesc< FeatType >::EuclideanDistWDiffWBound const FeatType *  i_candidate  )  const [inline, private]
 

template<class FeatType>
const FeatType* RobotFlow::VisualIntegralDesc< FeatType >::GetCstFeatures  )  const [inline, virtual]
 

Reimplemented from RobotFlow::VisualFeatureDesc< FeatType >.

template<class FeatType>
FeatType* RobotFlow::VisualIntegralDesc< FeatType >::GetFeatures  )  [inline, virtual]
 

Reimplemented from RobotFlow::VisualFeatureDesc< FeatType >.

template<class FeatType>
unsigned int RobotFlow::VisualIntegralDesc< FeatType >::GetSize  )  const [inline, virtual]
 

Reimplemented from RobotFlow::VisualFeatureDesc< FeatType >.

e_VISUALDESCRIPTOR_type RobotFlow::VisualFeatureDesc< FeatType >::GetType  )  const [inline, inherited]
 

template<class FeatType>
bool RobotFlow::VisualIntegralDesc< FeatType >::GetValidity  )  const [inline, virtual]
 

Reimplemented from RobotFlow::VisualFeatureDesc< FeatType >.

template<class FeatType>
VisualIntegralDesc<FeatType>& RobotFlow::VisualIntegralDesc< FeatType >::operator= const VisualIntegralDesc< FeatType > &  i_ref  )  [inline]
 

template<class FeatType>
void RobotFlow::VisualIntegralDesc< FeatType >::printOn std::ostream &  out  )  const [inline, virtual]
 

Reimplemented from RobotFlow::VisualFeatureDesc< FeatType >.

template<class FeatType>
void RobotFlow::VisualIntegralDesc< FeatType >::readFrom std::istream &  in  )  [inline, virtual]
 

Reimplemented from RobotFlow::VisualFeatureDesc< FeatType >.

template<class FeatType>
void RobotFlow::VisualIntegralDesc< FeatType >::SetFeatures const FeatType *  i_ref,
unsigned int  i_size
[inline, virtual]
 

Reimplemented from RobotFlow::VisualFeatureDesc< FeatType >.

template<class FeatType>
void RobotFlow::VisualIntegralDesc< FeatType >::SetSimilarityFct  )  [inline, private]
 

template<class FeatType>
void RobotFlow::VisualIntegralDesc< FeatType >::SetSize unsigned int  i_size  )  [inline, virtual]
 

Reimplemented from RobotFlow::VisualFeatureDesc< FeatType >.

void RobotFlow::VisualFeatureDesc< FeatType >::SetType e_VISUALDESCRIPTOR_type  i_type  )  [inline, inherited]
 

template<class FeatType>
void RobotFlow::VisualIntegralDesc< FeatType >::SetValidity bool  i_flag  )  [inline, virtual]
 

Reimplemented from RobotFlow::VisualFeatureDesc< FeatType >.

template<class FeatType>
double RobotFlow::VisualIntegralDesc< FeatType >::Similarity const FeatType *  i_candidate,
unsigned int  i_size
const [inline, virtual]
 

Reimplemented from RobotFlow::VisualFeatureDesc< FeatType >.

RobotFlow::VisualFeatureDesc< FeatType >::VisualFeatureDesc const VisualFeatureDesc< FeatType > &  i_ref  )  [inline, inherited]
 

RobotFlow::VisualFeatureDesc< FeatType >::VisualFeatureDesc e_VISUALDESCRIPTOR_type  i_descType  )  [inline, inherited]
 

RobotFlow::VisualFeatureDesc< FeatType >::VisualFeatureDesc  )  [inline, inherited]
 


Field Documentation

template<class FeatType>
unsigned int RobotFlow::VisualIntegralDesc< FeatType >::m_featSize [private]
 

template<class FeatType>
FeatType* RobotFlow::VisualIntegralDesc< FeatType >::m_intFeatures [private]
 

template<class FeatType>
FeatType RobotFlow::VisualIntegralDesc< FeatType >::m_maxDiffValue [private]
 

template<class FeatType>
FeatType RobotFlow::VisualIntegralDesc< FeatType >::m_maxValue [private]
 

template<class FeatType>
unsigned int RobotFlow::VisualIntegralDesc< FeatType >::m_numClrChannels [private]
 

template<class FeatType>
unsigned int RobotFlow::VisualIntegralDesc< FeatType >::m_numIntValues [private]
 

template<class FeatType>
unsigned int RobotFlow::VisualIntegralDesc< FeatType >::m_numMeanValues [private]
 

template<class FeatType>
double(VisualIntegralDesc::* RobotFlow::VisualIntegralDesc< FeatType >::m_similarityFct)(const FeatType *) const [private]
 

template<class FeatType>
e_VISUALINTDESC_similarityType RobotFlow::VisualIntegralDesc< FeatType >::m_simType [private]
 

template<class FeatType>
bool RobotFlow::VisualIntegralDesc< FeatType >::m_useBoundary [private]
 

template<class FeatType>
bool RobotFlow::VisualIntegralDesc< FeatType >::m_useRectDiff [private]
 

template<class FeatType>
bool RobotFlow::VisualIntegralDesc< FeatType >::m_valid [private]
 


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