forked from InsightSoftwareConsortium/ITK
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: ImageSeriesWriter + GDCMImageIO loses info
When directional cosines are copied from 3D volume to 2D slices by ImageSeriesWriter, only the upper-left 2x2 matrix can be copied, due to the dimension of m_Direction matrix. Then GDCMImageIO sets zeros in the missing values of the first 2 lines of the matrix. This is not a problem if the directional cosines matrix is the identity matrix, otherwise DICOM tag (0020,0037) Image Orientation (Patient) of the output DICOM files is not valid. ITK-281 Change-Id: I44bac496fb1132abb85a5f9d66bd7ad469c774b2
- Loading branch information
1 parent
ec61e6e
commit df66144
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters