Table of Contents

Method SetEdgeFeatureZeroCrossingParameters

Namespace
OpenCvSharp.Segmentation
Assembly
OpenCvSharp.dll

SetEdgeFeatureZeroCrossingParameters(float)

Switch to "Laplacian Zero-Crossing" edge feature extractor and specify its parameters

This feature extractor is used by default according to article.

Implementation has additional filtering for regions with low-amplitude noise. This filtering is enabled through parameter of minimal gradient amplitude (use some small value 4, 8, 16).

@note Current implementation of this feature extractor is based on processing of grayscale images (color image is converted to grayscale image first).

@note Canny edge detector is a bit slower, but provides better results (especially on color images): use setEdgeFeatureCannyParameters().

public IntelligentScissorsMB SetEdgeFeatureZeroCrossingParameters(float gradientMagnitudeMinValue = 0)

Parameters

gradientMagnitudeMinValue float

Minimal gradient magnitude value for edge pixels (default: 0, check is disabled)

Returns

IntelligentScissorsMB