#include <ScalableColor.h>
Inherits DescriptorBase.
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) |
ScalableColor::ScalableColor | ( | ) |
constructor
size_t ScalableColor::GetByteSize | ( | ) |
void ScalableColor::PrintElements | ( | void | ) | [virtual] |
std::string ScalableColor::toString | ( | ) |
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
std::ostream& operator<< | ( | std::ostream & | os, | |
ScalableColor & | s | |||
) | [friend] |
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
unsigned long ScalableColor::m_NumberOfBitplanesDiscarded [private] |
number of the bit planes discarded in the descriptor extraction
int ScalableColor::m_vectorSize [private] |
descriptor vector size