aimsalgo  5.1.2
Neuroimaging image processing
aims::HarrisDetector< T, 2 > Class Template Reference

#include <aims/math/harris.h>

Inheritance diagram for aims::HarrisDetector< T, 2 >:
Collaboration diagram for aims::HarrisDetector< T, 2 >:

Public Member Functions

 HarrisDetector (const carto::rc_ptr< carto::Volume< T > > &image, double sigma=1.2, double k=0.6, double epsilon=1E-3, T levels=255)
 Constructor. More...
 
virtual void computeDerivatives ()
 Compute the 3 arrays Ix, Iy and Ixy. More...
 
virtual double harrisMeasure (const int x, const int y, const int z, const int t)
 Compute harris measure for a pixel. More...
 
virtual bool isSpatialMaxima (const int x, const int y, const int z, const int t)
 Return true if the measure at pixel (x,y) is a local spatial Maxima. More...
 
- Public Member Functions inherited from aims::BaseHarrisDetector< T >
 BaseHarrisDetector (const carto::rc_ptr< carto::Volume< T > > &image, const double sigma=1.2, const double k=0.6, const double epsilon=1E-3, const T levels=(T) 255)
 Constructor. More...
 
virtual double gaussian (const double x, const double y, const double z)
 Gaussian function. More...
 
virtual void computeHarrisMap ()
 Compute the Harris measure for each pixel of the image. More...
 
virtual void computeCorners ()
 Perfom the Harris Corner Detection. More...
 
virtual void filter (int minDistance)
 Filter detected corners. More...
 
carto::VolumeRef< double > harrisMap ()
 Get processed Harris map. More...
 
aims::BucketMap< Voidcorners ()
 Get detected corners. More...
 

Additional Inherited Members

- Protected Attributes inherited from aims::BaseHarrisDetector< T >
double _epsilon
 
double _k
 
double _sigma
 
double _sigma2
 
double _u
 
_levels
 
double _f
 
int _radius
 
int _window
 
carto::VolumeRef< T > _image
 
carto::VolumeRef< double > _g
 
carto::VolumeRef< double > _hmap
 
aims::BucketMap< double > _corners
 

Detailed Description

template<class T>
class aims::HarrisDetector< T, 2 >

Definition at line 158 of file harris.h.

Constructor & Destructor Documentation

◆ HarrisDetector()

template<class T >
aims::HarrisDetector< T, 2 >::HarrisDetector ( const carto::rc_ptr< carto::Volume< T > > &  image,
double  sigma = 1.2,
double  k = 0.6,
double  epsilon = 1E-3,
levels = 255 
)

Constructor.

Member Function Documentation

◆ computeDerivatives()

template<class T >
virtual void aims::HarrisDetector< T, 2 >::computeDerivatives ( )
virtual

Compute the 3 arrays Ix, Iy and Ixy.

Reimplemented from aims::BaseHarrisDetector< T >.

◆ harrisMeasure()

template<class T >
virtual double aims::HarrisDetector< T, 2 >::harrisMeasure ( const int  x,
const int  y,
const int  z,
const int  t 
)
virtual

Compute harris measure for a pixel.

Implements aims::BaseHarrisDetector< T >.

◆ isSpatialMaxima()

template<class T >
virtual bool aims::HarrisDetector< T, 2 >::isSpatialMaxima ( const int  x,
const int  y,
const int  z,
const int  t 
)
virtual

Return true if the measure at pixel (x,y) is a local spatial Maxima.

Implements aims::BaseHarrisDetector< T >.


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