niftiwrite changes the axis of 3D images

17 ビュー (過去 30 日間)
banikr
banikr 2019 年 8 月 25 日
コメント済み: Anand Joshi 2023 年 6 月 15 日
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 件のコメント
Jacob Bunyamin
Jacob Bunyamin 2023 年 2 月 14 日
I tried load and re-save but it did not work. Permute and flip did not work either for me
Anand Joshi
Anand Joshi 2023 年 6 月 15 日
Are you using info option when you use niftiwrite?You can get it using niftiinfo and then use it for niftiwrite.

サインインしてコメントする。

回答 (1 件)

Anmol Dhiman
Anmol Dhiman 2019 年 8 月 28 日
  2 件のコメント
Charly Girot
Charly Girot 2021 年 3 月 3 日
Thanks for the tool but this does not answer the issue he was referring to
Zahra
Zahra 2023 年 3 月 10 日
I have exactly the same problem. I would be grateful if someone finds a solution to this problem share it with me.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImport, Export, and Conversion についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by