Click or drag to resize

MatDistanceTransform Method

Computes the distance transform map

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public Mat<float> DistanceTransform(
	DistanceTypes distanceType,
	DistanceMaskSize maskSize
)

Parameters

distanceType
Type: OpenCvSharpDistanceTypes

[Missing <param name="distanceType"/> documentation for "M:OpenCvSharp.Mat.DistanceTransform(OpenCvSharp.DistanceTypes,OpenCvSharp.DistanceMaskSize)"]

maskSize
Type: OpenCvSharpDistanceMaskSize

[Missing <param name="maskSize"/> documentation for "M:OpenCvSharp.Mat.DistanceTransform(OpenCvSharp.DistanceTypes,OpenCvSharp.DistanceMaskSize)"]

Return Value

Type: MatSingle

[Missing <returns> documentation for "M:OpenCvSharp.Mat.DistanceTransform(OpenCvSharp.DistanceTypes,OpenCvSharp.DistanceMaskSize)"]

See Also