Date: 2013-12-03 00:22
Sender: Torsten Rohlfing
This is fixed in svn/trunk r5072. Will be in the CMTK 3.0.0
release.
Note the following:
- When a NIFTI file is read that contains a qform but no sform and
the image later written to a new NIFTI file, then the new file will
have a qform but no sform.
- When a NIFTI file is read that contains an sform but no qform and
the image later written to a new NIFTI file, then the new file will
have
an sform but no qform.
- When a NIFTI file is read that contains both a qform and an sform
and
the image later written to a new NIFTI file, then the new file will
have
a qform and an sform.
- When qform_code == NIFTI_XFORM_SCANNER_ANAT, then qform defines
the mapping of the image to physical space. When qform_code is NOT
NIFTI_XFORM_SCANNER_ANAT and sform_code ==
NIFTI_XFORM_SCANNER_ANAT, then sform is used instead. If both qform
and sform exist, but NEITHER code is NIFTI_XFORM_SCANNER_ANAT, then
qform is used, regardless of qform_code
- When the image is downsampled, split, or merged, the qform and
sform transformation are both changed accordingly (if they exist).
|