Distance transform

Uses your system voice; voice and rate in settings.

Q2940504Snapshot

≈ 4 min read

Names in other languages

  • EnglishDistance transform
  • FrançaisCarte de distances
  • العربيةتحويل مسافي
  • 日本語ユークリッド距離写像

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

A distance transform, also known as distance map or distance field, is a derived representation of a digital image. The choice of the term depends on the point of view on the object in question: whether the initial image is transformed into another representation, or it is simply endowed with an additional map or field. Distance fields can also be signed, in the case where it is important to distinguish whether the point is inside or outside of the shape. The map labels each pixel of the image with the distance to the nearest obstacle pixel. A most common type of obstacle pixel is a boundary pixel in a binary image. See the image for an example of a Chebyshev distance transform on a binary image. Usually the transform/map is qualified with the chosen metric. For example, one may speak of Manhattan distance transform, if the underlying metric is Manhattan distance. Common metrics are: * Euclidean distance * Taxicab geometry, also known as City block distance or Manhattan distance. * Chebyshev distance There are several algorithms to compute the distance transform for these different distance metrics, however the computation of the exact Euclidean distance transform (EEDT) needs special treatment if it is computed on the image grid.…

A distance transform, also known as distance map or distance field, is a derived representation of a digital image. The choice of the term depends on the point of view on the object in question: whether the initial image is transformed into another representation, or it is simply endowed with an additional map or field. Distance fields can also be signed, in the case where it is important to distinguish whether the point is inside or outside of the shape. The map labels each pixel of the image with the distance to the nearest obstacle pixel. A most common type of obstacle pixel is a boundary pixel in a binary image. See the image for an example of a Chebyshev distance transform on a binary image. Usually the transform/map is qualified with the chosen metric. For example, one may speak of Manhattan distance transform, if the underlying metric is Manhattan distance. Common metrics are: Euclidean distance Taxicab geometry, also known as City block distance or Manhattan distance. Chebyshev distance There are several algorithms to compute the distance transform for these different distance metrics, however the computation of the exact Euclidean distance transform (EEDT) needs special treatment if it is computed on the image grid. Applications are digital image processing (e.g., blurring effects, skeletonizing), motion planning in robotics, medical-image analysis for prenatal genetic testing, and even pathfinding. Uniformly-sampled signed distance fields have been used for GPU-accelerated font smoothing, for example by Valve researchers. Signed distance fields can also be used for (3D) solid modelling. Rendering on typical GPU hardware requires conversion to polygon meshes, e.g. by the marching cubes algorithm. ==See also== Signed distance function Function representation Parallel curve Level sets methods for distance computation. ==References==

Text derived from https://en.wikipedia.org/w/index.php?oldid=1330308298 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot distance-transform-342166-a0f91fb02065b8d0 · hash a0f91fb02065b8d0a0d26306403febf5a9d05e41ff546981c04c7e4313343553 · captured 1767114197.0 · version history

Cite this page as: encyclopegia.org, “Distance transform”, snapshot distance-transform-342166-a0f91fb02065b8d0. https://encyclopegia.org/a/distance-transform