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

Ultrasound Image Storage SOP Classes. More...

#include <array>
#include <cstdint>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for us_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::us_sop_class_info
 Information about an US 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::us_photometric_interpretation {
  kcenon::pacs::services::sop_classes::monochrome1 , kcenon::pacs::services::sop_classes::monochrome2 , kcenon::pacs::services::sop_classes::palette_color , kcenon::pacs::services::sop_classes::rgb ,
  kcenon::pacs::services::sop_classes::ybr_full , kcenon::pacs::services::sop_classes::ybr_full_422
}
 Supported photometric interpretations for US images. More...
 
enum class  kcenon::pacs::services::sop_classes::us_region_spatial_format : uint16_t {
  kcenon::pacs::services::sop_classes::none = 0x0000 , kcenon::pacs::services::sop_classes::two_d = 0x0001 , kcenon::pacs::services::sop_classes::m_mode = 0x0002 , kcenon::pacs::services::sop_classes::spectral = 0x0003 ,
  kcenon::pacs::services::sop_classes::wave_form = 0x0004 , kcenon::pacs::services::sop_classes::graphics = 0x0005
}
 US Region spatial format. More...
 
enum class  kcenon::pacs::services::sop_classes::us_region_data_type : uint16_t {
  kcenon::pacs::services::sop_classes::tissue = 0x0001 , kcenon::pacs::services::sop_classes::blood = 0x0002 , kcenon::pacs::services::sop_classes::color_flow = 0x0003 , kcenon::pacs::services::sop_classes::elastography = 0x0004 ,
  kcenon::pacs::services::sop_classes::b_mode = 0x0005
}
 US Region data type. More...
 

Functions

std::vector< std::string > kcenon::pacs::services::sop_classes::get_us_transfer_syntaxes ()
 Get recommended transfer syntaxes for US images.
 
std::string_view kcenon::pacs::services::sop_classes::to_string (us_photometric_interpretation interp) noexcept
 Convert photometric interpretation enum to DICOM string.
 
us_photometric_interpretation kcenon::pacs::services::sop_classes::parse_photometric_interpretation (std::string_view value) noexcept
 Parse DICOM photometric interpretation string.
 
bool kcenon::pacs::services::sop_classes::is_valid_us_photometric (std::string_view value) noexcept
 Check if photometric interpretation is valid for US.
 
std::vector< std::string > kcenon::pacs::services::sop_classes::get_us_storage_sop_classes (bool include_retired=true)
 Get all US Storage SOP Class UIDs.
 
const us_sop_class_infokcenon::pacs::services::sop_classes::get_us_sop_class_info (std::string_view uid) noexcept
 Get information about a specific US SOP Class.
 
bool kcenon::pacs::services::sop_classes::is_us_storage_sop_class (std::string_view uid) noexcept
 Check if a SOP Class UID is a US Storage SOP Class.
 
bool kcenon::pacs::services::sop_classes::is_us_multiframe_sop_class (std::string_view uid) noexcept
 Check if a SOP Class UID is a multi-frame US Storage SOP Class.
 

Variables

Primary US SOP Classes
constexpr std::string_view kcenon::pacs::services::sop_classes::us_image_storage_uid
 US Image Storage SOP Class UID (single-frame)
 
constexpr std::string_view kcenon::pacs::services::sop_classes::us_multiframe_image_storage_uid
 US Multi-frame Image Storage SOP Class UID (cine loops)
 
Retired US SOP Classes (Legacy Support)
constexpr std::string_view kcenon::pacs::services::sop_classes::us_image_storage_retired_uid
 US Image Storage (Retired) - for legacy systems.
 
constexpr std::string_view kcenon::pacs::services::sop_classes::us_multiframe_image_storage_retired_uid
 US Multi-frame Image Storage (Retired) - for legacy systems.
 

Detailed Description

Ultrasound Image Storage SOP Classes.

This file provides SOP Class definitions and utilities for Ultrasound (US) image storage. Supports both current and retired SOP Classes for legacy compatibility.

See also
DICOM PS3.4 Section B - Storage Service Class
DICOM PS3.3 Section A.6 - US Image IOD
DES-SVC-008 - Ultrasound Storage Implementation
Author
kcenon
Since
1.0.0

Definition in file us_storage.h.