Skip to content

anat affine appears off for ds000114 between data and fmriprep output #624

Closed
@satra

Description

@satra

any reason why the T1 brainmask output from fmriprep has different affines from original T1 of the dataset? is this because of the conform step?

$ mri_info ../sub-01/anat/sub-01_t1w_brainmask.nii.gz 
Volume information for ../sub-01/anat/sub-01_t1w_brainmask.nii.gz
          type: nii
    dimensions: 256 x 156 x 256
   voxel sizes: 1.000000, 1.299473, 1.000000
          type: FLOAT (3)
           fov: 256.000
           dof: 0
        xstart: -128.0, xend: 128.0
        ystart: -101.4, yend: 101.4
        zstart: -128.0, zend: 128.0
            TR: 0.00 msec, TE: 0.00 msec, TI: 0.00 msec, flip angle: 0.00 degrees
       nframes: 1
       PhEncDir: UNKNOWN
       FieldStrength: 0.000000
ras xform present
    xform info: x_r =   0.9992, y_r =  -0.0393, z_r =   0.0096, c_r =    -2.1763
              : x_a =   0.0395, y_a =   0.9989, z_a =  -0.0269, c_a =    22.5293
              : x_s =  -0.0085, y_s =   0.0272, z_s =   0.9996, c_s =    -8.5970
Orientation   : RAS
Primary Slice Direction: axial

voxel to ras transform:
                0.9992  -0.0510   0.0096  -127.3170
                0.0395   1.2980  -0.0269   -80.3350
               -0.0085   0.0354   0.9996  -138.2132
                0.0000   0.0000   0.0000     1.0000

voxel-to-ras determinant 1.29947

ras to voxel transform:
                0.9992   0.0395  -0.0085   129.2109
               -0.0302   0.7687   0.0209    60.7968
                0.0096  -0.0269   0.9996   137.2195
                0.0000   0.0000   0.0000     1.0000

$ mri_info ../../../sub-01/ses-test/anat/sub-01_ses-test_T1w.nii.gz 
Volume information for ../../../sub-01/ses-test/anat/sub-01_ses-test_T1w.nii.gz
          type: nii
    dimensions: 256 x 156 x 256
   voxel sizes: 1.000000, 1.299376, 1.000000
          type: FLOAT (3)
           fov: 256.000
           dof: 0
        xstart: -128.0, xend: 128.0
        ystart: -101.4, yend: 101.4
        zstart: -128.0, zend: 128.0
            TR: 9.67 msec, TE: 0.00 msec, TI: 0.00 msec, flip angle: 0.00 degrees
       nframes: 1
       PhEncDir: UNKNOWN
       FieldStrength: 0.000000
ras xform present
    xform info: x_r =   0.9991, y_r =  -0.0397, z_r =   0.0125, c_r =     0.1996
              : x_a =   0.0408, y_a =   0.9943, z_a =  -0.0981, c_a =    20.3043
              : x_s =  -0.0085, y_s =   0.0985, z_s =   0.9951, c_s =   -41.2883
Orientation   : RAS
Primary Slice Direction: axial

voxel to ras transform:
                0.9991  -0.0516   0.0125  -125.2639
                0.0408   1.2920  -0.0981   -73.1330
               -0.0085   0.1280   0.9951  -177.5543
                0.0000   0.0000   0.0000     1.0000

voxel-to-ras determinant 1.29938

ras to voxel transform:
                0.9991   0.0408  -0.0085   126.6200
               -0.0306   0.7652   0.0758    65.5996
                0.0125  -0.0981   0.9951   171.0755
                0.0000   0.0000   0.0000     1.0000

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions