ArjunNarayanan / LinFlo-Net

Diffeomorphic whole heart mesh generation
MIT License
3 stars 0 forks source link

some questions about visualisation #6

Closed shihe407 closed 3 weeks ago

shihe407 commented 1 month ago

Is there a visualisation method for .vti files? I ran

python workflows/prepare_data \ --image /path/to/image/folder \ --segmentation /path/to/segmentation/folder \ --output /path/to/output/folder \ \ ---modality ct # can be either ct or mr --ext .nii.gz #

none of the .vti files obtained by input files extension can be viewed for useful information.

And I ran

python utilities/predict_udf_test_meshes.py -config /path/to/config/file

after training and got visible meshes, the segmentation file could be opened in 3d slicer and paraview but can't see anything useful.

Snipaste_2024-07-09_13-47-37
ArjunNarayanan commented 1 month ago

I usually use paraview for .vti files. The output of prepare_data should produce images and segmentations that you should be able to visualize. Can you verify what is going on there?

shihe407 commented 1 month ago

Thanks, I have seen useful information after using paraview and the issue with prepare_data has been resolved.