QIICR / dcmqi

dcmqi (DICOM for Quantitative Imaging) is a free, open source C++ library for conversion between imaging research formats and the standard DICOM representation for image analysis results
https://qiicr.gitbook.io/dcmqi-guide/
BSD 3-Clause "New" or "Revised" License
228 stars 62 forks source link

Fix order of pixel spacing converting ITK->DICOM. #486

Closed michaelonken closed 7 months ago

michaelonken commented 7 months ago

The order in which the values for pixel spacing in ITK and DICOM are stored is different. In DICOM the first value is the row spacing (i.e. Y axis) while in ITK the first value is spacing along the X axis.

Reading asymmetric spacings from DICOM segmentations has already been fixed in 46c6f0.

This commit fixes writing DICOM segmentation objects with asymmetric spacings.