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.

 Risposta accettata

Matt J
Matt J il 9 Nov 2021
Couldn't you read the data into Matlab as a 3D array and permute() it?

2 Commenti

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.

Accedi per commentare.

Più risposte (0)

Prodotti

Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by