25 "1.2.840.10008.1.2.1",
29 "1.2.840.10008.1.2.4.90",
31 "1.2.840.10008.1.2.4.201",
53 if (bits_allocated == 64) {
60 return bits_allocated == 32 || bits_allocated == 64;
69constexpr std::array<parametric_map_sop_class_info, 1> pmap_sop_classes = {{
72 "Parametric Map Storage",
73 "Voxel-level quantitative parameter maps (ADC, perfusion, T1/T2)",
86const parametric_map_sop_class_info*
89 return &pmap_sop_classes[0];
103 return value ==
"MONOCHROME2";
const parametric_map_sop_class_info * get_parametric_map_sop_class_info(std::string_view uid) noexcept
Get information about the Parametric Map SOP Class.
uint16_t get_bits_allocated(pixel_value_representation repr) noexcept
Get bits allocated for a pixel value representation.
bool is_parametric_map_storage_sop_class(std::string_view uid) noexcept
Check if a SOP Class UID is Parametric Map Storage.
bool is_valid_parametric_map_bits_allocated(uint16_t bits_allocated) noexcept
Check if a BitsAllocated value is valid for parametric maps.
pixel_value_representation parse_pixel_value_representation(uint16_t bits_allocated) noexcept
Parse pixel value representation from BitsAllocated value.
pixel_value_representation
Pixel value representation for parametric map data.
@ float32
32-bit IEEE 754 floating point (BitsAllocated=32)
@ float64
64-bit IEEE 754 floating point (BitsAllocated=64)
constexpr std::string_view parametric_map_storage_uid
Parametric Map Storage SOP Class UID.
std::vector< std::string > get_parametric_map_storage_sop_classes()
Get all Parametric Map Storage SOP Class UIDs.
std::vector< std::string > get_parametric_map_transfer_syntaxes()
Get recommended transfer syntaxes for Parametric Map objects.
bool is_valid_parametric_map_photometric(std::string_view value) noexcept
Check if photometric interpretation is valid for parametric maps.
Parametric Map Storage SOP Class.