ClusterFilter Class Reference

A clustering-based filter for extracted keypoints. More...

#include <KeypointFilter.h>

Inheritance diagram for ClusterFilter:
KeypointFilter

List of all members.

Public Member Functions

 ClusterFilter ()
bool IsLoaded () const
bool LoadFilter (int size=0)
void FilterDescriptors (const vector< cv::KeyPoint > &keyps, const cv::Mat &descs)

Protected Attributes

cv::Mat * codebook

Detailed Description

A clustering-based filter for extracted keypoints.


Constructor & Destructor Documentation

ClusterFilter::ClusterFilter (  )  [inline]

Constructor.


Member Function Documentation

void ClusterFilter::FilterDescriptors ( const vector< cv::KeyPoint > &  keyps,
const cv::Mat &  descs 
) [virtual]

Filters the descriptors in ObjectDetection.imageDescriptors using codebook and threshold.

Note that ObjectDetection.imageDescriptors is not changed, but rather the results are stored at keypoint_ok.

Implements KeypointFilter.

bool ClusterFilter::IsLoaded (  )  const [inline, virtual]

Whether the filter is loaded and ready to be used.

Implements KeypointFilter.

bool ClusterFilter::LoadFilter ( int  size = 0  )  [virtual]

Loads the filter clusters into codebook from file name.

Implements KeypointFilter.


Member Data Documentation

cv::Mat* ClusterFilter::codebook [protected]

The codebook used in filtering as matrix.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Defines

Generated on 16 Jan 2014 for ObjectDetection by  doxygen 1.6.1