Descriptor Class Reference

#include <Descriptor.h>

List of all members.

Public Member Functions

 Descriptor (DescriptorTypeVector descrTypeList)
 Constructor.
 ~Descriptor ()
 destructor
DominantColorGetDominantColorDescriptor ()
ScalableColorGetScalableColorDescriptor ()
ColorLayoutGetColorLayoutDescriptor ()
ColorStructureGetColorStructureDescriptor ()
EdgeHistogramGetEdgeHistogramDescriptor ()
HomogeneousTextureGetHomogeneousTextureDescriptor ()
RegionShapeGetRegionShapeDescriptor ()
ContourShapeGetContourShapeDescriptor ()
void PrintElements ()
 Prints the element of all the descriptors.
void toTxtFile (char *txtFilename)
 Saves the descriptor vectors to a txt file on the disk.
int Initialise ()
 descriptor initialisation, including initialisation of all included descriptors
void SetParameters (char *parameterFile)
 set the parameters from a parameter text file

Public Attributes

std::vector< DescriptorBase * > content
 vector of DescriptorBase, which it can be all descriptors eg. DC, SC, etc...
DescriptorTypeVector typeVector
 vector of DescriptorTypes which are the types of descriptors in class member content
Parameters paramtrs
 parameters for the descriptor extraction

Private Member Functions

bool includes (DescriptorType type)
 returns true if type is included in the DescriptorTypeVector class member


Constructor & Destructor Documentation

Descriptor::Descriptor ( DescriptorTypeVector  descrTypeList  ) 

Constructor.

Descriptor::~Descriptor (  ) 

destructor


Member Function Documentation

DominantColor* Descriptor::GetDominantColorDescriptor (  ) 

return a pointer to the Dominant Color Descriptor of the Descriptor object Returns NULL if it does not exist

ScalableColor* Descriptor::GetScalableColorDescriptor (  ) 

return a pointer to the Scalable Color Descriptor of the Descriptor object Returns NULL if it does not exist

ColorLayout* Descriptor::GetColorLayoutDescriptor (  ) 

return a pointer to the Color Layout Descriptor of the Descriptor object Returns NULL if it does not exist

ColorStructure* Descriptor::GetColorStructureDescriptor (  ) 

return a pointer to the Color Structure Descriptor of the Descriptor object Returns NULL if it does not exist

EdgeHistogram* Descriptor::GetEdgeHistogramDescriptor (  ) 

return a pointer to the Edge Histogram Descriptor of the Descriptor object Returns NULL if it does not exist

HomogeneousTexture* Descriptor::GetHomogeneousTextureDescriptor (  ) 

return a pointer to the Homogeneous Texture Descriptor of the Descriptor object Returns NULL if it does not exist

RegionShape* Descriptor::GetRegionShapeDescriptor (  ) 

return a pointer to the Region Shape Descriptor of the Descriptor object Returns NULL if it does not exist

ContourShape* Descriptor::GetContourShapeDescriptor (  ) 

return a pointer to the Contour Shape Descriptor of the Descriptor object Returns NULL if it does not exist

void Descriptor::PrintElements (  ) 

Prints the element of all the descriptors.

void Descriptor::toTxtFile ( char *  txtFilename  ) 

Saves the descriptor vectors to a txt file on the disk.

int Descriptor::Initialise (  ) 

descriptor initialisation, including initialisation of all included descriptors

void Descriptor::SetParameters ( char *  parameterFile  ) 

set the parameters from a parameter text file

bool Descriptor::includes ( DescriptorType  type  )  [private]

returns true if type is included in the DescriptorTypeVector class member


Member Data Documentation

vector of DescriptorBase, which it can be all descriptors eg. DC, SC, etc...

vector of DescriptorTypes which are the types of descriptors in class member content

parameters for the descriptor extraction


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

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