Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

fl::DescriptorCombo Class Reference

#include <descriptor.h>

Inheritance diagram for fl::DescriptorCombo:

fl::Descriptor List of all members.

Public Methods

 DescriptorCombo ()
 DescriptorCombo (std::istream &stream)
virtual ~DescriptorCombo ()
 Delete all descriptors we are holding.

void add (Descriptor *descriptor)
 Append another descriptor to the list. This object takes responsibility for the pointer.

virtual Vector< float > value (const Image &image, const PointAffine &point)
 Returns a vector of floats that describe the image patch near the interest point.

virtual Vector< float > value (const Image &image)
 Describe entire region that has non-zero alpha values. Descriptor may treat all non-zero alpha values the same, or use them to weight the pixels. This method is only available in Descriptors that don't require a specific point of reference. IE: a spin image must have a central point, so it can't implement this method.

virtual Image patch (const Vector< float > &value)
 Return a graphical representation of the descriptor. Preferrably an image patch that would stimulate this descriptor to return the given value.

Image patch (int index, const Vector< float > &value)
 Returns a visualization of one specific feature vector in the set.

virtual Comparisoncomparison ()
 Return an instance of the recommended Comparison for feature vectors from this type of Descriptor. Caller is responsible to destroy instance.

virtual void read (std::istream &stream)
virtual void write (std::ostream &stream, bool withName=true)

Public Attributes

std::vector< Descriptor * > descriptors
void * lastBuffer
 For detecting change in cached image.

double lastTime
 For detecting change in cached image.

Image grayImage

Detailed Description

Applies several descriptors to a patch at once and returns the concatenation of all their feature vectors.


Constructor & Destructor Documentation

DescriptorCombo::DescriptorCombo  
 

DescriptorCombo::DescriptorCombo std::istream &    stream
 

DescriptorCombo::~DescriptorCombo   [virtual]
 

Delete all descriptors we are holding.


Member Function Documentation

void DescriptorCombo::add Descriptor   descriptor
 

Append another descriptor to the list. This object takes responsibility for the pointer.

Comparison * DescriptorCombo::comparison   [virtual]
 

Return an instance of the recommended Comparison for feature vectors from this type of Descriptor. Caller is responsible to destroy instance.

Reimplemented from fl::Descriptor.

Image DescriptorCombo::patch int    index,
const Vector< float > &    value
 

Returns a visualization of one specific feature vector in the set.

Image DescriptorCombo::patch const Vector< float > &    value [virtual]
 

Return a graphical representation of the descriptor. Preferrably an image patch that would stimulate this descriptor to return the given value.

Implements fl::Descriptor.

void DescriptorCombo::read std::istream &    stream [virtual]
 

Reimplemented from fl::Descriptor.

Vector< float > DescriptorCombo::value const Image   image [virtual]
 

Describe entire region that has non-zero alpha values. Descriptor may treat all non-zero alpha values the same, or use them to weight the pixels. This method is only available in Descriptors that don't require a specific point of reference. IE: a spin image must have a central point, so it can't implement this method.

Reimplemented from fl::Descriptor.

Vector< float > DescriptorCombo::value const Image   image,
const PointAffine   point
[virtual]
 

Returns a vector of floats that describe the image patch near the interest point.

Implements fl::Descriptor.

void DescriptorCombo::write std::ostream &    stream,
bool    withName = true
[virtual]
 

Reimplemented from fl::Descriptor.


Member Data Documentation

std::vector<Descriptor *> fl::DescriptorCombo::descriptors
 

Image fl::DescriptorCombo::grayImage
 

void* fl::DescriptorCombo::lastBuffer
 

For detecting change in cached image.

double fl::DescriptorCombo::lastTime
 

For detecting change in cached image.


The documentation for this class was generated from the following files:
Generated on Thu Dec 9 17:13:26 2004 for fl by doxygen1.2.18