Abstract

Distance transform, a central operation in image and video analysis, involves finding the shortest path between feature and non-feature entries of a binary image. The process may be implemented using chamfer-based sequential algorithms that apply small-neighborhood masks to estimate the Euclidean metric. Success of these algorithms depends on the cost function used to optimize chamfer weights. And, for years, mean absolute error and mean squared error have been used for optimization. However, studies have revealed weaknesses of these cost functions—sensitivity against outliers, lack of symmetry, and biasedness—which limit their application. In this work, we have proposed a robust and a more accurate cost function, symmetric mean absolute percentage error, which attempts to address some weaknesses. The proposed function averages the absolute percentage errors in a set of measurements and offers interesting mathematical properties (smoothness, differentiability, boundedness, and robustness) that allow easy interpretation and analysis of the results. Numerical results show that chamfer masks designed under our optimization criterion generate lower errors. The present work has also proposed an automatic algorithm that converts coefficients of the designed real-valued masks into integers, which are preferable in most practical computing devices. Lastly, we have modified the chamfer algorithm to improve its speed and then embedded the proposed weights into the algorithm to compute distance maps of real images. Results show that the proposed algorithm is faster and uses fewer number of operations compared with those consumed by the classical chamfer algorithm. Our results may be useful in robotics to address the matching problem.

Highlights

  • 1 Introduction In computer vision and image processing fields, a distance transform (DT) refers to an operation that measures the degree of closeness between object and non-object features in a binary image

  • The Euclidean distance transform (EDT) possesses an isotropic nature, a desirable property required by sophisticated applications

  • We have proposed an alternative cost function, symmetric mean absolute percentage error (SMAPE), to design chamfer masks

Read more

Summary

Introduction

In computer vision and image processing fields, a distance transform (DT) refers to an operation that measures the degree of closeness between object and non-object features in a binary image. DTs are useful in various image analysis tasks, such as skeletonization, segmentation, shape description, object detection and recognition, multi-scale morphological filtering, and feature analysis [1, 2]. The Euclidean metric—a distance function that obeys four well-established axioms: non-negativity, symmetry, identity of indiscernibles, and subadditivity— has been used to compute DTs. The Euclidean distance transform (EDT) possesses an isotropic nature, a desirable property required by sophisticated applications. Implementation of EDT follows irregular patterns that limit the development processes. Certain simple applications only demand rough distance estimations, which can quickly be computed in linear times.

Methods
Results
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call