public class MSER extends Feature2D
Modifier | Constructor and Description |
---|---|
protected |
MSER(long addr) |
Modifier and Type | Method and Description |
---|---|
static MSER |
__fromPtr__(long addr) |
static MSER |
create()
Full consturctor for %MSER detector
|
static MSER |
create(int _delta)
Full consturctor for %MSER detector
|
static MSER |
create(int _delta,
int _min_area)
Full consturctor for %MSER detector
|
static MSER |
create(int _delta,
int _min_area,
int _max_area)
Full consturctor for %MSER detector
|
static MSER |
create(int _delta,
int _min_area,
int _max_area,
double _max_variation)
Full consturctor for %MSER detector
|
static MSER |
create(int _delta,
int _min_area,
int _max_area,
double _max_variation,
double _min_diversity)
Full consturctor for %MSER detector
|
static MSER |
create(int _delta,
int _min_area,
int _max_area,
double _max_variation,
double _min_diversity,
int _max_evolution)
Full consturctor for %MSER detector
|
static MSER |
create(int _delta,
int _min_area,
int _max_area,
double _max_variation,
double _min_diversity,
int _max_evolution,
double _area_threshold)
Full consturctor for %MSER detector
|
static MSER |
create(int _delta,
int _min_area,
int _max_area,
double _max_variation,
double _min_diversity,
int _max_evolution,
double _area_threshold,
double _min_margin)
Full consturctor for %MSER detector
|
static MSER |
create(int _delta,
int _min_area,
int _max_area,
double _max_variation,
double _min_diversity,
int _max_evolution,
double _area_threshold,
double _min_margin,
int _edge_blur_size)
Full consturctor for %MSER detector
|
void |
detectRegions(Mat image,
List<MatOfPoint> msers,
MatOfRect bboxes)
Detect %MSER regions
|
protected void |
finalize() |
String |
getDefaultName()
Returns the algorithm string identifier.
|
int |
getDelta() |
int |
getMaxArea() |
int |
getMinArea() |
boolean |
getPass2Only() |
void |
setDelta(int delta) |
void |
setMaxArea(int maxArea) |
void |
setMinArea(int minArea) |
void |
setPass2Only(boolean f) |
compute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detectAndCompute, detectAndCompute, empty, read, write
clear, getNativeObjAddr, save
public static MSER __fromPtr__(long addr)
public static MSER create(int _delta, int _min_area, int _max_area, double _max_variation, double _min_diversity, int _max_evolution, double _area_threshold, double _min_margin, int _edge_blur_size)
_delta
- it compares \((size_{i}-size_{i-delta})/size_{i-delta}\)_min_area
- prune the area which smaller than minArea_max_area
- prune the area which bigger than maxArea_max_variation
- prune the area have similar size to its children_min_diversity
- for color image, trace back to cut off mser with diversity less than min_diversity_max_evolution
- for color image, the evolution steps_area_threshold
- for color image, the area threshold to cause re-initialize_min_margin
- for color image, ignore too small margin_edge_blur_size
- for color image, the aperture size for edge blurpublic static MSER create(int _delta, int _min_area, int _max_area, double _max_variation, double _min_diversity, int _max_evolution, double _area_threshold, double _min_margin)
_delta
- it compares \((size_{i}-size_{i-delta})/size_{i-delta}\)_min_area
- prune the area which smaller than minArea_max_area
- prune the area which bigger than maxArea_max_variation
- prune the area have similar size to its children_min_diversity
- for color image, trace back to cut off mser with diversity less than min_diversity_max_evolution
- for color image, the evolution steps_area_threshold
- for color image, the area threshold to cause re-initialize_min_margin
- for color image, ignore too small marginpublic static MSER create(int _delta, int _min_area, int _max_area, double _max_variation, double _min_diversity, int _max_evolution, double _area_threshold)
_delta
- it compares \((size_{i}-size_{i-delta})/size_{i-delta}\)_min_area
- prune the area which smaller than minArea_max_area
- prune the area which bigger than maxArea_max_variation
- prune the area have similar size to its children_min_diversity
- for color image, trace back to cut off mser with diversity less than min_diversity_max_evolution
- for color image, the evolution steps_area_threshold
- for color image, the area threshold to cause re-initializepublic static MSER create(int _delta, int _min_area, int _max_area, double _max_variation, double _min_diversity, int _max_evolution)
_delta
- it compares \((size_{i}-size_{i-delta})/size_{i-delta}\)_min_area
- prune the area which smaller than minArea_max_area
- prune the area which bigger than maxArea_max_variation
- prune the area have similar size to its children_min_diversity
- for color image, trace back to cut off mser with diversity less than min_diversity_max_evolution
- for color image, the evolution stepspublic static MSER create(int _delta, int _min_area, int _max_area, double _max_variation, double _min_diversity)
_delta
- it compares \((size_{i}-size_{i-delta})/size_{i-delta}\)_min_area
- prune the area which smaller than minArea_max_area
- prune the area which bigger than maxArea_max_variation
- prune the area have similar size to its children_min_diversity
- for color image, trace back to cut off mser with diversity less than min_diversitypublic static MSER create(int _delta, int _min_area, int _max_area, double _max_variation)
_delta
- it compares \((size_{i}-size_{i-delta})/size_{i-delta}\)_min_area
- prune the area which smaller than minArea_max_area
- prune the area which bigger than maxArea_max_variation
- prune the area have similar size to its childrenpublic static MSER create(int _delta, int _min_area, int _max_area)
_delta
- it compares \((size_{i}-size_{i-delta})/size_{i-delta}\)_min_area
- prune the area which smaller than minArea_max_area
- prune the area which bigger than maxAreapublic static MSER create(int _delta, int _min_area)
_delta
- it compares \((size_{i}-size_{i-delta})/size_{i-delta}\)_min_area
- prune the area which smaller than minAreapublic static MSER create(int _delta)
_delta
- it compares \((size_{i}-size_{i-delta})/size_{i-delta}\)public static MSER create()
public String getDefaultName()
Algorithm
getDefaultName
in class Feature2D
public boolean getPass2Only()
public int getDelta()
public int getMaxArea()
public int getMinArea()
public void detectRegions(Mat image, List<MatOfPoint> msers, MatOfRect bboxes)
image
- input image (8UC1, 8UC3 or 8UC4, must be greater or equal than 3x3)msers
- resulting list of point setsbboxes
- resulting bounding boxespublic void setDelta(int delta)
public void setMaxArea(int maxArea)
public void setMinArea(int minArea)
public void setPass2Only(boolean f)
Generated on Wed Oct 9 2019 23:24:43 UTC / OpenCV 4.1.2