PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
mr_storage.cpp
Go to the documentation of this file.
1// BSD 3-Clause License
2// Copyright (c) 2021-2025, 🍀☀🌕🌥 🌊
3// See the LICENSE file in the project root for full license information.
4
13
15
16std::vector<std::string> get_mr_storage_sop_classes() {
17 return {
18 std::string(mr_image_storage_uid),
20 };
21}
22
23bool is_mr_storage_sop_class(std::string_view uid) noexcept {
24 return uid == mr_image_storage_uid ||
26}
27
28bool is_valid_mr_photometric(std::string_view value) noexcept {
29 return value == "MONOCHROME1" || value == "MONOCHROME2";
30}
31
32} // namespace kcenon::pacs::services::sop_classes
MR Image Storage SOP Classes.
bool is_mr_storage_sop_class(std::string_view uid) noexcept
Check if a SOP Class UID is an MR Storage SOP Class.
constexpr std::string_view enhanced_mr_image_storage_uid
Enhanced MR Image Storage SOP Class UID.
Definition mr_storage.h:38
std::vector< std::string > get_mr_storage_sop_classes()
Get all MR Storage SOP Class UIDs.
bool is_valid_mr_photometric(std::string_view value) noexcept
Check if photometric interpretation is valid for MR.
constexpr std::string_view mr_image_storage_uid
MR Image Storage SOP Class UID.
Definition mr_storage.h:34
std::string_view uid