Renesas / opencv-lib

Dependents:   RZ_A2M_Mbed_samples

Embed: (wiki syntax)

« Back to documentation index

FeaturesFinder Class Reference

Feature finders base class. More...

#include <matchers.hpp>

Inherited by AKAZEFeaturesFinder, 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.
void operator() (InputArrayOfArrays images, std::vector< ImageFeatures > &features, const std::vector< std::vector< cv::Rect > > &rois)
 Finds features in the given images in parallel.
void operator() (InputArrayOfArrays images, std::vector< ImageFeatures > &features)
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.
bool isThreadSafe () const
 uses dynamic_cast to determine thread-safety

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 99 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
bool isThreadSafe (  ) const [protected]

uses dynamic_cast to determine thread-safety

Returns:
True, if it's possible to use the same finder instance in parallel, false otherwise
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_
void operator() ( InputArrayOfArrays  images,
std::vector< 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() ( InputArrayOfArrays  images,
std::vector< ImageFeatures > &  features,
const std::vector< std::vector< cv::Rect > > &  rois 
)

Finds features in the given images in parallel.

Parameters:
imagesSource images
featuresFound features for each image
roisRegions of interest for each image
See also:
detail::ImageFeatures, Rect_
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.