.mha file displayed by matlab is different from by ITK-SNAP
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Yaoting Yue
il 11 Mag 2019
Commentato: Yaoting Yue
il 11 Mag 2019
I have a .mha file saved from ITK-SNAP, as following upper one. But when I use Matlab to read and show this image, it shows like following under. I'm trying to find the reason, but I failed. So hope somebody will give me a help. Thanks a lot!
![1557544594(1).png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/218938/1557544594(1).png)
![1557544736(1).png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/218939/1557544736(1).png)
0 Commenti
Risposta accettata
Walter Roberson
il 11 Mag 2019
Notice from the labels on the image that 'R' is on the left side, and 'L' is on the right side: the image is either rotated or flipped.
By examining the outline, we can see that you should
imshow( fliplr(flipud(YourImage)) )
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!