A random filter for extracted keypoints. Intended as a benchmark. More...
#include <KeypointFilter.h>
Public Member Functions | |
RandomFilter () | |
bool | IsLoaded () const |
bool | LoadFilter (int size=0) |
void | FilterDescriptors (const vector< cv::KeyPoint > &keyps, const cv::Mat &descs) |
A random filter for extracted keypoints. Intended as a benchmark.
RandomFilter::RandomFilter | ( | ) | [inline] |
Constructor.
void RandomFilter::FilterDescriptors | ( | const vector< cv::KeyPoint > & | keyps, | |
const cv::Mat & | descs | |||
) | [virtual] |
Filters the descriptors in ObjectDetection.imageDescriptors using the random number generator.
Note that ObjectDetection.imageDescriptors is not changed, but rather the results are stored at keypoint_ok.
Implements KeypointFilter.
bool RandomFilter::IsLoaded | ( | ) | const [inline, virtual] |
The random filter is always loaded and ready to be used.
Implements KeypointFilter.
bool RandomFilter::LoadFilter | ( | int | size = 0 |
) | [virtual] |
The random filter is always loaded and ready to be used.
Implements KeypointFilter.