Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
DIFFUSION_DISTANCE calculate the diffusion distance between matrices
dist = diffusion_distance(im1, im2, [sig, dim], threshold, pad_type])
[dist, iter] = diffusion_distance(im1, im2) compute the diffusion distance
between im1 and im2 (histograms).
Optionally returns the number of iterations. This number will be limited by
the size of the histograms, and the threshold value, which can be set
manually, or will take the value 1e-4.
The padding method used by the filtering stages can be set using the 4th
argument, and defaults to circular. For available options, see help imfilter.
Reference:
Diffusion Distance for Histogram Comparison
Ling and Okada, Proc. CVPR, 2006
Example:
% Calculate the diffusion distance between two
% matrices of random integers.
a = round(10.*rand(10));
b = round(10.*rand(10));
dist = diffusion_distance(a, b);
Citar como
Matthew Foster (2026). Diffusion Distance (https://es.mathworks.com/matlabcentral/fileexchange/19839-diffusion-distance), MATLAB Central File Exchange. Recuperado .
Información general
- Versión 1.0.0.0 (1,71 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
| Versión | Publicado | Notas de la versión | Action |
|---|---|---|---|
| 1.0.0.0 |
