http://www.emgu.com
Create a hfs object
Namespace:
Emgu.CV.Hfs
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic HfsSegment(
int height,
int width,
float segEgbThresholdI = 0.08f,
int minRegionSizeI = 100,
float segEgbThresholdII = 0.28f,
int minRegionSizeII = 200,
float spatialWeight = 0.6f,
int slicSpixelSize = 8,
int numSlicIter = 5
)
Public Sub New (
height As Integer,
width As Integer,
Optional segEgbThresholdI As Single = 0.08F,
Optional minRegionSizeI As Integer = 100,
Optional segEgbThresholdII As Single = 0.28F,
Optional minRegionSizeII As Integer = 200,
Optional spatialWeight As Single = 0.6F,
Optional slicSpixelSize As Integer = 8,
Optional numSlicIter As Integer = 5
)
public:
HfsSegment(
int height,
int width,
float segEgbThresholdI = 0.08f,
int minRegionSizeI = 100,
float segEgbThresholdII = 0.28f,
int minRegionSizeII = 200,
float spatialWeight = 0.6f,
int slicSpixelSize = 8,
int numSlicIter = 5
)
new :
height : int *
width : int *
?segEgbThresholdI : float32 *
?minRegionSizeI : int *
?segEgbThresholdII : float32 *
?minRegionSizeII : int *
?spatialWeight : float32 *
?slicSpixelSize : int *
?numSlicIter : int
(* Defaults:
let _segEgbThresholdI = defaultArg segEgbThresholdI 0.08f
let _minRegionSizeI = defaultArg minRegionSizeI 100
let _segEgbThresholdII = defaultArg segEgbThresholdII 0.28f
let _minRegionSizeII = defaultArg minRegionSizeII 200
let _spatialWeight = defaultArg spatialWeight 0.6f
let _slicSpixelSize = defaultArg slicSpixelSize 8
let _numSlicIter = defaultArg numSlicIter 5
*)
-> HfsSegment
Parameters
- height
- Type: SystemInt32
The height of the input image - width
- Type: SystemInt32
The width of the input image - segEgbThresholdI (Optional)
- Type: SystemSingle
segEgbThresholdI - minRegionSizeI (Optional)
- Type: SystemInt32
minRegionSizeI - segEgbThresholdII (Optional)
- Type: SystemSingle
segEgbThresholdII - minRegionSizeII (Optional)
- Type: SystemInt32
minRegionSizeII - spatialWeight (Optional)
- Type: SystemSingle
spatialWeight - slicSpixelSize (Optional)
- Type: SystemInt32
slicSpixelSize - numSlicIter (Optional)
- Type: SystemInt32
numSlicIter
See Also