Table of Contents

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

height int

the height of the input image.

width int

the width of the input image.

segEgbThresholdI float

parameter segEgbThresholdI.

minRegionSizeI int

parameter minRegionSizeI.

segEgbThresholdII float

parameter segEgbThresholdII.

minRegionSizeII int

parameter minRegionSizeII.

spatialWeight float

parameter spatialWeight.

slicSpixelSize int

parameter slicSpixelSize.

numSlicIter int

parameter numSlicIter.

Returns

HfsSegment