AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
June 24, 2020 10:45AM
Dear AFNI,

How do I find out whether my images are in different orientations? I am interested in using my VBM output file as a covariate in my 3dMVM. Prior to running the 3dMVM with the VBM covariate I used 3dresample to change the voxel size of my VBM files to match the voxel size of my stats file (changed 1x1x1 to 2x2x2). After running this, I recieved the following error message:

Error in dim(vQV) <- c(dimx, dimy, dimz, length(unique(lop$dataStr[, lop$vQV[1]]))) :
dims [product 42024960] do not match the length of object [43281400]
Execution halted


I used 3dinfo to check the dimensions of my files and saw that the orientations were different (see below). Do these different orientations indicate that across the images the left side is not in fact the left, and the right side is not the right?

Is there another reason why I may be getting this error message?

Thank you very much,
Tam



original anatomical file used for VBM and fMRI analysis
Data Axes Orientation:
first (x) = Anterior-to-Posterior
second (y) = Superior-to-Inferior
third (z) = Right-to-Left [-orient ASR]

pre-processed stats file from AFNI:
Data Axes Orientation:
first (x) = Left-to-Right
second (y) = Posterior-to-Anterior
third (z) = Inferior-to-Superior [-orient LPI]

VBM output file
Data Axes Orientation:
first (x) = Right-to-Left
second (y) = Posterior-to-Anterior
third (z) = Inferior-to-Superior [-orient RPI]
Subject Author Posted

3dMVM error in dim

tamtam June 24, 2020 10:45AM

Re: 3dMVM error in dim

rick reynolds June 25, 2020 01:52PM

Re: 3dMVM error in dim

tamtam June 29, 2020 12:32PM