itkimage2segimage
Usage
--skip <int>
Skip empty slices while encoding segmentation image. By default, empty
slices will not be encoded, resulting in a smaller output file size.
(value: 1)
--inputImageList <std::vector<std::string>>
Comma-separated list of file names of the segmentation images in a
format readable by ITK (NRRD, NIfTI, MHD, etc.). Each of the
individual files can contain one or more labels (segments). Segments
from different files are allowed to overlap. See documentation for
details.
--inputDICOMDirectory <std::string>
Directory with the DICOM files corresponding to the original image
that was segmented.
--inputDICOMList <std::vector<std::string>>
Comma-separated list of DICOM images that correspond to the original
image that was segmented. This means you must have access to the
original data in DICOM in order to use the converter (at least for
now).
--outputDICOM <std::string>
File name of the DICOM SEG object that will store the result of
conversion.
--inputMetadata <std::string>
JSON file containing the meta-information that describes the
measurements to be encoded. See documentation for details.
--useLabelIDAsSegmentNumber
Use label IDs from ITK images as Segment Numbers in DICOM. Only works
if label IDs are consecutively numbered starting from 1, otherwise
conversion will fail. (value: 0)Detailed usage
Last updated