PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
mg_storage.cpp File Reference

Implementation of Digital Mammography X-Ray Image Storage utilities. More...

#include "kcenon/pacs/services/sop_classes/mg_storage.h"
#include <algorithm>
#include <array>
#include <cctype>
Include dependency graph for mg_storage.cpp:

Go to the source code of this file.

Namespaces

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

Functions

std::string_view kcenon::pacs::services::sop_classes::to_string (breast_laterality laterality) noexcept
 Convert breast laterality enum to DICOM string.
 
breast_laterality kcenon::pacs::services::sop_classes::parse_breast_laterality (std::string_view value) noexcept
 Parse DICOM laterality string to enum.
 
bool kcenon::pacs::services::sop_classes::is_valid_breast_laterality (std::string_view value) noexcept
 Check if a laterality value is valid for mammography.
 
std::string_view kcenon::pacs::services::sop_classes::to_string (mg_view_position position) noexcept
 Convert mammography view position enum to DICOM string.
 
mg_view_position kcenon::pacs::services::sop_classes::parse_mg_view_position (std::string_view value) noexcept
 Parse DICOM view position string to mammography view enum.
 
bool kcenon::pacs::services::sop_classes::is_screening_view (mg_view_position position) noexcept
 Check if a view position is a standard screening view.
 
bool kcenon::pacs::services::sop_classes::is_magnification_view (mg_view_position position) noexcept
 Check if a view position requires magnification.
 
bool kcenon::pacs::services::sop_classes::is_spot_compression_view (mg_view_position position) noexcept
 Check if a view position involves spot compression.
 
std::vector< std::string_view > kcenon::pacs::services::sop_classes::get_valid_mg_view_positions () noexcept
 Get all valid mammography view position strings.
 
bool kcenon::pacs::services::sop_classes::is_valid_compression_force (double force_n) noexcept
 Validate compression force value.
 
std::pair< double, double > kcenon::pacs::services::sop_classes::get_typical_compression_force_range () noexcept
 Get typical compression force range.
 
bool kcenon::pacs::services::sop_classes::is_valid_compressed_breast_thickness (double thickness_mm) noexcept
 Validate compressed breast thickness.
 
std::string_view kcenon::pacs::services::sop_classes::to_string (mg_image_type type) noexcept
 Convert mammography image type to string.
 
std::string_view kcenon::pacs::services::sop_classes::to_string (cad_processing_status status) noexcept
 Convert CAD processing status to display string.
 
std::vector< std::string > kcenon::pacs::services::sop_classes::get_mg_storage_sop_classes (bool include_tomosynthesis=true)
 Get all Mammography Storage SOP Class UIDs.
 
const mg_sop_class_infokcenon::pacs::services::sop_classes::get_mg_sop_class_info (std::string_view uid) noexcept
 Get information about a specific Mammography SOP Class.
 
bool kcenon::pacs::services::sop_classes::is_mg_storage_sop_class (std::string_view uid) noexcept
 Check if a SOP Class UID is a Mammography Storage SOP Class.
 
bool kcenon::pacs::services::sop_classes::is_breast_tomosynthesis_sop_class (std::string_view uid) noexcept
 Check if a SOP Class UID is a breast tomosynthesis SOP Class.
 
bool kcenon::pacs::services::sop_classes::is_mg_for_processing_sop_class (std::string_view uid) noexcept
 Check if a SOP Class UID is a For Processing mammography SOP Class.
 
bool kcenon::pacs::services::sop_classes::is_mg_for_presentation_sop_class (std::string_view uid) noexcept
 Check if a SOP Class UID is a For Presentation mammography SOP Class.
 
std::vector< std::string > kcenon::pacs::services::sop_classes::get_mg_transfer_syntaxes ()
 Get recommended transfer syntaxes for mammography images.
 
bool kcenon::pacs::services::sop_classes::is_valid_laterality_view_combination (breast_laterality laterality, mg_view_position view) noexcept
 Check if laterality and view position are consistent.
 
std::vector< std::pair< breast_laterality, mg_view_position > > kcenon::pacs::services::sop_classes::get_standard_screening_views () noexcept
 Get standard four-view screening exam views.
 
std::string kcenon::pacs::services::sop_classes::create_mg_image_type (bool is_original, bool is_primary, mg_image_type type)
 Create DICOM-compliant image type value for mammography.
 

Detailed Description

Implementation of Digital Mammography X-Ray Image Storage utilities.

Definition in file mg_storage.cpp.