MeVisLab Toolbox Reference
mlDICOMSOPClassAndModalityTools.h File Reference

A collection of tools related to Modality and SOP Class UID checks. More...

#include "MLDICOMTagsSystem.h"
#include <FMEThirdPartyWarningsDisable.h>
#include <string>
#include <tuple>
#include <FMEThirdPartyWarningsRestore.h>
#include <mlUtilsSystem.h>
#include <DCMTree_Lib.h>

Go to the source code of this file.

Namespaces

namespace  ml
 Defines the class GetTileJob.
namespace  ml::DICOMTagTools
 A namespace collecting tools related to DICOM tags and tree tools.

Functions

MLDICOMTags_EXPORT std::string ml::DICOMTagTools::getModalityTagValue (DCMTree::Const_TreePtr treePtr) ML_RETURN_VALUE_SHOULD_BE_USED
MLDICOMTags_EXPORT std::string ml::DICOMTagTools::getSOPClassUIDTagValue (DCMTree::Const_TreePtr treePtr, const bool tryEnhancedReconstruction=false) ML_RETURN_VALUE_SHOULD_BE_USED
MLDICOMTags_EXPORT bool ml::DICOMTagTools::hasTrueModality (DCMTree::Const_TreePtr treePtr, const std::string &modality) ML_RETURN_VALUE_SHOULD_BE_USED
MLDICOMTags_EXPORT bool ml::DICOMTagTools::hasSOPClassUID (DCMTree::Const_TreePtr dcmTree, const std::string &sopClassUID, bool doDeepSearch=false) ML_RETURN_VALUE_SHOULD_BE_USED
MLDICOMTags_EXPORT bool ml::DICOMTagTools::hasNMSOPClassUID (DCMTree::Const_TreePtr dcmTree) ML_RETURN_VALUE_SHOULD_BE_USED
MLDICOMTags_EXPORT bool ml::DICOMTagTools::hasStandardMRSpectroscopyClassUID (DCMTree::Const_TreePtr dcmTree) ML_RETURN_VALUE_SHOULD_BE_USED
MLDICOMTags_EXPORT bool ml::DICOMTagTools::hasRetiredPETCurveStorageSOPClassUID (DCMTree::Const_TreePtr dcmTree) ML_RETURN_VALUE_SHOULD_BE_USED
MLDICOMTags_EXPORT bool ml::DICOMTagTools::hasSCSOPClassUID (DCMTree::Const_TreePtr dcmTree) ML_RETURN_VALUE_SHOULD_BE_USED
 Returns true if dcmTree is valid and has a SOPClassUID tag value matching a secondary capture SOPClassUID (which does not have a specific Modality value).
MLDICOMTags_EXPORT bool ml::DICOMTagTools::hasParametricMapSOPClassUID (DCMTree::Const_TreePtr dcmTree) ML_RETURN_VALUE_SHOULD_BE_USED
 Returns true if dcmTree is valid and has a Parametric Map SOPClassUID (which does not have a specific Modality value).
MLDICOMTags_EXPORT bool ml::DICOMTagTools::hasSOPClassUIDOfModality (DCMTree::Const_TreePtr dcmTree, const std::string &modality) ML_RETURN_VALUE_SHOULD_BE_USED
MLDICOMTags_EXPORT bool ml::DICOMTagTools::isKnownRetiredModality (const std::string &modality) ML_RETURN_VALUE_SHOULD_BE_USED
 Returns true if modality is a known retired one, otherwise false.
MLDICOMTags_EXPORT bool ml::DICOMTagTools::isKnownModality (const std::string &modality, bool includeRetired) ML_RETURN_VALUE_SHOULD_BE_USED
MLDICOMTags_EXPORT std::string ml::DICOMTagTools::getModalityForSOPClassUID (const std::string &sopClassUID) ML_RETURN_VALUE_SHOULD_BE_USED
MLDICOMTags_EXPORT bool ml::DICOMTagTools::isMultiFrameSOPClassUID (const std::string &SOPClassUID) ML_RETURN_VALUE_SHOULD_BE_USED
MLDICOMTags_EXPORT bool ml::DICOMTagTools::isEnhancedSOPClassUID (const std::string &enhancedSOPClassUID) ML_RETURN_VALUE_SHOULD_BE_USED
 Returns true if the pass UID is an enhanced Image Storage SOPClassUID, otherwise false.
MLDICOMTags_EXPORT bool ml::DICOMTagTools::hasSharedOrPerFrameFunctionalGroupSequences (DCMTree::Const_TreePtr dcmTree) ML_RETURN_VALUE_SHOULD_BE_USED
 Returns true if the Shared- or the PerFrameFunctionalGroupSequences are on root level, otherwise false.
MLDICOMTags_EXPORT bool ml::DICOMTagTools::hasMultiFrameModule (DCMTree::Const_TreePtr dcmTree) ML_RETURN_VALUE_SHOULD_BE_USED
MLDICOMTags_EXPORT std::string ml::DICOMTagTools::translateToSingleFrameSOPClassUID (const std::string &enhancedSOPClassUID) ML_RETURN_VALUE_SHOULD_BE_USED
MLDICOMTags_EXPORT std::string ml::DICOMTagTools::reconstructEnhancedSOPClassUID (DCMTree::Const_TreePtr dcmMFTree, std::string classicSOPClassUID) ML_RETURN_VALUE_SHOULD_BE_USED
MLDICOMTags_EXPORT void ml::DICOMTagTools::setUpSingleFrameImageStorageSOPClassUIDDerivedFromEnhancedOne (DCMTree::Const_TreePtr dcmMFTree, DCMTree::TreePtr singleFrame, DicomMessageCollector &dcmMsgCollector)
MLDICOMTags_EXPORT std::pair< bool, bool > ml::DICOMTagTools::isClassicOrEnhancedMultiFrameSOPClass (const std::string &sopClassUID)
 Checks whether sopClassUID is a multi-frame or enhanced one and returns a pair with pair.first = isMulti-frame and the pair.second isEnhanced.

Detailed Description

A collection of tools related to Modality and SOP Class UID checks.

Author
Wolf Spindler
Date
11/2014

Definition in file mlDICOMSOPClassAndModalityTools.h.