Class TBMR
- Namespace
- OpenCvSharp.XFeatures2D
- Assembly
- OpenCvSharp.dll
Class implementing the Tree Based Morse Regions (TBMR) detector, extended with scaled extraction ability. Extends AffineFeature2D (mirroring cv::xfeatures2d::TBMR : AffineFeature2D), so DetectElliptic/DetectAndComputeElliptic are available in addition to the plain Feature2D API.
public class TBMR : AffineFeature2D, IDisposable
- Inheritance
-
TBMR
- Implements
- Inherited Members
Properties
MaxAreaRelative
Prune areas bigger than maxArea = MaxAreaRelative * input_image_size.
public float MaxAreaRelative { get; set; }
Property Value
MinArea
Prune areas smaller than this value.
public int MinArea { get; set; }
Property Value
NScales
Number of applications of the scale factor (octaves).
public int NScales { get; set; }
Property Value
ScaleFactor
Scale factor for scaled extraction.
public float ScaleFactor { get; set; }
Property Value
Methods
Create(int, float, float, int)
Creates the TBMR detector.
public static TBMR Create(int minArea = 60, float maxAreaRelative = 0.01, float scaleFactor = 1.25, int nScales = -1)
Parameters
minAreaintPrune areas smaller than minArea.
maxAreaRelativefloatPrune areas bigger than maxArea = maxAreaRelative * input_image_size.
scaleFactorfloatScale factor for scaled extraction.
nScalesintNumber of applications of the scale factor (octaves).