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

Segmentation (SEG) Storage SOP Classes. More...

#include <array>
#include <cstdint>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for seg_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::segment_color
 Standard segment colors for common anatomical structures. More...
 
struct  kcenon::pacs::services::sop_classes::seg_sop_class_info
 Information about a SEG 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::segmentation_type { kcenon::pacs::services::sop_classes::binary , kcenon::pacs::services::sop_classes::fractional }
 Segmentation type (0062,0001) More...
 
enum class  kcenon::pacs::services::sop_classes::segmentation_fractional_type { kcenon::pacs::services::sop_classes::probability , kcenon::pacs::services::sop_classes::occupancy }
 Segmentation fractional type (0062,0010) More...
 
enum class  kcenon::pacs::services::sop_classes::segment_algorithm_type { kcenon::pacs::services::sop_classes::automatic , kcenon::pacs::services::sop_classes::semiautomatic , kcenon::pacs::services::sop_classes::manual }
 Segment algorithm type (0062,0008) More...
 
enum class  kcenon::pacs::services::sop_classes::segment_category {
  kcenon::pacs::services::sop_classes::tissue , kcenon::pacs::services::sop_classes::anatomical_structure , kcenon::pacs::services::sop_classes::physical_object , kcenon::pacs::services::sop_classes::morphologically_abnormal ,
  kcenon::pacs::services::sop_classes::function , kcenon::pacs::services::sop_classes::spatial , kcenon::pacs::services::sop_classes::body_substance
}
 Common anatomical property categories (CID 7150) More...
 

Functions

std::vector< std::string > kcenon::pacs::services::sop_classes::get_seg_transfer_syntaxes ()
 Get recommended transfer syntaxes for SEG objects.
 
std::string_view kcenon::pacs::services::sop_classes::to_string (segmentation_type type) noexcept
 Convert segmentation type to DICOM string.
 
segmentation_type kcenon::pacs::services::sop_classes::parse_segmentation_type (std::string_view value) noexcept
 Parse segmentation type from DICOM string.
 
bool kcenon::pacs::services::sop_classes::is_valid_segmentation_type (std::string_view value) noexcept
 Check if segmentation type string is valid.
 
std::string_view kcenon::pacs::services::sop_classes::to_string (segmentation_fractional_type type) noexcept
 Convert segmentation fractional type to DICOM string.
 
segmentation_fractional_type kcenon::pacs::services::sop_classes::parse_segmentation_fractional_type (std::string_view value) noexcept
 Parse segmentation fractional type from DICOM string.
 
std::string_view kcenon::pacs::services::sop_classes::to_string (segment_algorithm_type type) noexcept
 Convert segment algorithm type to DICOM string.
 
segment_algorithm_type kcenon::pacs::services::sop_classes::parse_segment_algorithm_type (std::string_view value) noexcept
 Parse segment algorithm type from DICOM string.
 
bool kcenon::pacs::services::sop_classes::is_valid_segment_algorithm_type (std::string_view value) noexcept
 Check if segment algorithm type string is valid.
 
segment_color kcenon::pacs::services::sop_classes::get_recommended_segment_color (std::string_view segment_label) noexcept
 Get recommended color for common segment types.
 
std::vector< std::string > kcenon::pacs::services::sop_classes::get_seg_storage_sop_classes (bool include_surface=true)
 Get all SEG Storage SOP Class UIDs.
 
const seg_sop_class_infokcenon::pacs::services::sop_classes::get_seg_sop_class_info (std::string_view uid) noexcept
 Get information about a specific SEG SOP Class.
 
bool kcenon::pacs::services::sop_classes::is_seg_storage_sop_class (std::string_view uid) noexcept
 Check if a SOP Class UID is a SEG Storage SOP Class.
 
bool kcenon::pacs::services::sop_classes::is_surface_segmentation_sop_class (std::string_view uid) noexcept
 Check if a SOP Class UID is Surface Segmentation.
 
std::string_view kcenon::pacs::services::sop_classes::get_segment_category_code (segment_category category) noexcept
 Get SNOMED CT code for segment category.
 
std::string_view kcenon::pacs::services::sop_classes::get_segment_category_meaning (segment_category category) noexcept
 Get code meaning for segment category.
 

Variables

Primary SEG SOP Classes
constexpr std::string_view kcenon::pacs::services::sop_classes::segmentation_storage_uid
 Segmentation Storage SOP Class UID.
 
constexpr std::string_view kcenon::pacs::services::sop_classes::surface_segmentation_storage_uid
 Surface Segmentation Storage SOP Class UID.
 
constexpr std::string_view kcenon::pacs::services::sop_classes::heightmap_segmentation_storage_uid
 Heightmap Segmentation Storage SOP Class UID (Supplement 240)
 
constexpr std::string_view kcenon::pacs::services::sop_classes::label_map_segmentation_storage_uid
 Label Map Segmentation Storage SOP Class UID (Supplement 243)
 

Detailed Description

Segmentation (SEG) Storage SOP Classes.

This file provides SOP Class definitions and utilities for Segmentation object storage. Supports DICOM Segmentation objects for AI/CAD outputs and clinical segmentation results.

See also
DICOM PS3.4 Section B - Storage Service Class
DICOM PS3.3 Section A.51 - Segmentation IOD
Author
kcenon
Since
1.0.0

Definition in file seg_storage.h.