Method Create
- Namespace
- OpenCvSharp.Hfs
- Assembly
- OpenCvSharp.dll
Create(int, int, float, int, float, int, float, int, int)
Creates a HfsSegment object.
public static HfsSegment Create(int height, int width, float segEgbThresholdI = 0.08, int minRegionSizeI = 100, float segEgbThresholdII = 0.28, int minRegionSizeII = 200, float spatialWeight = 0.6, int slicSpixelSize = 8, int numSlicIter = 5)
Parameters
heightintthe height of the input image.
widthintthe width of the input image.
segEgbThresholdIfloatparameter segEgbThresholdI.
minRegionSizeIintparameter minRegionSizeI.
segEgbThresholdIIfloatparameter segEgbThresholdII.
minRegionSizeIIintparameter minRegionSizeII.
spatialWeightfloatparameter spatialWeight.
slicSpixelSizeintparameter slicSpixelSize.
numSlicIterintparameter numSlicIter.