Gabriel Peyré’s Fast Marching Toolbox

10 views (last 30 days)
Mehmoona
Mehmoona on 22 Sep 2025
Commented: dpb on 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).

Accepted Answer

dpb
dpb on 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 Comments
Mehmoona
Mehmoona on 24 Sep 2025
I have uncommented it and resolve all the errors in the .cpp and .h files and it is working for anisotropic.
dpb
dpb on 24 Sep 2025
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.

Sign in to comment.

More Answers (0)

Categories

Find more on Programming Utilities in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!