http://www.emgu.com
Create an Extremal Region Filter for the 1st stage classifier of N&M algorithm
Namespace:
Emgu.CV.Text
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic ERFilterNM1(
string classifierFileName,
int thresholdDelta = 1,
float minArea = 0.00025f,
float maxArea = 0.13f,
float minProbability = 0.4f,
bool nonMaxSuppression = true,
float minProbabilityDiff = 0.1f
)
Public Sub New (
classifierFileName As String,
Optional thresholdDelta As Integer = 1,
Optional minArea As Single = 0.00025F,
Optional maxArea As Single = 0.13F,
Optional minProbability As Single = 0.4F,
Optional nonMaxSuppression As Boolean = true,
Optional minProbabilityDiff As Single = 0.1F
)
public:
ERFilterNM1(
String^ classifierFileName,
int thresholdDelta = 1,
float minArea = 0.00025f,
float maxArea = 0.13f,
float minProbability = 0.4f,
bool nonMaxSuppression = true,
float minProbabilityDiff = 0.1f
)
new :
classifierFileName : string *
?thresholdDelta : int *
?minArea : float32 *
?maxArea : float32 *
?minProbability : float32 *
?nonMaxSuppression : bool *
?minProbabilityDiff : float32
(* Defaults:
let _thresholdDelta = defaultArg thresholdDelta 1
let _minArea = defaultArg minArea 0.00025f
let _maxArea = defaultArg maxArea 0.13f
let _minProbability = defaultArg minProbability 0.4f
let _nonMaxSuppression = defaultArg nonMaxSuppression true
let _minProbabilityDiff = defaultArg minProbabilityDiff 0.1f
*)
-> ERFilterNM1
Parameters
- classifierFileName
- Type: SystemString
The file name of the classifier - thresholdDelta (Optional)
- Type: SystemInt32
Threshold step in subsequent thresholds when extracting the component tree. - minArea (Optional)
- Type: SystemSingle
The minimum area (% of image size) allowed for retreived ER’s. - maxArea (Optional)
- Type: SystemSingle
The maximum area (% of image size) allowed for retreived ER’s. - minProbability (Optional)
- Type: SystemSingle
The minimum probability P(er|character) allowed for retreived ER’s. - nonMaxSuppression (Optional)
- Type: SystemBoolean
Whenever non-maximum suppression is done over the branch probabilities. - minProbabilityDiff (Optional)
- Type: SystemSingle
The minimum probability difference between local maxima and local minima ERs.
See Also