Calculates distance to closest zero pixel for all non-zero pixels of source image.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- src
- Type: OpenCvSharpCvArr
Source 8-bit single-channel (binary) image. - dst
- Type: OpenCvSharpCvArr
Output image with calculated distances (32-bit floating-point, single-channel).
See Also