Description Usage Arguments Details Value Author(s) References Examples
Computes the distance map transform of a binary image. The distance map is a matrix which contains for each pixel the distance to its nearest background pixel.
1 |
x |
An |
metric |
A character indicating which metric to use, L1 distance ( |
A fast algorithm of complexity O(M*N*log(max(M,N))), where (M,N) are the
dimensions of x, is used to compute the distance map.
An Image object or an array, with pixels
containing the distances to the nearest background points.
Gregoire Pau, gpau@ebi.ac.uk, 2008
M. N. Kolountzakis, K. N. Kutulakos. Fast Computation of the Euclidean Distance Map for Binary Images, Infor. Proc. Letters 43 (1992).
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.