OpenCV for Unity 2.6.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.Xfeatures2dModule.TBMR Class Reference

Class implementing the Tree Based Morse Regions (TBMR) as described in [Najman2014] extended with scaled extraction ability. More...

Public Member Functions

float getMaxAreaRelative ()
 
int getMinArea ()
 
int getNScales ()
 
float getScaleFactor ()
 
void setMaxAreaRelative (float maxArea)
 
void setMinArea (int minArea)
 
void setNScales (int n_scales)
 
void setScaleFactor (float scale_factor)
 
- Public Member Functions inherited from OpenCVForUnity.Features2dModule.Feature2D
void compute (List< Mat > images, List< MatOfKeyPoint > keypoints, List< Mat > descriptors)
 
void compute (Mat image, MatOfKeyPoint keypoints, Mat descriptors)
 Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant).
 
int defaultNorm ()
 
int descriptorSize ()
 
int descriptorType ()
 
void detect (List< Mat > images, List< MatOfKeyPoint > keypoints)
 
void detect (List< Mat > images, List< MatOfKeyPoint > keypoints, List< Mat > masks)
 
void detect (Mat image, MatOfKeyPoint keypoints)
 Detects keypoints in an image (first variant) or image set (second variant).
 
void detect (Mat image, MatOfKeyPoint keypoints, Mat mask)
 Detects keypoints in an image (first variant) or image set (second variant).
 
void detectAndCompute (Mat image, Mat mask, MatOfKeyPoint keypoints, Mat descriptors)
 
void detectAndCompute (Mat image, Mat mask, MatOfKeyPoint keypoints, Mat descriptors, bool useProvidedKeypoints)
 
override bool empty ()
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
 
override string getDefaultName ()
 
void read (string fileName)
 
void write (string fileName)
 
- Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
virtual void clear ()
 Clears the algorithm state.
 
IntPtr getNativeObjAddr ()
 
void save (string filename)
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static new TBMR __fromPtr__ (IntPtr addr)
 
static TBMR create ()
 
static TBMR create (int min_area)
 
static TBMR create (int min_area, float max_area_relative)
 
static TBMR create (int min_area, float max_area_relative, float scale_factor)
 
static TBMR create (int min_area, float max_area_relative, float scale_factor, int n_scales)
 
- Static Public Member Functions inherited from OpenCVForUnity.Xfeatures2dModule.AffineFeature2D
static new AffineFeature2D __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.Features2dModule.Feature2D
static new Feature2D __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
static Algorithm __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.Xfeatures2dModule.AffineFeature2D
- Protected Member Functions inherited from OpenCVForUnity.Features2dModule.Feature2D
- Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- Package Functions inherited from OpenCVForUnity.Xfeatures2dModule.AffineFeature2D
- Package Functions inherited from OpenCVForUnity.Features2dModule.Feature2D
- Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm
- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

Class implementing the Tree Based Morse Regions (TBMR) as described in [Najman2014] extended with scaled extraction ability.

min_area prune areas smaller than minArea max_area_relative prune areas bigger than maxArea = max_area_relative * input_image_size scale_factor scale factor for scaled extraction. n_scales number of applications of the scale factor (octaves).

Note
This algorithm is based on Component Tree (Min/Max) as well as MSER but uses a Morse-theory approach to extract features.

Features are ellipses (similar to MSER, however a MSER feature can never be a TBMR feature and vice versa).

Member Function Documentation

◆ __fromPtr__()

static new TBMR OpenCVForUnity.Xfeatures2dModule.TBMR.__fromPtr__ ( IntPtr addr)
static

◆ create() [1/5]

static TBMR OpenCVForUnity.Xfeatures2dModule.TBMR.create ( )
static

◆ create() [2/5]

static TBMR OpenCVForUnity.Xfeatures2dModule.TBMR.create ( int min_area)
static

◆ create() [3/5]

static TBMR OpenCVForUnity.Xfeatures2dModule.TBMR.create ( int min_area,
float max_area_relative )
static

◆ create() [4/5]

static TBMR OpenCVForUnity.Xfeatures2dModule.TBMR.create ( int min_area,
float max_area_relative,
float scale_factor )
static

◆ create() [5/5]

static TBMR OpenCVForUnity.Xfeatures2dModule.TBMR.create ( int min_area,
float max_area_relative,
float scale_factor,
int n_scales )
static

◆ Dispose()

override void OpenCVForUnity.Xfeatures2dModule.TBMR.Dispose ( bool disposing)
protectedvirtual

◆ getMaxAreaRelative()

float OpenCVForUnity.Xfeatures2dModule.TBMR.getMaxAreaRelative ( )

◆ getMinArea()

int OpenCVForUnity.Xfeatures2dModule.TBMR.getMinArea ( )

◆ getNScales()

int OpenCVForUnity.Xfeatures2dModule.TBMR.getNScales ( )

◆ getScaleFactor()

float OpenCVForUnity.Xfeatures2dModule.TBMR.getScaleFactor ( )

◆ setMaxAreaRelative()

void OpenCVForUnity.Xfeatures2dModule.TBMR.setMaxAreaRelative ( float maxArea)

◆ setMinArea()

void OpenCVForUnity.Xfeatures2dModule.TBMR.setMinArea ( int minArea)

◆ setNScales()

void OpenCVForUnity.Xfeatures2dModule.TBMR.setNScales ( int n_scales)

◆ setScaleFactor()

void OpenCVForUnity.Xfeatures2dModule.TBMR.setScaleFactor ( float scale_factor)

The documentation for this class was generated from the following file: