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

fl::DescriptorTextonScale Class Reference

#include <descriptor.h>

Inheritance diagram for fl::DescriptorTextonScale:

fl::Descriptor List of all members.

Public Methods

 DescriptorTextonScale (int angles=4, float firstScale=1.0f, float lastScale=4.0f, int extraSteps=3)
 DescriptorTextonScale (std::istream &stream)
void initialize ()
void preprocess (const Image &image)
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.

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

Public Attributes

void * lastBuffer
 For detecting change in cached image.

double lastTime
 For detecting change in cached image.

std::vector< ImageOf< float > > responses
 Responses to each filter in the bank over the entire input image.

int angles
 Number of discrete orientations in the filter bank.

float firstScale
 Delimits lower end of scale space.

float lastScale
 Delimits upper end of scale space.

int steps
 Number of discrete scale levels in one octave.

int bankSize
 Number of filters at a given scale level.

float scaleRatio
 Ratio between two adjacent scale levels.

std::vector< ConvolutionDiscrete2Dfilters

Detailed Description

Gathers statistics on responses to a filter bank in an image region. The bank is replicated at several scale levels, and this descriptor chooses the appropriate scale level for each individual pixel.


Constructor & Destructor Documentation

DescriptorTextonScale::DescriptorTextonScale int    angles = 4,
float    firstScale = 1.0f,
float    lastScale = 4.0f,
int    extraSteps = 3
 

DescriptorTextonScale::DescriptorTextonScale std::istream &    stream
 


Member Function Documentation

void DescriptorTextonScale::initialize  
 

Image DescriptorTextonScale::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 DescriptorTextonScale::preprocess const Image   image
 

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

Reimplemented from fl::Descriptor.

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

Reimplemented from fl::Descriptor.


Member Data Documentation

int fl::DescriptorTextonScale::angles
 

Number of discrete orientations in the filter bank.

int fl::DescriptorTextonScale::bankSize
 

Number of filters at a given scale level.

std::vector<ConvolutionDiscrete2D> fl::DescriptorTextonScale::filters
 

float fl::DescriptorTextonScale::firstScale
 

Delimits lower end of scale space.

void* fl::DescriptorTextonScale::lastBuffer
 

For detecting change in cached image.

float fl::DescriptorTextonScale::lastScale
 

Delimits upper end of scale space.

double fl::DescriptorTextonScale::lastTime
 

For detecting change in cached image.

std::vector< ImageOf<float> > fl::DescriptorTextonScale::responses
 

Responses to each filter in the bank over the entire input image.

float fl::DescriptorTextonScale::scaleRatio
 

Ratio between two adjacent scale levels.

int fl::DescriptorTextonScale::steps
 

Number of discrete scale levels in one octave.


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