Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
This is a simple MATLAB implementation of the generalized distance transform algorithm from the paper Distance Transforms of Sampled Functions by P. Felzenszwalb and D. Huttenlocher. The function DT() gives the distance transform of a 2D image by calling DT1() for each dimension. By using DT1(), this could be easily extended to higher dimensions. It seems to have problems with inf values, so for points in the image with "no" parabola centered there, they should instead be given a large numeric value (such as 1e10). I also modified the algorithm so that the second argument returns the power diagram of the input. The power diagram is a diagram where each point is assigned to the point that is closest to it with respect to the distance transform. If all input points have the same value, this function reduces to giving the standard distance transform and the Voronoi diagram.
Cita come
Ryan (2026). Generalized distance transform (https://it.mathworks.com/matlabcentral/fileexchange/31581-generalized-distance-transform), MATLAB Central File Exchange. Recuperato .
Informazioni generali
- Versione 1.0.0.0 (2,91 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
| Versione | Pubblicato | Note della release | Action |
|---|---|---|---|
| 1.0.0.0 |
