AFNI version info (afni -ver
): Precompiled binary linux_ubuntu_16_64: Apr 30 2025 (Version AFNI_25.1.06 'Maximinus')
I recently updated and I'm noticing that the images are flipped left to right from my expectation. Has the AFNI viewer changed from a radiologic view? For instance:
The middle image is what displays in AFNI if I use dcm2niix_afni or to3d (they are both identical). The other images are DICOM viewers displaying the raw DICOM image.
Did I change a setting or am I missing something?
Many Thanks,
-C
Hi-
There are a couple aspects of this. The AFNI GUI knows left and right from the header information. If that is correct, then the GUI will display it correctly. If you are concer
In your AFNI GUI image above, I see that the dataset's left is the image's left (see below the image window: "Axial: left=left". Is that what you want? I don't know what the setting is for your other GUI interfaces, since they don't have it stated.
Whether the subject's "left" is on the left side of the image panel is a setting you can control in the environment variable settings. You can see the AFNI Academy video tutorial about setting those here. All environment variables are listed here. These are set system-wide in your ~/.afnirc
settings file, or you can also set them within scripts.
The one you might be interested in is:
AFNI_LEFT_IS_LEFT (editable)
Setting this YES/NO variable to YES tells AFNI to display images with
the left side of the subject on the left side of the window. The
default mode is to display the right side of the subject on the left
side of the window - the radiology convention. This setting affects
the coronal and axial image and graph viewers.
I think by default, we have AFNI_LEFT_IS_LEFT = YES
. You can certainly change that if you want to.
--pt
Thank you. Maybe when I updated, my .afnirc file was updated too and changed LEFT_IS_LEFT from where I had it 
Setting to false gives me the familiar radiologic view.
Thanks.
Sure thing, glad that is resolved back to the desired setting.
--pt