#include <track.h>
Inheritance diagram for fl::KLT:

Public Methods | |
| KLT (int windowRadius=3, int searchRadius=15) | |
| virtual void | nextImage (const Image &image) |
| Push the current image back to the "previous" position, and make the given image the "current" image. | |
| virtual void | track (Point &point) |
| float | track (const Point &point0, const int level, Point &point1) |
| Subroutine of track(). | |
Public Attributes | |
| std::vector< ImageOf< float > > | pyramid0 |
| "previous" image. First entry is full sized image, and each subsequent entry is downsampled by 2. | |
| std::vector< ImageOf< float > > | pyramid1 |
| "current" image. Same structure as pyramid0 | |
| Gaussian1D | preBlur |
| For blurring full image at base of pyramid. Purpose is to ensure smooth texture within search window. | |
| float | pyramidRatio |
| Ratio between number of pixels in adjacent levels of pyramid. | |
| int | windowRadius |
| Number of pixels from center to edge of search window. | |
| int | windowWidth |
| Diameter of search window. | |
| float | minDeterminant |
| Smallest allowable determinant of second moment matrix. | |
| float | minDisplacement |
| Convergence threshold on change in location. | |
| int | maxIterations |
| To quit iterating even without convergence. | |
| float | maxError |
| Largest allowable root mean squared error of pixel intensity within the window. Note that intensity is in the range [0,1]. | |
|
||||||||||||
|
|
|
|
Push the current image back to the "previous" position, and make the given image the "current" image.
Implements fl::PointTracker. |
|
||||||||||||||||
|
Subroutine of track().
|
|
|
Implements fl::PointTracker. |
|
|
Largest allowable root mean squared error of pixel intensity within the window. Note that intensity is in the range [0,1].
|
|
|
To quit iterating even without convergence.
|
|
|
Smallest allowable determinant of second moment matrix.
|
|
|
Convergence threshold on change in location.
|
|
|
For blurring full image at base of pyramid. Purpose is to ensure smooth texture within search window.
|
|
|
"previous" image. First entry is full sized image, and each subsequent entry is downsampled by 2.
|
|
|
"current" image. Same structure as pyramid0
|
|
|
Ratio between number of pixels in adjacent levels of pyramid.
|
|
|
Number of pixels from center to edge of search window.
|
|
|
Diameter of search window.
|
1.2.18