Cv2DistanceTransform Method OpenCvSharp Class Library
computes the distance transform map

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

public static void DistanceTransform(
	InputArray src,
	OutputArray dst,
	DistanceType distanceType,
	DistanceMaskSize maskSize
)

Parameters

src
Type: OpenCvSharp.CPlusPlusInputArray

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

dst
Type: OpenCvSharp.CPlusPlusOutputArray

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

distanceType
Type: OpenCvSharpDistanceType

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

maskSize
Type: OpenCvSharp.CPlusPlusDistanceMaskSize

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

See Also

Reference