Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Community » Message Board

History of AFNI updates   Suggested reading for beginners   Add yourself to the AFNI map!

Re: 3dcalc template space warning and .HEAD attributes

|
July 11, 2012 11:34AM
Rick,

We created these datasets with the intention of having them aligned properly, but we're not sure we succeeded in doing that. One of the datasets is created from our data and given 4x4x4 voxels with adwarp; the other is a ROI mask created by resampling an atlas to 4x4x4 resolution with 3dresample -dxyz 4 4 4. I tried redoing the mask by using -master and it gave me a dataset that agrees with our original mask in all respects except that IJK_TO_DICOM agrees with the master and of course IDCODE_STRING, IDCODE_DATE and HISTORY_NOTE have new values. The .BRIK files do not differ at all. What I do not understand is how the IJK_TO_DICOM conversion matrices can differ when the voxel dimensions, orientations and dataset origins do not. Here's the information from the header, in a slightly more human-readable form:

common attributes:
ORIENT_SPECIFIC:    1   2   4   (LPI)
ORIGIN: 88  124 -70
DELTA:  -4  -4  4
IJK_TO_DICOM_REAL:
    -4  0   0   88
    0   -4  0   124
    0   0   4   -70
The 'good' IJK_TO_DICOM matrix is identical to the IJK_TO_DICOM_REAL matrix above, but the 'broken' one is
IJK_TO_DICOM:
    -2  0   0   90
    0   -2  0   126
    0   0   2   -72

The first matrix clearly agrees with the rest of the information, but I can't tell where the second one comes from or why it wants to dilate the dataset by a factor of 2.

Isaac
Subject Author Posted

3dcalc template space warning and .HEAD attributes

Isaac Schwabacher July 10, 2012 03:38PM

Re: 3dcalc template space warning and .HEAD attributes

rick reynolds July 11, 2012 10:29AM

Re: 3dcalc template space warning and .HEAD attributes

Isaac Schwabacher July 11, 2012 11:34AM

Re: 3dcalc template space warning and .HEAD attributes

Isaac Schwabacher July 26, 2012 06:39PM

@Align_Centers frowns at symlinks.

Isaac Schwabacher July 26, 2012 07:34PM

Re: 3dcalc template space warning and .HEAD attributes

rick reynolds July 26, 2012 08:53PM

Re: 3dcalc template space warning and .HEAD attributes

Isaac Schwabacher July 27, 2012 11:53AM

Re: 3dcalc template space warning and .HEAD attributes

rick reynolds July 30, 2012 03:49PM

Re: 3dcalc template space warning and .HEAD attributes

rick reynolds July 31, 2012 09:01AM

Re: 3dcalc template space warning and .HEAD attributes

Isaac Schwabacher July 31, 2012 11:18AM



Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
CAPTCHA
Message:

Powered by Plone

phorum.org

This site conforms to the following standards: