This repository is under review for potential modification in compliance with Administration directives.
[#10448] Inconsistent qform and sform offsets with 3d crop
Date: 2024-11-07 18:28 |
Priority: more information 3 |
Submitted By:
Christopher Kovach (ckovach)
|
Assigned To: more information
Nobody (None) |
Hardware: All | Product: None |
Operating System: All | Component: None |
Version: v1.0 | Severity: minor |
Resolution: None |
Summary: more information Inconsistent qform and sform offsets with 3d crop |
| Detailed description |
We encountered a confusing problem with image coregistration
which we ultimately traced to a discrepancy of the qform and sform
offsets in nifti files generated with the 3D crop option (-x).
Evidently the srow_z value in the header is updated with cropping,
but the qoffset_z is not. Some versions of ITK default to the qform
transformation when both are present, and we ended up with images
aligned in voxel space but not in scanner space. I suggest either
updating qoffset_z to match srow_z(4) or setting the qcode value to
NIFTI_XFORM_UNKNOWN (0) to indicate that the qform transform no
longer matches scanner space.
| |
|
Response
No Responses Have Been Posted |
Attached Files:
| Name |
Download | | No Files Currently Attached | |
|
Changes:
No Changes Have Been Made to This Item |