itkimage2paramap
itkimage2paramap
can be used to convert a parametric map provided in any of the formats supported by ITK, such as NRRD or NIFTI, as a DICOM Parametric Map image object.
Usage
Detailed usage
Most of the effort will be required to populate the content of the meta-information JSON file. Its structure is defined by this JSON-Schema file. Interpretation of JSON-Schema may require some effort, especially considering that this particular file uses externally defined items. It may be easier to start with an example JSON file that "instantiates" this schema, such as this one.
In the following, we will guide you through the contents of this file - line by line.
These lines correspond to the metadata attributes that will be populated in the resulting DICOM Parametric Map image object. It is your choice how you want to populate those. There are certain constraints on the values of these attributes. If those constraints are not met, converter will fail. In the future, we will provide instructions for validating your meta-information file.
QuantityValueCode
, MeasurementUnitsCode
, MeasurementMethodCode
, AnatomicRegionSequence
are attributes (code tuples) to describe the meaning the pixels stored in this parametric map. AnatomicRegionSequence
, DerivedPixelContrast
, FrameLaterality
are the only attributes that are required. All others are optional.
Each code tuple consists of the three components: CodeValue
, CodingSchemeDesignator
and CodeMeaning
. CodingSchemeDesignator
defines the "authority", or source of the code. Each CodeValue
should be unique for a given CodingSchemeDesignator
. CodeMeaning
is a human-readable meaning of the code. DICOM defines several coding schemes recognized by the standard listed in PS3.16 Section 8.
Last updated