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
The current approach makes the assumption that all images that are passed to the itkimage2segimage converter have the same geometry. This will not work with the current approach used in Slicer that defines segmentation image geometry to be that of the slices segmented. When a single slice is segmented, the exported segmentation will contain only one slice, and no blank slices. This was identified while following up on https://github.com/OHIF/Viewers/issues/2733.
The current approach makes the assumption that all images that are passed to the itkimage2segimage converter have the same geometry. This will not work with the current approach used in Slicer that defines segmentation image geometry to be that of the slices segmented. When a single slice is segmented, the exported segmentation will contain only one slice, and no blank slices. This was identified while following up on https://github.com/OHIF/Viewers/issues/2733.