ScalableColor Class Reference

#include <ScalableColor.h>

Inherits DescriptorBase.

List of all members.

Public Member Functions

 ScalableColor ()
 constructor
size_t GetByteSize ()
 return size in bytes of descriptor in memory
void PrintElements (void)
 prints the descriptor vector
std::string toString ()
 convert descriptor data to string
int match (ScalableColor *scalCol)
 match descriptors and return distance
int Initialise (int coef, int bitPlanesDisc)
 initialise the descriptor with the given parameters
int SetSize (int Size)
 set size of the descriptor vector
int SetNumberOfBitplanesDiscarded (int discard)
 set the number of the bit planes discarded in the descriptor extraction
int SetNumberOfCoefficients (int num_coef)
 set the number of coefficients
int GetSize ()
 get size of the descriptor vector
int GetNumberOfBitplanesDiscarded ()
 get the number of the bit planes discarded in the descriptor extraction
int GetNumberOfCoefficients ()
 get the number of coefficients

Public Attributes

std::vector< unsigned long > m_ScalableHistogram
 descriptor vector
std::vector< unsigned long > m_Sign
 sign of the descriptor values

Private Attributes

unsigned long m_NumberOfCoefficients
 number of coefficients
unsigned long m_NumberOfBitplanesDiscarded
 number of the bit planes discarded in the descriptor extraction
int m_vectorSize
 descriptor vector size

Friends

std::ostream & operator<< (std::ostream &os, ScalableColor &s)


Constructor & Destructor Documentation

ScalableColor::ScalableColor (  ) 

constructor


Member Function Documentation

size_t ScalableColor::GetByteSize (  ) 

return size in bytes of descriptor in memory

Reimplemented from DescriptorBase.

void ScalableColor::PrintElements ( void   )  [virtual]

prints the descriptor vector

Reimplemented from DescriptorBase.

std::string ScalableColor::toString (  ) 

convert descriptor data to string

Reimplemented from DescriptorBase.

int ScalableColor::match ( ScalableColor scalCol  ) 

match descriptors and return distance

int ScalableColor::Initialise ( int  coef,
int  bitPlanesDisc 
)

initialise the descriptor with the given parameters

int ScalableColor::SetSize ( int  Size  ) 

set size of the descriptor vector

int ScalableColor::SetNumberOfBitplanesDiscarded ( int  discard  ) 

set the number of the bit planes discarded in the descriptor extraction

int ScalableColor::SetNumberOfCoefficients ( int  num_coef  ) 

set the number of coefficients

int ScalableColor::GetSize (  )  [inline]

get size of the descriptor vector

int ScalableColor::GetNumberOfBitplanesDiscarded (  )  [inline]

get the number of the bit planes discarded in the descriptor extraction

int ScalableColor::GetNumberOfCoefficients (  )  [inline]

get the number of coefficients


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
ScalableColor s 
) [friend]


Member Data Documentation

std::vector<unsigned long> ScalableColor::m_ScalableHistogram

descriptor vector

std::vector<unsigned long> ScalableColor::m_Sign

sign of the descriptor values

unsigned long ScalableColor::m_NumberOfCoefficients [private]

number of coefficients

number of the bit planes discarded in the descriptor extraction

descriptor vector size


The documentation for this class was generated from the following file:

Generated on Tue Oct 14 16:35:18 2008 for vd by  doxygen 1.5.5