| MSERCreate Method |
Creates MSER parameters
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static MSER Create(
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 Shared Function Create (
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
) As MSER
public:
static MSER^ Create(
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
)
static member Create :
?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
*)
-> MSER
Parameters
- delta (Optional)
- Type: SystemInt32
delta, 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 simliar 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
Return Value
Type:
MSER[Missing <returns> documentation for "M:OpenCvSharp.MSER.Create(System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Int32,System.Double,System.Double,System.Int32)"]
See Also