opencv on mbed

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

FeaturesFinder Class Reference

Feature finders base class. More...

#include <matchers.hpp>

Inherited by OrbFeaturesFinder, SurfFeaturesFinder, and SurfFeaturesFinderGpu.

Public Member Functions

void operator() (InputArray image, ImageFeatures &features)
void operator() (InputArray image, ImageFeatures &features, const std::vector< cv::Rect > &rois)
 Finds features in the given image.
virtual void collectGarbage ()
 Frees unused memory allocated before if there is any.

Protected Member Functions

virtual void find (InputArray image, ImageFeatures &features)=0
 This method must implement features finding logic in order to make the wrappers detail::FeaturesFinder::operator()_ work.

Detailed Description

Feature finders base class.

Definition at line 71 of file matchers.hpp.


Member Function Documentation

virtual void collectGarbage (  ) [virtual]

Frees unused memory allocated before if there is any.

Definition at line 87 of file matchers.hpp.

virtual void find ( InputArray  image,
ImageFeatures features 
) [protected, pure virtual]

This method must implement features finding logic in order to make the wrappers detail::FeaturesFinder::operator()_ work.

Parameters:
imageSource image
featuresFound features
See also:
detail::ImageFeatures
void operator() ( InputArray  image,
ImageFeatures features 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

void operator() ( InputArray  image,
ImageFeatures features,
const std::vector< cv::Rect > &  rois 
)

Finds features in the given image.

Parameters:
imageSource image
featuresFound features
roisRegions of interest
See also:
detail::ImageFeatures, Rect_