TBMR (OpenCV 4.13.0 Java documentation)
Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
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 AffineFeature2DClass 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). 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).