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

fl::DescriptorContrast Class Reference

#include <descriptor.h>

Inheritance diagram for fl::DescriptorContrast:

fl::Descriptor List of all members.

Public Methods

 DescriptorContrast (float supportRadial=6.0f, int supportPixel=32)
 DescriptorContrast (std::istream &stream)
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 Image patch (const Vector< float > &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

int supportPixel
 Pixel radius of patch. Patch size = 2 * supportPixel.


Detailed Description

Measures the degree of intensity variation in a patch. The formula for the resulting value is

, that is, the average squared gradient length.

The scale at which the gradient is measured directly impacts the meaning of the resulting value. If you measure gradient at a large scale relative to the patch, you effectively measure overall orientation strength. If you measure at smaller scales, you effectively measure the descriptiveness of the graylevel texture. You can control the scale level by manipulating the ratio of supportRadial to supportPixel.


Constructor & Destructor Documentation

DescriptorContrast::DescriptorContrast float    supportRadial = 6.0f,
int    supportPixel = 32
 

DescriptorContrast::DescriptorContrast std::istream &    stream
 


Member Function Documentation

Comparison * DescriptorContrast::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 DescriptorContrast::patch const Vector< float > &    value [virtual]
 

Todo:
Actually implement this method.

Implements fl::Descriptor.

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

Reimplemented from fl::Descriptor.

Vector< float > DescriptorContrast::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 DescriptorContrast::write std::ostream &    stream,
bool    withName = true
[virtual]
 

Reimplemented from fl::Descriptor.


Member Data Documentation

int fl::DescriptorContrast::supportPixel
 

Pixel radius of patch. Patch size = 2 * supportPixel.


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