Gabriel Peyré’s Fast Marching Toolbox

11 vues (au cours des 30 derniers jours)
Mehmoona
Mehmoona le 22 Sep 2025
Commenté : dpb le 24 Sep 2025
Hello,
I am working with Gabriel Peyré’s Fast Marching Toolbox in MATLAB. The isotropic version of the toolbox compiles and runs fine after adjusting for mwSize compatibility (using -compatibleArrayDims). I can successfully run 2D, 3D, and mesh-based isotropic fast marching (perform_front_propagation_2d, perform_front_propagation_3d, perform_fast_marching_mesh).
However, when I try to use anisotropic fast marching, I get the following error:
Unrecognized function or variable 'perform_front_propagation_anisotropic'.
When I attempt to compile perform_front_propagation_anisotropic.cpp, MATLAB cannot find the required header:
fatal error: anisotropic-fm/AnisotropicTensorDistance.h: No such file or directory
So it seems my version of the toolbox is missing key anisotropic files (e.g., AnisotropicTensorDistance.h).

Réponse acceptée

dpb
dpb le 22 Sep 2025
It appears that if you go to the Version History tab and use the download link for the BSD license V 1.1.0.0 instead there are some additional files including that missing header file in the anisotropic folder.
I haven't done any further comparison other than I noticed that download is 6.1MB instead of 5.8 that the main page link and the V 1.2.0.0 version links are.
You'll have to figure out whether anything else is different or not, but that is at least a file of that name...
  8 commentaires
Mehmoona
Mehmoona le 24 Sep 2025 à 11:56
I have uncommented it and resolve all the errors in the .cpp and .h files and it is working for anisotropic.
dpb
dpb le 24 Sep 2025 à 12:01
Kewl. I'd suggest then if you are convinced it is correct to update the FEX submission. I don't know if it's possible to do so at the existing submission or not without Mathworks support.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming Utilities dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by