Table of Contents

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

float

MinArea

Prune areas smaller than this value.

public int MinArea { get; set; }

Property Value

int

NScales

Number of applications of the scale factor (octaves).

public int NScales { get; set; }

Property Value

int

ScaleFactor

Scale factor for scaled extraction.

public float ScaleFactor { get; set; }

Property Value

float

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

minArea int

Prune areas smaller than minArea.

maxAreaRelative float

Prune areas bigger than maxArea = maxAreaRelative * input_image_size.

scaleFactor float

Scale factor for scaled extraction.

nScales int

Number of applications of the scale factor (octaves).

Returns

TBMR