Volume Viewer Image Mirror Image (Wrong Orientation)

I am trying to create a 3D model of a liver but the model that is created using Volume Viewer is the mirror image. The file that I am loading is a nifti file that was generated from a liver segmentation algorithm. Is there any way to flip the liver so that I get the 3D mirror image? I tried changing the orientation in ITK-SNAP but the results were the same.

 Réponse acceptée

Matt J
Matt J le 9 Nov 2021

2 votes

Couldn't you read the data into Matlab as a 3D array and permute() it?

2 commentaires

Thank you Matt! Very simple solution that worked perfectly. I loaded the nifti file using niftiread(), then flip(nifti, 1). The resulting image is what I was looking for.
Glad it worked, but please accept-click the answer to indicate that it did.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Produits

Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by