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.

 Accepted Answer

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

2 Comments

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.

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2021b

Asked:

on 9 Nov 2021

Commented:

on 10 Nov 2021

Community Treasure Hunt

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

Start Hunting!