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  

|
March 02, 2023 03:00PM
Below is my command and a few things worth mentioning:

1) Unregistered Data is: $AnimalID/$FolderID/${AnimalID}_${FolderID}.Box+orig
2) Data is despiked before registration: $AnimalID/$FolderID/${AnimalID}_${FolderID}.Box.DS+orig


3dvolreg \
-overwrite \
-prefix $AnimalID/$FolderID/${AnimalID}_${FolderID}.DS.BoxReg \
-base $AnimalID/$FolderID/${AnimalID}_${FolderID}.Box.Mean+orig[0] \
-weight $AnimalID/$FolderID/COPY_tempab2+orig[0] \
-heptic \
-dfile $AnimalID/$FolderID/dfile_VolReg2 \
-1Dfile $AnimalID/$FolderID/dfile_VolReg2.1D \
$AnimalID/$FolderID/${AnimalID}_${FolderID}.Box.DS+orig

1d_tool.py \
-overwrite \
-infile $AnimalID/$FolderID/dfile_VolReg2.1D \
-volreg2allineate \
-write $AnimalID/$FolderID/dfile_VolReg2_aff12.1D

3dAllineate \
-overwrite \
-prefix $AnimalID/$FolderID/${AnimalID}_${FolderID}.BoxReg1D \
-master $AnimalID/$FolderID/${AnimalID}_${FolderID}.Box.Mean+orig[0] \
-1Dparam_apply $AnimalID/$FolderID/dfile_VolReg2_aff12.1D \
-final quintic \
-quiet \
-input $AnimalID/$FolderID/${AnimalID}_${FolderID}.Box+orig

It seems that at a number of time points (>10) the 3dAllineate volume is spatially different/shifted, up to 2 voxels different, from the 3dVolreg volume... The rest, they are similar but I can still see some differences which may be due to interpolation differences.

I did not test it methodically. I went straight toward my desired application; SO I should ask, if I were to take the exact same volume (here, $AnimalID/$FolderID/${AnimalID}_${FolderID}.Box.DS+orig) and apply it using the 3dAllineate command, should I expect the two volumes to be near identical with only differences being due to interpolation differences?

*UPDATE: It seems to do the same thing regardless of which 'master' is used. I have another data set with much more noticeable motion, and the differences between the volreg volume and 3dAllineate volume are more noticeable and confirmed.

SECOND UPDATE/QUESTION: Does it matter if the unregistered volume was segmented using:

3dZeropad \
-overwrite \
-master $AnimalID/$FolderID/tempab2+orig \
-prefix $AnimalID/$FolderID/${AnimalID}_${FolderID}.Box \
 $AnimalID/$FolderID/${AnimalID}_${FolderID}.RGNorm+orig



Edited 2 time(s). Last edit at 03/02/2023 04:17PM by ebaldelo.
Subject Author Posted

Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

ebaldelo March 01, 2023 06:26PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

rick reynolds March 01, 2023 07:30PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

ebaldelo March 02, 2023 09:47AM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

rick reynolds March 02, 2023 11:12AM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

ebaldelo March 02, 2023 12:00PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

rick reynolds March 02, 2023 12:14PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

ebaldelo March 02, 2023 12:25PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

rick reynolds March 02, 2023 12:34PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

ebaldelo March 02, 2023 12:44PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

rick reynolds March 02, 2023 12:55PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

ebaldelo March 02, 2023 01:00PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

rick reynolds March 02, 2023 01:08PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

ebaldelo March 02, 2023 01:40PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

rick reynolds March 02, 2023 02:38PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

ebaldelo March 02, 2023 03:00PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

ebaldelo March 02, 2023 04:44PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

rick reynolds March 02, 2023 05:19PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

rick reynolds March 02, 2023 05:37PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

ebaldelo March 02, 2023 06:06PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

rick reynolds March 02, 2023 06:32PM

Re: Translating 3dvolreg 1Dfile to 3dAllineate -1Dparam_apply

Daniel Glen March 13, 2023 10:36AM