Cv2DistanceTransformWithLabels Method OpenCvSharp Class Library
builds the discrete Voronoi diagram

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void DistanceTransformWithLabels(
	InputArray src,
	OutputArray dst,
	OutputArray labels,
	DistanceType distanceType,
	DistanceMaskSize maskSize,
	DistTransformLabelType labelType = DistTransformLabelType.CComp
)

Parameters

src
Type: OpenCvSharp.CPlusPlusInputArray

[Missing <param name="src"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.DistanceTransformWithLabels(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.DistanceType,OpenCvSharp.CPlusPlus.DistanceMaskSize,OpenCvSharp.DistTransformLabelType)"]

dst
Type: OpenCvSharp.CPlusPlusOutputArray

[Missing <param name="dst"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.DistanceTransformWithLabels(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.DistanceType,OpenCvSharp.CPlusPlus.DistanceMaskSize,OpenCvSharp.DistTransformLabelType)"]

labels
Type: OpenCvSharp.CPlusPlusOutputArray

[Missing <param name="labels"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.DistanceTransformWithLabels(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.DistanceType,OpenCvSharp.CPlusPlus.DistanceMaskSize,OpenCvSharp.DistTransformLabelType)"]

distanceType
Type: OpenCvSharpDistanceType

[Missing <param name="distanceType"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.DistanceTransformWithLabels(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.DistanceType,OpenCvSharp.CPlusPlus.DistanceMaskSize,OpenCvSharp.DistTransformLabelType)"]

maskSize
Type: OpenCvSharp.CPlusPlusDistanceMaskSize

[Missing <param name="maskSize"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.DistanceTransformWithLabels(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.DistanceType,OpenCvSharp.CPlusPlus.DistanceMaskSize,OpenCvSharp.DistTransformLabelType)"]

labelType (Optional)
Type: OpenCvSharpDistTransformLabelType

[Missing <param name="labelType"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.DistanceTransformWithLabels(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.DistanceType,OpenCvSharp.CPlusPlus.DistanceMaskSize,OpenCvSharp.DistTransformLabelType)"]

See Also

Reference