Gabriel Peyré’s Fast Marching Toolbox

조회 수: 10 (최근 30일)
Mehmoona
Mehmoona 2025년 9월 22일
댓글: dpb 2025년 9월 24일
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).

채택된 답변

dpb
dpb 2025년 9월 22일
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
Mehmoona
Mehmoona 2025년 9월 24일
I have uncommented it and resolve all the errors in the .cpp and .h files and it is working for anisotropic.
dpb
dpb 2025년 9월 24일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming Utilities에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by