CVR-Lib last update 20 Sep 2009

cvr::locationDetection Class Reference
[Feature Extraction]

Abstract class locationDetection. More...

#include <cvrLocationDetection.h>

Inheritance diagram for cvr::locationDetection:

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

Collaboration graph
[legend]

List of all members.

Classes

class  parameters
 The parameters for the class locationDetection. More...

Public Member Functions

 locationDetection ()
 locationDetection (const locationDetection &other)
virtual ~locationDetection ()
virtual bool apply (const channel8 &src, list< location > &locs) const =0
virtual bool apply (const channel &src, list< location > &locs) const =0
virtual bool apply (const channel8 &src, list< location > &locs, int &numLocs) const =0
virtual bool apply (const channel &src, list< location > &locs, int &numLocs) const =0
virtual const std::string & name () const =0
virtual locationDetectionclone () const =0
virtual locationDetectionnewInstance () const =0
locationDetectioncopy (const locationDetection &other)
locationDetectionoperator= (const locationDetection &other)
const parametersgetParameters () const


Detailed Description

Abstract class locationDetection.

The location detection abstract class is the parent class of all location detectors in the CVR-Lib.

See also:
locationDetection::parameters.

Constructor & Destructor Documentation

cvr::locationDetection::locationDetection (  ) 

Default constructor.

cvr::locationDetection::locationDetection ( const locationDetection other  ) 

Copy constructor.

Parameters:
other the object to be copied

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

Destructor.


Member Function Documentation

virtual bool cvr::locationDetection::apply ( const channel src,
list< location > &  locs,
int &  numLocs 
) const [pure virtual]

Compute the locations based on the determinant of the "fast Hessian" matrix.

This method provides numLocs = locs.size() directly. The reason is simple: speed. The size() method needs to count the elements, and this is usually done in the process.

Parameters:
src channel8 with the source image.
locs lists of detected locations.
numLocs number of locations detected.
Returns:
true if apply successful or false otherwise.

Implemented in cvr::fastHessianDetection.

virtual bool cvr::locationDetection::apply ( const channel8 src,
list< location > &  locs,
int &  numLocs 
) const [pure virtual]

Compute the locations based on the determinant of the "fast Hessian" matrix.

This method provides numLocs = locs.size() directly. The reason is simple: speed. The size() method needs to count the elements, and this is usually done in the process.

Parameters:
src channel8 with the source image.
locs lists of detected locations.
numLocs number of locations detected.
Returns:
true if apply successful or false otherwise.

Implemented in cvr::fastHessianDetection.

virtual bool cvr::locationDetection::apply ( const channel src,
list< location > &  locs 
) const [pure virtual]

Compute the locations based on the determinant of the "fast Hessian" matrix.

Parameters:
src channel8 with the source image.
locs lists of detected locations.
Returns:
true if apply successful or false otherwise.

Implemented in cvr::fastHessianDetection.

virtual bool cvr::locationDetection::apply ( const channel8 src,
list< location > &  locs 
) const [pure virtual]

Compute the locations based on the determinant of the "fast Hessian" matrix.

Parameters:
src channel8 with the source image.
locs lists of detected locations.
Returns:
true if apply successful or false otherwise.

Implemented in cvr::fastHessianDetection.

virtual locationDetection* cvr::locationDetection::clone (  )  const [pure virtual]

Returns a pointer to a clone of this functor.

Implements cvr::functor.

Implemented in cvr::fastHessianDetection.

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

Copy member.

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

Returns used parameters.

Reimplemented from cvr::parametersManager.

Reimplemented in cvr::fastHessianDetection.

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

Returns the complete name of the functor class.

Implements cvr::functor.

Implemented in cvr::fastHessianDetection.

virtual locationDetection* cvr::locationDetection::newInstance (  )  const [pure virtual]

Returns a pointer to a new instance of this functor.

Implements cvr::functor.

Implemented in cvr::fastHessianDetection.

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

Alias for copy member.


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

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