OpenCV for Unity  2.6.3
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.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OpenCVForUnity.Xfeatures2dModule.TBMR Class Reference

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

Inheritance diagram for OpenCVForUnity.Xfeatures2dModule.TBMR:
OpenCVForUnity.Xfeatures2dModule.AffineFeature2D OpenCVForUnity.Features2dModule.Feature2D OpenCVForUnity.CoreModule.Algorithm OpenCVForUnity.DisposableOpenCVObject OpenCVForUnity.DisposableObject

Public Member Functions

void setMinArea (int minArea)
 
int getMinArea ()
 
void setMaxAreaRelative (float maxArea)
 
float getMaxAreaRelative ()
 
void setScaleFactor (float scale_factor)
 
float getScaleFactor ()
 
void setNScales (int n_scales)
 
int getNScales ()
 
- Public Member Functions inherited from OpenCVForUnity.Features2dModule.Feature2D
void detect (Mat image, MatOfKeyPoint keypoints, Mat mask)
 Detects keypoints in an image (first variant) or image set (second variant). More...
 
void detect (Mat image, MatOfKeyPoint keypoints)
 Detects keypoints in an image (first variant) or image set (second variant). More...
 
void detect (List< Mat > images, List< MatOfKeyPoint > keypoints, List< Mat > masks)
 
void detect (List< Mat > images, List< MatOfKeyPoint > keypoints)
 
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). More...
 
void compute (List< Mat > images, List< MatOfKeyPoint > keypoints, List< Mat > descriptors)
 
void detectAndCompute (Mat image, Mat mask, MatOfKeyPoint keypoints, Mat descriptors, bool useProvidedKeypoints)
 
void detectAndCompute (Mat image, Mat mask, MatOfKeyPoint keypoints, Mat descriptors)
 
int descriptorSize ()
 
int descriptorType ()
 
int defaultNorm ()
 
void write (string fileName)
 
void read (string fileName)
 
override bool empty ()
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More...
 
override string getDefaultName ()
 
- Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
IntPtr getNativeObjAddr ()
 
virtual void clear ()
 Clears the algorithm state. More...
 
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 (int min_area, float max_area_relative, float scale_factor, int n_scales)
 
static TBMR create (int min_area, float max_area_relative, float scale_factor)
 
static TBMR create (int min_area, float max_area_relative)
 
static TBMR create (int min_area)
 
static TBMR create ()
 
- 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.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- 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 ( int  min_area,
float  max_area_relative,
float  scale_factor,
int  n_scales 
)
static

◆ create() [2/5]

static TBMR OpenCVForUnity.Xfeatures2dModule.TBMR.create ( int  min_area,
float  max_area_relative,
float  scale_factor 
)
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)
static

◆ create() [5/5]

static TBMR OpenCVForUnity.Xfeatures2dModule.TBMR.create ( )
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: