History of AFNI updates  

|
April 16, 2019 06:45PM
To get the geometry matrix and dimensions:
3dAttribute IJK_TO_DICOM_REAL dset_name
3dAttribute DATASET_DIMENSIONS dset_name

To copy one matrix from a dset to another (but I don't think this is what you want to do for your data case here??):
# tcsh syntax
set obliq_matr = `3dAttribute IJK_TO_DICOM_REAL  my_dset`
3dcopy other_dset other_dset_copy.nii
3drefit -atrfloat IJK_TO_DICOM_REAL "${obliq_matr}" other_dset_copy.nii
Above, I copie dthe "other_dset" because refitting the header might do bad, undoable things to it.

--pt
Subject Author Posted

3dAllineate and affine transformation

ruyuanzhang April 16, 2019 04:19PM

Re: 3dAllineate and affine transformation

ptaylor April 16, 2019 06:24PM

Re: 3dAllineate and affine transformation

ruyuanzhang April 16, 2019 06:33PM

Re: 3dAllineate and affine transformation

ruyuanzhang April 16, 2019 06:36PM

Re: 3dAllineate and affine transformation

ptaylor April 16, 2019 06:45PM

Re: 3dAllineate and affine transformation

ruyuanzhang April 16, 2019 07:53PM

Re: 3dAllineate and affine transformation

ptaylor April 16, 2019 06:49PM

Re: 3dAllineate and affine transformation

ruyuanzhang April 17, 2019 01:15PM

Re: 3dAllineate and affine transformation

ptaylor April 17, 2019 01:24PM

Re: 3dAllineate and affine transformation

ruyuanzhang April 17, 2019 04:20PM