Distance transformation is an image processing technique used for many different applications. Related to a binary image, the general idea is to determine the distance of all background points to the nearest object point (or vice versa). In this tutorial, different approaches are explained in detail and compared using examples. Corresponding source code is provided to facilitate own investigations. A particular objective of this tutorial is to clarify the difference between arbitrary distance transforms and exact Euclidean distance transformations.
翻译:远程转换是一种用于许多不同应用的图像处理技术。 与二进制图像有关, 通常的想法是确定所有背景点与最接近对象点的距离( 或者反之亦然 ) 。 在这一教程中, 使用实例详细解释和比较了不同的方法。 提供对应源代码是为了方便自己的调查。 此教程的一个具体目标是澄清任意距离变换与精确的 Euclidean 距离变换之间的区别 。</s>