LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::cornerDetector Class Reference

Parent class for all corner detectors. More...

#include <ltiCornerDetector.h>

Inheritance diagram for lti::cornerDetector:
Inheritance graph
[legend]
Collaboration diagram for lti::cornerDetector:
Collaboration graph
[legend]

List of all members.

Classes

class  parameters
 the parameters for the class cornerDetector More...

Public Member Functions

 cornerDetector ()
 cornerDetector (const cornerDetector &other)
virtual ~cornerDetector ()
virtual const char * getTypeName () const
virtual bool apply (channel8 &srcdest) const
virtual bool apply (channel &srcdest) const
virtual bool apply (const channel8 &src, channel8 &dest) const
virtual bool apply (const channel &src, channel &dest) const
virtual bool apply (const channel8 &src, pointList &dest) const =0
virtual bool apply (const channel &src, pointList &dest) const =0
cornerDetectorcopy (const cornerDetector &other)
cornerDetectoroperator= (const cornerDetector &other)
virtual functorclone () const =0
const parametersgetParameters () const

Detailed Description

Parent class for all corner detectors.

A corner detector finds "corner" pixels, where the definition of corner depends on the algorithm used.

The most algorithms compute a "cornerness" value, and then select the local maxima.

The interface specify two ways to return the corner points. The first one generates an image with the same dimensions of the original one, with the values parameters::noCornerValue and parameters::cornerValue. (For the channel apply, these values are scaled by 255).


Constructor & Destructor Documentation

lti::cornerDetector::cornerDetector (  ) 

default constructor

lti::cornerDetector::cornerDetector ( const cornerDetector other  ) 

copy constructor

Parameters:
other the object to be copied
virtual lti::cornerDetector::~cornerDetector (  )  [virtual]

destructor


Member Function Documentation

virtual bool lti::cornerDetector::apply ( const channel src,
pointList dest 
) const [pure virtual]

operates on a copy of the given parameters.

Parameters:
src channel with the source data.
dest list of corners
Returns:
true if apply successful or false otherwise.

Implemented in lti::harrisCorners, and lti::susanCorners.

virtual bool lti::cornerDetector::apply ( const channel8 src,
pointList dest 
) const [pure virtual]

operates on a copy of the given parameters.

Parameters:
src channel8 with the source data.
dest list of corners
Returns:
true if apply successful or false otherwise.

Implemented in lti::harrisCorners, and lti::susanCorners.

virtual bool lti::cornerDetector::apply ( const channel src,
channel dest 
) const [virtual]

operates on a copy of the given parameters.

Parameters:
src channel with the source data.
dest channel where the result will be left.
Returns:
true if apply successful or false otherwise.

Reimplemented from lti::modifier.

Reimplemented in lti::harrisCorners, and lti::susanCorners.

virtual bool lti::cornerDetector::apply ( const channel8 src,
channel8 dest 
) const [virtual]

operates on a copy of the given parameters.

Parameters:
src channel8 with the source data.
dest channel8 where the result will be left.
Returns:
true if apply successful or false otherwise.

Reimplemented from lti::modifier.

Reimplemented in lti::harrisCorners, and lti::susanCorners.

virtual bool lti::cornerDetector::apply ( channel srcdest  )  const [virtual]

operates on the given parameter.

Parameters:
srcdest channel with the source data. The result will be left here too.
Returns:
true if apply successful or false otherwise.

Reimplemented from lti::modifier.

Reimplemented in lti::harrisCorners, and lti::susanCorners.

virtual bool lti::cornerDetector::apply ( channel8 srcdest  )  const [virtual]

operates on the given parameter.

Parameters:
srcdest channel8 with the source data. The result will be left here too.
Returns:
true if apply successful or false otherwise.

Reimplemented from lti::modifier.

Reimplemented in lti::harrisCorners, and lti::susanCorners.

virtual functor* lti::cornerDetector::clone (  )  const [pure virtual]

returns a pointer to a clone of this functor.

Implements lti::functor.

Implemented in lti::harrisCorners, and lti::susanCorners.

cornerDetector& lti::cornerDetector::copy ( const cornerDetector other  ) 

copy data of "other" functor.

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

Reimplemented from lti::functor.

Reimplemented in lti::harrisCorners, and lti::susanCorners.

const parameters& lti::cornerDetector::getParameters (  )  const

returns used parameters

Reimplemented from lti::modifier.

Reimplemented in lti::harrisCorners, and lti::susanCorners.

virtual const char* lti::cornerDetector::getTypeName (  )  const [virtual]

returns the name of this type ("cornerDetector")

Reimplemented from lti::modifier.

Reimplemented in lti::harrisCorners, and lti::susanCorners.

cornerDetector& lti::cornerDetector::operator= ( const cornerDetector other  ) 

alias for copy member

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

Reimplemented from lti::functor.

Reimplemented in lti::harrisCorners, and lti::susanCorners.


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

Generated on Sat Apr 10 15:27:10 2010 for LTI-Lib by Doxygen 1.6.1