#include <ColorStructure.h>
Inherits DescriptorBase.
Public Member Functions | |
ColorStructure () | |
constructor | |
int | SetSize (int Size) |
set current size of the descriptor vector | |
int | GetSize () |
get current size of the descriptor vector | |
int | SetTargetSize (int TargetSize) |
set target size of the descriptor | |
int | GetTargetSize () |
get target size of the descriptor | |
int | Initialise (int tSize) |
initialise the descriptor with the given parameters | |
void | PrintElements () |
prints the descriptor vector | |
size_t | GetByteSize () |
return size in bytes of descriptor in memory | |
std::string | toString () |
convert descriptor data to string | |
int | match (ColorStructure *colStruc) |
match descriptors and return distance | |
Public Attributes | |
std::vector< unsigned long > | m_Data |
descriptor vector | |
Private Attributes | |
unsigned long | m_Size |
current size of the descriptor vector | |
unsigned long | m_TargetSize |
target size of the descriptor vector | |
Friends | |
std::ostream & | operator<< (std::ostream &os, ColorStructure &s) |
ColorStructure::ColorStructure | ( | ) |
constructor
int ColorStructure::SetSize | ( | int | Size | ) |
set current size of the descriptor vector
int ColorStructure::GetSize | ( | ) | [inline] |
get current size of the descriptor vector
int ColorStructure::SetTargetSize | ( | int | TargetSize | ) |
set target size of the descriptor
int ColorStructure::GetTargetSize | ( | ) | [inline] |
get target size of the descriptor
int ColorStructure::Initialise | ( | int | tSize | ) |
initialise the descriptor with the given parameters
void ColorStructure::PrintElements | ( | void | ) | [virtual] |
size_t ColorStructure::GetByteSize | ( | ) |
std::string ColorStructure::toString | ( | ) |
int ColorStructure::match | ( | ColorStructure * | colStruc | ) |
match descriptors and return distance
std::ostream& operator<< | ( | std::ostream & | os, | |
ColorStructure & | s | |||
) | [friend] |
std::vector<unsigned long> ColorStructure::m_Data |
descriptor vector
unsigned long ColorStructure::m_Size [private] |
current size of the descriptor vector
unsigned long ColorStructure::m_TargetSize [private] |
target size of the descriptor vector