Class cv::xfeatures2d::TBMR#
Class implementing the Tree Based Morse Regions (TBMR) as described in [344] extended with scaled extraction ability. View details
#include <opencv2/xfeatures2d.hpp>Collaboration diagram for cv::xfeatures2d::TBMR:
Public Member Functions#
Public Member Functions inherited from cv::xfeatures2d::AffineFeature2D
Return |
Name |
Description |
|---|---|---|
|
Detects keypoints in the image using the wrapped detector and performs affine adaptation to augment them with their elliptic regions. |
|
|
|
Detects keypoints in an image (first variant) or image set (second variant). |
|
||
|
Detects keypoints and computes descriptors for their surrounding regions, after warping them into circles. |
|
|
Public Member Functions inherited from cv::Feature2D
Return |
Name |
Description |
|---|---|---|
|
|
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). |
|
||
|
||
|
||
|
||
|
|
Detects keypoints in an image (first variant) or image set (second variant). |
|
||
|
||
|
Return true if detector object is empty. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
||
|
Stores algorithm parameters in a file storage. |
|
|
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::xfeatures2d::AffineFeature2D
Return |
Name |
Description |
|---|---|---|
|
Creates an instance where keypoint detector and descriptor extractor are identical. |
|
|
|
Creates an instance wrapping the given keypoint detector and descriptor extractor. |
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Detailed Description#
Class implementing the Tree Based Morse Regions (TBMR) as described in Najman2014 extended with scaled extraction ability.
Features are ellipses (similar to MSER, however a MSER feature can never be a TBMR feature and vice versa).
Note
This algorithm is based on Component Tree (Min/Max) as well as MSER but uses a Morse-theory approach to extract features.
- Param min_area:
prune areas smaller than minArea
- Param max_area_relative:
prune areas bigger than maxArea = max_area_relative * input_image_size
- Param scale_factor:
scale factor for scaled extraction.
- Param n_scales:
number of applications of the scale factor (octaves).
Member Function Documentation#
create()#
static Ptr< TBMR > cv::xfeatures2d::TBMR::create(
int min_area = 60,
float max_area_relative = 0.01f,
float scale_factor = 1.25f,
int n_scales = -1 )
getDefaultName()#
String cv::xfeatures2d::TBMR::getDefaultName()
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
getMaxAreaRelative()#
float cv::xfeatures2d::TBMR::getMaxAreaRelative()
getMinArea()#
int cv::xfeatures2d::TBMR::getMinArea()
getNScales()#
int cv::xfeatures2d::TBMR::getNScales()
getScaleFactor()#
float cv::xfeatures2d::TBMR::getScaleFactor()
setMaxAreaRelative()#
void cv::xfeatures2d::TBMR::setMaxAreaRelative(float maxArea)
setMinArea()#
void cv::xfeatures2d::TBMR::setMinArea(int minArea)
setNScales()#
void cv::xfeatures2d::TBMR::setNScales(int n_scales)
setScaleFactor()#
void cv::xfeatures2d::TBMR::setScaleFactor(float scale_factor)
Source file#
The documentation for this class was generated from the following file:
opencv2/xfeatures2d.hpp