Package org.opencv.xfeatures2d
Class TBMR
- java.lang.Object
- 
- org.opencv.core.Algorithm
- 
- org.opencv.features2d.Feature2D
- 
- org.opencv.xfeatures2d.AffineFeature2D
- 
- org.opencv.xfeatures2d.TBMR
 
 
 
 
- 
 public class TBMR extends AffineFeature2D Class implementing the Tree Based Morse Regions (TBMR) as described in CITE: 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).
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedTBMR(long addr)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TBMR__fromPtr__(long addr)static TBMRcreate()static TBMRcreate(int min_area)static TBMRcreate(int min_area, float max_area_relative)static TBMRcreate(int min_area, float max_area_relative, float scale_factor)static TBMRcreate(int min_area, float max_area_relative, float scale_factor, int n_scales)protected voidfinalize()floatgetMaxAreaRelative()intgetMinArea()intgetNScales()floatgetScaleFactor()voidsetMaxAreaRelative(float maxArea)voidsetMinArea(int minArea)voidsetNScales(int n_scales)voidsetScaleFactor(float scale_factor)- 
Methods inherited from class org.opencv.features2d.Feature2Dcompute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detectAndCompute, detectAndCompute, empty, getDefaultName, read, write
 - 
Methods inherited from class org.opencv.core.Algorithmclear, getNativeObjAddr, save
 
- 
 
- 
- 
- 
Method Detail- 
__fromPtr__public static TBMR __fromPtr__(long addr) 
 - 
createpublic static TBMR create(int min_area, float max_area_relative, float scale_factor, int n_scales) 
 - 
createpublic static TBMR create(int min_area, float max_area_relative, float scale_factor) 
 - 
createpublic static TBMR create(int min_area, float max_area_relative) 
 - 
createpublic static TBMR create(int min_area) 
 - 
createpublic static TBMR create() 
 - 
setMinAreapublic void setMinArea(int minArea) 
 - 
getMinAreapublic int getMinArea() 
 - 
setMaxAreaRelativepublic void setMaxAreaRelative(float maxArea) 
 - 
getMaxAreaRelativepublic float getMaxAreaRelative() 
 - 
setScaleFactorpublic void setScaleFactor(float scale_factor) 
 - 
getScaleFactorpublic float getScaleFactor() 
 - 
setNScalespublic void setNScales(int n_scales) 
 - 
getNScalespublic int getNScales() 
 - 
finalizeprotected void finalize() throws java.lang.Throwable- Overrides:
- finalizein class- AffineFeature2D
- Throws:
- java.lang.Throwable
 
 
- 
 
-