Click or drag to resize

SuperpixelSLICEnforceLabelConnectivity Method

Enforce label connectivity. The function merge component that is too small, assigning the previously found adjacent label to this component.Calling this function may change the final number of superpixels.

Namespace:  OpenCvSharp.XImgProc
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public virtual void EnforceLabelConnectivity(
	int minElementSize = 20
)

Parameters

minElementSize (Optional)
Type: SystemInt32
The minimum element size in percents that should be absorbed into a bigger superpixel.Given resulted average superpixel size valid value should be in 0-100 range, 25 means that less then a quarter sized superpixel should be absorbed, this is default.
See Also