#include <convolve.h>
Inheritance diagram for fl::FilterHarris:

Public Methods | |
| FilterHarris (double sigmaD=1.0, double sigmaI=1.4, const PixelFormat &format=GrayFloat) | |
| virtual Image | filter (const Image &image) |
| Relies on preprocess, process, and response to do all the work. | |
| virtual void | preprocess (const Image &image) |
| Extracts the square gradient matrices from the image. Stores in xx, xy, and yy. | |
| virtual Image | process () |
| Collects responses into an Image. | |
| virtual double | response (int x, int y) const |
| Returns Harris function value (of mose recently filtered image) at (x,y). The location uses the same coordinates as the result of filter(). Uses squareGradient(). | |
| virtual void | gradientSquared (int x, int y, Matrix< double > &result) const |
| Finds the autocorrelation matrix (of the most recently filtered image) at (x,y). The location uses the same coordinates as the result of filter(). | |
Public Attributes | |
| double | sigmaD |
| Derivation scale. | |
| double | sigmaI |
| Integration scale. | |
| Gaussian2D | G_I |
| Gaussian for integration. | |
| Gaussian1D | G1_I |
| seperated Gaussian for integration | |
| Gaussian1D | G1_D |
| seperated Gaussian for derivation (blurring pass) | |
| GaussianDerivative1D | dG_D |
| seperated Gaussian for derivation | |
| Image | xx |
| Components of the autocorrelation matrix. | |
| Image | xy |
| These are built by preprocess (). | |
| Image | yy |
| int | offset |
| Total amount of one image border removed. | |
| int | offsetI |
| Border removed by integration. | |
| int | offsetD |
| Border removed by differentiation. | |
Static Public Attributes | |
| const double | alpha = 0.06 |
Protected Attributes | |
| int | offset1 |
| int | offset2 |
|
||||||||||||||||
|
|
|
|
Relies on preprocess, process, and response to do all the work.
Implements fl::Filter. |
|
||||||||||||||||
|
Finds the autocorrelation matrix (of the most recently filtered image) at (x,y). The location uses the same coordinates as the result of filter().
|
|
|
Extracts the square gradient matrices from the image. Stores in xx, xy, and yy.
|
|
|
Collects responses into an Image.
Reimplemented in fl::FilterHarrisEigen. |
|
||||||||||||
|
Returns Harris function value (of mose recently filtered image) at (x,y). The location uses the same coordinates as the result of filter(). Uses squareGradient().
Reimplemented in fl::FilterHarrisEigen. |
|
|
|
|
|
seperated Gaussian for derivation
|
|
|
seperated Gaussian for derivation (blurring pass)
|
|
|
seperated Gaussian for integration
|
|
|
Gaussian for integration.
|
|
|
Total amount of one image border removed.
|
|
|
If the blurring part of the separable Gaussian derivative kernel has a larger radius, then the difference in pixels is stored in offset1. If the derivative part has a larger radius, then the difference is kept in offset2. These help align the x and y derivative images correctly. |
|
|
|
|
|
Border removed by differentiation.
|
|
|
Border removed by integration.
|
|
|
Derivation scale.
|
|
|
Integration scale.
|
|
|
Components of the autocorrelation matrix.
|
|
|
These are built by preprocess ().
|
|
|
|
1.2.18