niftiwrite changes the axis of 3D images

17 vues (au cours des 30 derniers jours)
banikr
banikr le 25 Août 2019
Commenté : Anand Joshi le 15 Juin 2023
After performing some image processing in a 3D .nii format nifti image, I am using niftiwrite function to save it. But the nifti image is being saved in opposite axis like the anterior axis is being saved as posterior and vice versa, and the left to right ...
I am using itk-snap to visualize the saved image.
  6 commentaires
Jacob Bunyamin
Jacob Bunyamin le 14 Fév 2023
I tried load and re-save but it did not work. Permute and flip did not work either for me
Anand Joshi
Anand Joshi le 15 Juin 2023
Are you using info option when you use niftiwrite?You can get it using niftiinfo and then use it for niftiwrite.

Connectez-vous pour commenter.

Réponses (1)

Anmol Dhiman
Anmol Dhiman le 28 Août 2019
  2 commentaires
Charly Girot
Charly Girot le 3 Mar 2021
Thanks for the tool but this does not answer the issue he was referring to
Zahra
Zahra le 10 Mar 2023
I have exactly the same problem. I would be grateful if someone finds a solution to this problem share it with me.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Import, Export, and Conversion 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