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  

|
April 06, 2016 03:55PM
(1) The weight volume is supposed have 1 volume, which matches the base dataset in size. The values in there are non-negative values indicating what weight to give to each voxel -- to be simplest, they should all be between 0 and 1 (inclusive). Note that if you simply want to exclude a region from the automatic weight, the '-emask' option can be used.

(2) To quote from 3dNwarpApply's help:
A single nonlinear warp (usually created by 3dQwarp) is an AFNI or NIfTI-1
dataset with 3 sub-bricks, holding the 3D displacements of each voxel.
(All coordinates and displacements are expressed in DICOM order.)


The '-iniwarp' dataset must "conform" to the '-base' dataset -- that is, the grid spacings must be the same, and the voxels must perfectly overlap. However, the '-iniwarp' dataset can be larger than the base dataset.

Some other formats are also allowed -- see the help for 3dNwarpCat.

The units of x,y,z displacement are mm, not voxels.

But why are you creating your own input for '-iniwarp'? Sounds a little perverse to me. Do be aware that DICOM coordinates are different than those produced by FSL or SPM, so if you are using a warp produced by those packages, you'll have to (a) make sure the order of sub-bricks is correct, and (b) negate the x and y displacement values to switch to DICOM coordinates.

You ask very specific questions, which are hard to answer usefully without context.
Subject Author Posted

3dQwarp -weight and -iniwarp input format

AjaySK April 06, 2016 02:07PM

Re: 3dQwarp -weight and -iniwarp input format

Bob Cox April 06, 2016 03:55PM

Re: 3dQwarp -weight and -iniwarp input format

AjaySK April 06, 2016 06:52PM

Re: 3dQwarp -weight and -iniwarp input format

Bob Cox April 07, 2016 03:41PM

Re: 3dQwarp -weight and -iniwarp input format

AjaySK April 08, 2016 08:56AM

Re: 3dQwarp -weight and -iniwarp input format

Bob Cox April 11, 2016 08:21PM

Re: 3dQwarp -weight and -iniwarp input format

Daniel Glen April 12, 2016 07:22AM

Re: 3dQwarp -weight and -iniwarp input format

Bob Cox April 13, 2016 12:56PM