http://www.emgu.com
Create a MSER detector using the specific parameters
Namespace: Emgu.CV.Features2DAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic MSERDetector(
int delta = 5,
int minArea = 60,
int maxArea = 14400,
double maxVariation = 0.25,
double minDiversity = 0.2,
int maxEvolution = 200,
double areaThreshold = 1.01,
double minMargin = 0.003,
int edgeBlurSize = 5
)
Public Sub New (
Optional delta As Integer = 5,
Optional minArea As Integer = 60,
Optional maxArea As Integer = 14400,
Optional maxVariation As Double = 0.25,
Optional minDiversity As Double = 0.2,
Optional maxEvolution As Integer = 200,
Optional areaThreshold As Double = 1.01,
Optional minMargin As Double = 0.003,
Optional edgeBlurSize As Integer = 5
)
public:
MSERDetector(
int delta = 5,
int minArea = 60,
int maxArea = 14400,
double maxVariation = 0.25,
double minDiversity = 0.2,
int maxEvolution = 200,
double areaThreshold = 1.01,
double minMargin = 0.003,
int edgeBlurSize = 5
)
new :
?delta : int *
?minArea : int *
?maxArea : int *
?maxVariation : float *
?minDiversity : float *
?maxEvolution : int *
?areaThreshold : float *
?minMargin : float *
?edgeBlurSize : int
(* Defaults:
let _delta = defaultArg delta 5
let _minArea = defaultArg minArea 60
let _maxArea = defaultArg maxArea 14400
let _maxVariation = defaultArg maxVariation 0.25
let _minDiversity = defaultArg minDiversity 0.2
let _maxEvolution = defaultArg maxEvolution 200
let _areaThreshold = defaultArg areaThreshold 1.01
let _minMargin = defaultArg minMargin 0.003
let _edgeBlurSize = defaultArg edgeBlurSize 5
*)
-> MSERDetector
Parameters
- delta (Optional)
- Type: SystemInt32
In the code, it compares (size_{i}-size_{i-delta})/size_{i-delta} - minArea (Optional)
- Type: SystemInt32
Prune the area which smaller than min_area - maxArea (Optional)
- Type: SystemInt32
Prune the area which bigger than max_area - maxVariation (Optional)
- Type: SystemDouble
Prune the area have similar size to its children - minDiversity (Optional)
- Type: SystemDouble
Trace back to cut off mser with diversity < min_diversity - maxEvolution (Optional)
- Type: SystemInt32
For color image, the evolution steps - areaThreshold (Optional)
- Type: SystemDouble
The area threshold to cause re-initialize - minMargin (Optional)
- Type: SystemDouble
Ignore too small margin - edgeBlurSize (Optional)
- Type: SystemInt32
The aperture size for edge blur
See Also