niftiwrite changes the axis of 3D images
조회 수: 17 (최근 30일)
이전 댓글 표시
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
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
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
2019년 8월 28일
Refer the below links to view the .nii images.
댓글 수: 2
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 Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!