MeVisLab Toolbox Reference
mlDICOMTreeInfos.h
Go to the documentation of this file.
1
// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2
// **InsertLicense** code
3
//----------------------------------------------------------------------------------
5
10
//----------------------------------------------------------------------------------
11
#pragma once
12
13
// Local includes
14
#include "
MLDicomToMLToolsSystem.h
"
15
16
// ML_NAMESPACE and other basic defines.
17
#include <
mlTypeDefs.h
>
18
19
#include <FMEThirdPartyWarningsDisable.h>
20
#include <string>
21
#include <FMEThirdPartyWarningsRestore.h>
22
23
ML_START_NAMESPACE
24
25
//----------------------------------------------------------------------------------
27
//----------------------------------------------------------------------------------
28
namespace
DicomToMLTools {
29
30
//----------------------------------------------------------------------------------
32
//----------------------------------------------------------------------------------
33
class
MLDICOM_TO_ML_TOOLS_EXPORT
DCMTreeInfo
{
34
35
public
:
37
DCMTreeInfo
();
38
40
std::string
getReportString
()
const
;
41
43
std::string
modality
;
44
46
std::string
isImageModality
;
47
49
size_t
numLevels
;
50
52
size_t
numTopLevelTags
;
53
55
size_t
numTopLevelPrivateTags
;
56
58
size_t
numTopLevelPrivateCreators
;
59
61
size_t
numTopLevelPrivateSequenceTags
;
62
64
size_t
numTopLevelOrdinaryTags
;
65
67
size_t
numTopLevelSequenceTags
;
68
70
size_t
numTopLevelBadTags
;
71
73
size_t
sizeOfLargestTag
;
74
76
std::string
idOfLargestTag
;
77
79
std::string
hasParentTree
;
80
82
std::string
hasDictionary
;
83
};
84
85
};
86
87
ML_END_NAMESPACE
MLDicomToMLToolsSystem.h
Project global and OS specific declarations.
MLDICOM_TO_ML_TOOLS_EXPORT
#define MLDICOM_TO_ML_TOOLS_EXPORT
DLL export macro definition.
Definition
MLDicomToMLToolsSystem.h:21
ml::DicomToMLTools::DCMTreeInfo
Small container for statistical information about a DCMTree.
Definition
mlDICOMTreeInfos.h:33
ml::DicomToMLTools::DCMTreeInfo::idOfLargestTag
std::string idOfLargestTag
Tag id of largest tag.
Definition
mlDICOMTreeInfos.h:76
ml::DicomToMLTools::DCMTreeInfo::numTopLevelTags
size_t numTopLevelTags
Number of top-level tags (including private creators, tags and sequences).
Definition
mlDICOMTreeInfos.h:52
ml::DicomToMLTools::DCMTreeInfo::numTopLevelPrivateTags
size_t numTopLevelPrivateTags
Number of top-level private tags (including private creators and sequences).
Definition
mlDICOMTreeInfos.h:55
ml::DicomToMLTools::DCMTreeInfo::numTopLevelPrivateSequenceTags
size_t numTopLevelPrivateSequenceTags
Number of top-level private sequence tags.
Definition
mlDICOMTreeInfos.h:61
ml::DicomToMLTools::DCMTreeInfo::numTopLevelPrivateCreators
size_t numTopLevelPrivateCreators
Number of top-level private creators.
Definition
mlDICOMTreeInfos.h:58
ml::DicomToMLTools::DCMTreeInfo::modality
std::string modality
Modality of the DICOM file.
Definition
mlDICOMTreeInfos.h:43
ml::DicomToMLTools::DCMTreeInfo::numTopLevelBadTags
size_t numTopLevelBadTags
Number of top-level inaccessible tags.
Definition
mlDICOMTreeInfos.h:70
ml::DicomToMLTools::DCMTreeInfo::isImageModality
std::string isImageModality
"Yes" if it is a known image modality, "No" if not and "Unknown" otherwise.
Definition
mlDICOMTreeInfos.h:46
ml::DicomToMLTools::DCMTreeInfo::hasDictionary
std::string hasDictionary
"Yes" if a dictionary is set, otherwise "No".
Definition
mlDICOMTreeInfos.h:82
ml::DicomToMLTools::DCMTreeInfo::numLevels
size_t numLevels
Deepness of the tree.
Definition
mlDICOMTreeInfos.h:49
ml::DicomToMLTools::DCMTreeInfo::sizeOfLargestTag
size_t sizeOfLargestTag
Size of largest tag.
Definition
mlDICOMTreeInfos.h:73
ml::DicomToMLTools::DCMTreeInfo::DCMTreeInfo
DCMTreeInfo()
Default constructor setting all members to 0.
ml::DicomToMLTools::DCMTreeInfo::hasParentTree
std::string hasParentTree
"Yes" if there is a parent tree, otherwise "No".
Definition
mlDICOMTreeInfos.h:79
ml::DicomToMLTools::DCMTreeInfo::numTopLevelSequenceTags
size_t numTopLevelSequenceTags
Number of top-level sequence tags (without private sequences).
Definition
mlDICOMTreeInfos.h:67
ml::DicomToMLTools::DCMTreeInfo::numTopLevelOrdinaryTags
size_t numTopLevelOrdinaryTags
Number of top-level tags including sequences and without private tags.
Definition
mlDICOMTreeInfos.h:64
ml::DicomToMLTools::DCMTreeInfo::getReportString
std::string getReportString() const
Returns a human-readable string displaying the tree information stored in this class.
mlrange_cast
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Definition
mlRangeCasts.h:332
mlTypeDefs.h
FMEstable
ReleaseMeVis
Projects
DICOM
MLDicomToMLTools
Sources
mlDICOMTreeInfos.h
Generated by
1.10.0