Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
--inputImageLibraryDirectory <std::string>
Location of input DICOM Data to be used for populating image library.
See documentation.
--inputCompositeContextDirectory <std::string>
Location of input DICOM Data to be used for populating composite
context. See documentation.
--outputDICOM <std::string>
File name of the DICOM SR object that will store the result of the
conversion.
--inputMetadata <std::string>
JSON file that contains the list of mesurements and other meta data
items that can be specified by the user. See documentation for
details.{
"@schema": "https://raw.githubusercontent.com/qiicr/dcmqi/master/doc/schemas/sr-tid1500-schema.json#", "SeriesDescription": "Measurements",
"SeriesNumber": "1001",
"InstanceNumber": "1", "compositeContext": [
"liver.dcm"
],
"imageLibrary": [
"01.dcm",
"02.dcm",
"03.dcm"
], "observerContext": {
"ObserverType": "PERSON",
"PersonObserverName": "Reader1"
}, "VerificationFlag": "VERIFIED",
"CompletionFlag": "COMPLETE", "activitySession": "1",
"timePoint": "1", "Measurements": [
{
"MeasurementGroup": {
"TrackingIdentifier": "Measurements group 1",
"ReferencedSegment": 1,
"SourceSeriesForImageSegmentation": "1.2.392.200103.20080913.113635.2.2009.6.22.21.43.10.23431.1",
"segmentationSOPInstanceUID": "1.2.276.0.7230010.3.1.4.0.42154.1458337731.665796",
"Finding": {
"codeValue": "T-D0060",
"codingSchemeDesignator": "SRT",
"codeMeaning": "Organ"
}, "measurementItems": [
{
"value": "37.3289",
"quantity": {
"codeValue": "122713",
"codingSchemeDesignator": "DCM",
"codeMeaning": "Attenuation Coefficient"
},
"units": {
"codeValue": "[hnsf'U]",
"codingSchemeDesignator": "UCUM",
"codeMeaning": "Hounsfield unit"
},
"derivationModifier": {
"codeValue": "R-00317",
"codingSchemeDesignator": "SRT",
"codeMeaning": "Mean"
}
},bash DicomSRValidator.sh <sr_object> --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){
"@schema": "https://raw.githubusercontent.com/qiicr/dcmqi/master/doc/schemas/seg-schema.json#", "ContentCreatorName": "Doe^John",
"ClinicalTrialSeriesID": "Session1",
"ClinicalTrialTimePointID": "1",
"ClinicalTrialCoordinatingCenterName": "BWH",
"SeriesDescription": "Segmentation",
"SeriesNumber": "300",
"InstanceNumber": "1", "segmentAttributes": [
[
{ "labelID": 1,SegmentedPropertyCategoryCodeSequence = (M-01000, SRT, "Morphologically
Altered Structure")
SegmentedPropertyTypeCodeSequence = (M-80003, SRT, "Neoplasm, Primary")
SegmentNumber=1SegmentLabel = 255SegmentLabel = "primary tumor"SegmentLabel = "primary tumor (255)"SegmentLabel = "Neoplasm, Primary" "SegmentDescription": "Liver Segmentation", "SegmentAlgorithmType": "SEMIAUTOMATIC", "SegmentAlgorithmName": "SlicerEditor", "recommendedDisplayRGBValue": [
221,
130,
101
] "SegmentedPropertyCategoryCodeSequence": {
"CodeValue": "T-D0050",
"CodingSchemeDesignator": "SRT",
"CodeMeaning": "Tissue"
},
"SegmentedPropertyTypeCodeSequence": {
"CodeValue": "T-62000",
"CodingSchemeDesignator": "SRT",
"CodeMeaning": "Liver"
}, -t <nrrd|mhd|mha|nii|nifti|hdr|img>, --outputType <nrrd|mhd|mha|nii
|nifti|hdr|img>
Output file format for the resulting image data. (default: nrrd)
-p <std::string>, --prefix <std::string>
Prefix for output file.
--outputDirectory <std::string>
Directory to store individual segments saved using the output format
specified files. When specified, file names will contain prefix,
followed by the segment number.
--inputDICOM <std::string>
File name of the input DICOM Segmentation image object.
--mergeSegments
Save all segments into a single file. When segments are
non-overlapping, output is a single 3D file. If overlapping segments
are identified, multiple 3D files will be created each containing
non-overlapping segments. Metadata JSON files will be created for each
such 3D file. (value: 0) --inputDICOM <std::string>
File name of the DICOM image file that should be used to populate the
composite context (attributes related to the patient and imaging
study).
--outputDICOM <std::string>
File name of the DICOM Parametric map object with the result of the
conversion.
--inputMetadata <std::string>
File name of the JSON files containing metadata attributes.
--inputImage <std::string>
File name of the parametric map image in a format readable by ITK
(NRRD, NIfTI, MHD, etc.).{
"@schema": "https://raw.githubusercontent.com/qiicr/dcmqi/master/doc/schemas/pm-schema.json#", "SeriesDescription": "Apparent Diffusion Coefficient",
"SeriesNumber": "701",
"InstanceNumber": "1",
"BodyPartExamined": "PROSTATE", "QuantityValueCode": {
"CodeValue": "113041",
"CodingSchemeDesignator": "DCM",
"CodeMeaning": "Apparent Diffusion Coefficient"
},
"MeasurementUnitsCode": {
"CodeValue": "um2/s",
"CodingSchemeDesignator": "UCUM",
"CodeMeaning": "um2/s"
},
"MeasurementMethodCode": {
"CodeValue": "DWMPxxxx10",
"CodingSchemeDesignator": "99QIICR",
"CodeMeaning": "Mono-exponential diffusion model"
},
"SourceImageDiffusionBValues": [
"0",
"1400"
],
"AnatomicRegionSequence": {
"CodeValue": "T-9200B",
"CodingSchemeDesignator": "SRT",
"CodeMeaning": "Prostate"
},
"FrameLaterality": "U",
"RealWorldValueSlope": 1,
"DerivedPixelContrast": "ADC"
}
-t <nrrd|mhd|mha|nii|nifti|hdr|img>, --outputType <nrrd|mhd|mha|nii
|nifti|hdr|img>
Output ITK format for the output image. (default: nrrd)
--outputDirectory <std::string>
Directory to store parametric map in an ITK format, and the JSON
metadata file.
--inputDICOM <std::string>
File name of the DICOM Parametric map image.