CVR-Lib last update 20 Sep 2009

cvr::surfLocalDescriptor Class Reference
[Feature Extraction]

Class surfLocalDescriptor. More...

#include <cvrSurfLocalDescriptor.h>

Inheritance diagram for cvr::surfLocalDescriptor:

Inheritance graph
[legend]
Collaboration diagram for cvr::surfLocalDescriptor:

Collaboration graph
[legend]

List of all members.

Classes

class  parameters
 The parameters for the class surfLocalDescriptor. More...

Public Types

enum  eOrientationMode { Ignore, Approximate, Cluster }

Public Member Functions

 surfLocalDescriptor ()
 surfLocalDescriptor (const parameters &par)
 surfLocalDescriptor (const surfLocalDescriptor &other)
virtual ~surfLocalDescriptor ()
bool apply (const channel8 &src, const list< location > &locs, std::list< dvector > &desc) const
bool apply (const channel &src, const list< location > &locs, std::list< dvector > &desc) const
bool apply (const channel &src, const location &loc, dvector &desc) const
surfLocalDescriptorcopy (const surfLocalDescriptor &other)
surfLocalDescriptoroperator= (const surfLocalDescriptor &other)
virtual const std::string & name () const
virtual surfLocalDescriptorclone () const
virtual surfLocalDescriptornewInstance () const
const parametersgetParameters () const
bool updateParameters ()


Detailed Description

Class surfLocalDescriptor.

This class computes the SURF descriptor for given image locations, as explained in detail in the paper:

Herbert Bay, Tinne Tuytelaars, and Luc Van Gool. SURF: Speeded Up Robust Features. In Proceedings of the 9th European Conference on Computer Vision, May 2006. Available at http://www.vision.ee.ethz.ch/~surf/papers.html

The implementation is based on the interpretation of the paper, and produce different results than the ones obtained from the closed-source implementation of the authors. Any suggestions are always welcome.

See also:
surfLocalDescriptor::parameters.

Member Enumeration Documentation

Enumeration of the modes for the orientation considerations in the descriptor computation.

Enumerator:
Ignore  Ignore the orientation.

This method is fast, but the locations have to occur on the same direction.

Approximate  The regions are never rotated, but the individual responses of the Haar filters will be considered as approximations of the oriented gaussian derivative which is steerable.

The computation is fast but not as reliable.

Cluster  The location orientations will be discretized so that just a finite number of rotations need to be computed.


Constructor & Destructor Documentation

cvr::surfLocalDescriptor::surfLocalDescriptor (  ) 

Default constructor.

cvr::surfLocalDescriptor::surfLocalDescriptor ( const parameters par  ) 

Construct a functor using the given parameters.

cvr::surfLocalDescriptor::surfLocalDescriptor ( const surfLocalDescriptor other  ) 

Copy constructor.

Parameters:
other the object to be copied

virtual cvr::surfLocalDescriptor::~surfLocalDescriptor (  )  [virtual]

Destructor.


Member Function Documentation

bool cvr::surfLocalDescriptor::apply ( const channel src,
const location loc,
dvector desc 
) const

Operates on the given argument.

Parameters:
src channel8 with the image to be described.
loc the locations to be described
desc resulting descritor computed for the given location.
Returns:
true if apply successful or false otherwise.

bool cvr::surfLocalDescriptor::apply ( const channel src,
const list< location > &  locs,
std::list< dvector > &  desc 
) const

Operates on the given argument.

Parameters:
src channel8 with the image to be described.
locs list of locations to be described
desc resulting descritors computed for each location.
Returns:
true if apply successful or false otherwise.

bool cvr::surfLocalDescriptor::apply ( const channel8 src,
const list< location > &  locs,
std::list< dvector > &  desc 
) const

Operates on the given argument.

Parameters:
src channel8 with the image to be described.
locs list of locations to be described
desc resulting descritors computed for each location.
Returns:
true if apply successful or false otherwise.

virtual surfLocalDescriptor* cvr::surfLocalDescriptor::clone (  )  const [virtual]

Returns a pointer to a clone of this functor.

Implements cvr::functor.

surfLocalDescriptor& cvr::surfLocalDescriptor::copy ( const surfLocalDescriptor other  ) 

Copy data of "other" functor.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

const parameters& cvr::surfLocalDescriptor::getParameters (  )  const

Returns used parameters.

Reimplemented from cvr::parametersManager.

virtual const std::string& cvr::surfLocalDescriptor::name (  )  const [virtual]

Returns the complete name of the functor class.

Implements cvr::functor.

virtual surfLocalDescriptor* cvr::surfLocalDescriptor::newInstance (  )  const [virtual]

Returns a pointer to a new instance of this functor.

Implements cvr::functor.

surfLocalDescriptor& cvr::surfLocalDescriptor::operator= ( const surfLocalDescriptor other  ) 

Alias for copy member.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

bool cvr::surfLocalDescriptor::updateParameters (  )  [virtual]

Update the parameters.

Reimplemented from cvr::parametersManager.


The documentation for this class was generated from the following file:

Generated on Sun Sep 20 22:08:53 2009 for CVR-Lib by Doxygen 1.5.8