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

fl::Descriptor Class Reference

#include <descriptor.h>

Inheritance diagram for fl::Descriptor:

fl::DescriptorColorHistogram2D fl::DescriptorColorHistogram3D fl::DescriptorCombo fl::DescriptorContrast fl::DescriptorFilters fl::DescriptorLBP fl::DescriptorOrientation fl::DescriptorOrientationHistogram fl::DescriptorPatch fl::DescriptorScale fl::DescriptorSchmid fl::DescriptorSchmidScale fl::DescriptorSIFT fl::DescriptorSpin fl::DescriptorTextonScale List of all members.

Public Methods

 Descriptor ()
virtual ~Descriptor ()
virtual Vector< float > value (const Image &image, const PointAffine &point)=0
 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)=0
 Return a graphical representation of the descriptor. Preferrably an image patch that would stimulate this descriptor to return the given value.

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

bool monochrome
 True if this descriptor works only on intensity values. False if this descriptor uses color channels in some way.

int dimension
 Number of elements in result of value(). 0 if dimension can change from one call to the next.

float supportRadial
 Number of sigmas away from center to include in patch (where 1 sigma = size of characteristic scale). 0 means this descriptor does not depend on characteristic scale.


Constructor & Destructor Documentation

Descriptor::Descriptor  
 

Descriptor::~Descriptor   [virtual]
 


Member Function Documentation

Comparison * Descriptor::comparison   [virtual]
 

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

Reimplemented in fl::DescriptorCombo, fl::DescriptorContrast, fl::DescriptorPatch, fl::DescriptorSpin, fl::DescriptorSIFT, fl::DescriptorColorHistogram2D, fl::DescriptorColorHistogram3D, and fl::DescriptorLBP.

virtual Image fl::Descriptor::patch const Vector< float > &    value [pure virtual]
 

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

Implemented in fl::DescriptorCombo, fl::DescriptorScale, fl::DescriptorOrientation, fl::DescriptorOrientationHistogram, fl::DescriptorContrast, fl::DescriptorFilters, fl::DescriptorPatch, fl::DescriptorSchmidScale, fl::DescriptorSchmid, fl::DescriptorSpin, fl::DescriptorSIFT, fl::DescriptorColorHistogram2D, fl::DescriptorColorHistogram3D, fl::DescriptorTextonScale, and fl::DescriptorLBP.

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

Reimplemented in fl::DescriptorCombo, fl::DescriptorScale, fl::DescriptorOrientation, fl::DescriptorOrientationHistogram, fl::DescriptorContrast, fl::DescriptorFilters, fl::DescriptorPatch, fl::DescriptorSchmidScale, fl::DescriptorSchmid, fl::DescriptorSpin, fl::DescriptorSIFT, fl::DescriptorColorHistogram2D, fl::DescriptorColorHistogram3D, fl::DescriptorTextonScale, and fl::DescriptorLBP.

Vector< float > Descriptor::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 in fl::DescriptorCombo, fl::DescriptorColorHistogram2D, fl::DescriptorColorHistogram3D, fl::DescriptorTextonScale, and fl::DescriptorLBP.

virtual Vector<float> fl::Descriptor::value const Image   image,
const PointAffine   point
[pure virtual]
 

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

Implemented in fl::DescriptorCombo, fl::DescriptorScale, fl::DescriptorOrientation, fl::DescriptorOrientationHistogram, fl::DescriptorContrast, fl::DescriptorFilters, fl::DescriptorPatch, fl::DescriptorSchmidScale, fl::DescriptorSchmid, fl::DescriptorSpin, fl::DescriptorSIFT, fl::DescriptorColorHistogram2D, fl::DescriptorColorHistogram3D, fl::DescriptorTextonScale, and fl::DescriptorLBP.

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

Reimplemented in fl::DescriptorCombo, fl::DescriptorScale, fl::DescriptorOrientation, fl::DescriptorOrientationHistogram, fl::DescriptorContrast, fl::DescriptorFilters, fl::DescriptorPatch, fl::DescriptorSchmidScale, fl::DescriptorSchmid, fl::DescriptorSpin, fl::DescriptorSIFT, fl::DescriptorColorHistogram2D, fl::DescriptorColorHistogram3D, fl::DescriptorTextonScale, and fl::DescriptorLBP.


Member Data Documentation

int fl::Descriptor::dimension
 

Number of elements in result of value(). 0 if dimension can change from one call to the next.

bool fl::Descriptor::monochrome
 

True if this descriptor works only on intensity values. False if this descriptor uses color channels in some way.

float fl::Descriptor::supportRadial
 

Number of sigmas away from center to include in patch (where 1 sigma = size of characteristic scale). 0 means this descriptor does not depend on characteristic scale.


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