PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
dx_storage.h File Reference

Digital X-Ray (DX) Image Storage SOP Classes. More...

#include <array>
#include <cstdint>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for dx_storage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::pacs::services::sop_classes::dx_sop_class_info
 Information about a DX Storage SOP Class. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::services
 
namespace  kcenon::pacs::services::sop_classes
 

Enumerations

enum class  kcenon::pacs::services::sop_classes::dx_photometric_interpretation { kcenon::pacs::services::sop_classes::monochrome1 , kcenon::pacs::services::sop_classes::monochrome2 }
 Supported photometric interpretations for DX images. More...
 
enum class  kcenon::pacs::services::sop_classes::dx_image_type { kcenon::pacs::services::sop_classes::for_presentation , kcenon::pacs::services::sop_classes::for_processing }
 DX image purpose classification. More...
 
enum class  kcenon::pacs::services::sop_classes::dx_view_position {
  kcenon::pacs::services::sop_classes::ap , kcenon::pacs::services::sop_classes::pa , kcenon::pacs::services::sop_classes::lateral , kcenon::pacs::services::sop_classes::oblique ,
  kcenon::pacs::services::sop_classes::other
}
 Common radiographic view positions for DX images. More...
 
enum class  kcenon::pacs::services::sop_classes::dx_detector_type { kcenon::pacs::services::sop_classes::direct , kcenon::pacs::services::sop_classes::indirect , kcenon::pacs::services::sop_classes::storage , kcenon::pacs::services::sop_classes::film }
 DX detector technology types. More...
 
enum class  kcenon::pacs::services::sop_classes::dx_body_part {
  kcenon::pacs::services::sop_classes::chest , kcenon::pacs::services::sop_classes::abdomen , kcenon::pacs::services::sop_classes::pelvis , kcenon::pacs::services::sop_classes::spine ,
  kcenon::pacs::services::sop_classes::skull , kcenon::pacs::services::sop_classes::hand , kcenon::pacs::services::sop_classes::foot , kcenon::pacs::services::sop_classes::knee ,
  kcenon::pacs::services::sop_classes::elbow , kcenon::pacs::services::sop_classes::shoulder , kcenon::pacs::services::sop_classes::hip , kcenon::pacs::services::sop_classes::wrist ,
  kcenon::pacs::services::sop_classes::ankle , kcenon::pacs::services::sop_classes::extremity , kcenon::pacs::services::sop_classes::breast , kcenon::pacs::services::sop_classes::other
}
 Common body parts for DX imaging. More...
 

Functions

std::vector< std::string > kcenon::pacs::services::sop_classes::get_dx_transfer_syntaxes ()
 Get recommended transfer syntaxes for DX images.
 
std::string_view kcenon::pacs::services::sop_classes::to_string (dx_photometric_interpretation interp) noexcept
 Convert photometric interpretation enum to DICOM string.
 
dx_photometric_interpretation kcenon::pacs::services::sop_classes::parse_dx_photometric_interpretation (std::string_view value) noexcept
 Parse DICOM photometric interpretation string for DX.
 
bool kcenon::pacs::services::sop_classes::is_valid_dx_photometric (std::string_view value) noexcept
 Check if photometric interpretation is valid for DX.
 
std::string_view kcenon::pacs::services::sop_classes::to_string (dx_image_type type) noexcept
 Convert DX image type to string.
 
std::string_view kcenon::pacs::services::sop_classes::to_string (dx_view_position position) noexcept
 Convert view position enum to DICOM string.
 
dx_view_position kcenon::pacs::services::sop_classes::parse_view_position (std::string_view value) noexcept
 Parse DICOM view position string.
 
std::string_view kcenon::pacs::services::sop_classes::to_string (dx_detector_type type) noexcept
 Convert detector type enum to DICOM string.
 
dx_detector_type kcenon::pacs::services::sop_classes::parse_detector_type (std::string_view value) noexcept
 Parse DICOM detector type string.
 
std::vector< std::string > kcenon::pacs::services::sop_classes::get_dx_storage_sop_classes (bool include_mammography=true, bool include_intraoral=true)
 Get all DX Storage SOP Class UIDs.
 
const dx_sop_class_infokcenon::pacs::services::sop_classes::get_dx_sop_class_info (std::string_view uid) noexcept
 Get information about a specific DX SOP Class.
 
bool kcenon::pacs::services::sop_classes::is_dx_storage_sop_class (std::string_view uid) noexcept
 Check if a SOP Class UID is a DX Storage SOP Class.
 
bool kcenon::pacs::services::sop_classes::is_dx_for_processing_sop_class (std::string_view uid) noexcept
 Check if a SOP Class UID is a For Processing SOP Class.
 
bool kcenon::pacs::services::sop_classes::is_dx_for_presentation_sop_class (std::string_view uid) noexcept
 Check if a SOP Class UID is a For Presentation SOP Class.
 
bool kcenon::pacs::services::sop_classes::is_mammography_sop_class (std::string_view uid) noexcept
 Check if a SOP Class UID is a mammography SOP Class.
 
std::string_view kcenon::pacs::services::sop_classes::to_string (dx_body_part part) noexcept
 Convert body part enum to DICOM string.
 
dx_body_part kcenon::pacs::services::sop_classes::parse_body_part (std::string_view value) noexcept
 Parse DICOM body part examined string.
 

Variables

Primary DX SOP Classes
constexpr std::string_view kcenon::pacs::services::sop_classes::dx_image_storage_for_presentation_uid
 Digital X-Ray Image Storage - For Presentation SOP Class UID Used for images ready for display and clinical review.
 
constexpr std::string_view kcenon::pacs::services::sop_classes::dx_image_storage_for_processing_uid
 Digital X-Ray Image Storage - For Processing SOP Class UID Used for raw detector data requiring additional processing.
 
Digital Mammography X-Ray SOP Classes
constexpr std::string_view kcenon::pacs::services::sop_classes::mammography_image_storage_for_presentation_uid
 Digital Mammography X-Ray Image Storage - For Presentation.
 
constexpr std::string_view kcenon::pacs::services::sop_classes::mammography_image_storage_for_processing_uid
 Digital Mammography X-Ray Image Storage - For Processing.
 
Digital Intra-Oral X-Ray SOP Classes
constexpr std::string_view kcenon::pacs::services::sop_classes::intraoral_image_storage_for_presentation_uid
 Digital Intra-Oral X-Ray Image Storage - For Presentation.
 
constexpr std::string_view kcenon::pacs::services::sop_classes::intraoral_image_storage_for_processing_uid
 Digital Intra-Oral X-Ray Image Storage - For Processing.
 

Detailed Description

Digital X-Ray (DX) Image Storage SOP Classes.

This file provides SOP Class definitions and utilities for Digital X-Ray (DX) image storage. Supports both For Presentation and For Processing image types as defined in DICOM PS3.4.

Digital X-Ray covers general radiography imaging using digital detectors (DR - Digital Radiography) as opposed to computed radiography (CR) which uses phosphor plates.

See also
DICOM PS3.4 Section B - Storage Service Class
DICOM PS3.3 Section A.26 - DX Image IOD
DES-SVC-009 - Digital X-Ray Storage Implementation
Author
kcenon
Since
1.0.0

Definition in file dx_storage.h.