MeVisLab Toolbox Reference
|
Enumerations | |
enum | { NUM_CID_COLUMNS = 7 } |
The number of columns in the CID tables. More... | |
enum | { NUM_CID_8_Angiographic_Interventional_Devices = 15 } |
Number of codes from DICOM Part 16, CID 8 Angiographic Interventional Devices. More... | |
enum | { NUM_CID_244_Laterality = 4 } |
Number of codes from DICOM Part 16, CID 244 Laterality. More... | |
enum | { NUM_CID_3829_Pulmonary_Arteries = 5 } |
Number of codes from DICOM Part 16, CID 3829 Pulmonary Arteries. More... | |
enum | { NUM_CID_7063_Model_Scale_Units = 4 } |
Number of codes from DICOM Part 16, CID 7063 Model Scale Units. More... | |
enum | { NUM_CID_7150_Segmentation_Property_Categories = 7 } |
Number of codes from DICOM Part 16, CID 7150 Segmentation Property Categories. More... | |
enum | { NUM_CID_7151_Segmentation_Property_Types } |
Number of codes from DICOM Part 16, CID 7151 Segmentation Property Types. More... | |
enum | { NUM_CID_7202_Source_Image_Purposes_of_Reference = 8 } |
Number of codes from DICOM Part 16, CID 7202 Source Image Purposes of Reference. More... | |
enum | { NUM_CID_7203_Image_Derivation = 51 } |
Number of codes from DICOM Part 16, CID 7203 Image Derivation. More... | |
Functions | |
MLDICOMTags_EXPORT std::vector< std::string > | getCIDEntryAsStringVector (const char *const CIDGroup[][NUM_CID_COLUMNS], size_t CIDGroupSize, const std::string &sep0="", size_t column0=std::string::npos, const std::string &sep1="", size_t column1=std::string::npos, const std::string &sep2="", size_t column2=std::string::npos, const std::string &sep3="", size_t column3=std::string::npos, const std::string &sep4="", size_t column4=std::string::npos, const std::string &sep5="", size_t column5=std::string::npos, const std::string &sep6="", size_t column6=std::string::npos, const std::string &sep7="") |
Returns a concatenation of at most three columns of all CIDGroup[][column] entries of the given CIDGroup as a std::vector< std::string >; column entries are introduced, separated, and completed with given separators sep0-NUM_CID_COLUMNS. | |
MLDICOMTags_EXPORT size_t | findCIDEntry (const char *const CIDGroupTable[][NUM_CID_COLUMNS], size_t CIDGroupTableSize, const std::string &entryToFind) |
Returns index X of entry of CIDGroupTable[X] where entryToFind appears the first time, otherwise std::string::npos is returned. | |
MLDICOMTags_EXPORT bool | decomposeCIDContextGroupSequenceString (const char *const CIDGroupTable[][NUM_CID_COLUMNS], size_t CIDGroupTableSize, const std::string &contextGroupSequence, ReleaseToolsString::StringVector &resultVector) |
Decomposed the string contextGroupSequence which assumes that it is a composition of CID Code Values followed by a _CIDEditCodeAndDescriptionSeparator and a descriptive string where multiple of these Code Value - Description strings may be composed by _CIDEntrySeparator components. | |
The number of columns in the CID tables.
Enumerator | |
---|---|
NUM_CID_COLUMNS |
Definition at line 35 of file DICOMPart16Tables.h.
Number of codes from DICOM Part 16, CID 8 Angiographic Interventional Devices.
Enumerator | |
---|---|
NUM_CID_8_Angiographic_Interventional_Devices |
Definition at line 121 of file DICOMPart16Tables.h.
Number of codes from DICOM Part 16, CID 244 Laterality.
Enumerator | |
---|---|
NUM_CID_244_Laterality |
Definition at line 128 of file DICOMPart16Tables.h.
Number of codes from DICOM Part 16, CID 3829 Pulmonary Arteries.
Enumerator | |
---|---|
NUM_CID_3829_Pulmonary_Arteries |
Definition at line 135 of file DICOMPart16Tables.h.
Number of codes from DICOM Part 16, CID 7063 Model Scale Units.
Enumerator | |
---|---|
NUM_CID_7063_Model_Scale_Units |
Definition at line 142 of file DICOMPart16Tables.h.
Number of codes from DICOM Part 16, CID 7150 Segmentation Property Categories.
Enumerator | |
---|---|
NUM_CID_7150_Segmentation_Property_Categories |
Definition at line 169 of file DICOMPart16Tables.h.
Number of codes from DICOM Part 16, CID 7151 Segmentation Property Types.
Enumerator | |
---|---|
NUM_CID_7151_Segmentation_Property_Types |
Definition at line 176 of file DICOMPart16Tables.h.
Number of codes from DICOM Part 16, CID 7202 Source Image Purposes of Reference.
Enumerator | |
---|---|
NUM_CID_7202_Source_Image_Purposes_of_Reference |
Definition at line 187 of file DICOMPart16Tables.h.
Number of codes from DICOM Part 16, CID 7203 Image Derivation.
Enumerator | |
---|---|
NUM_CID_7203_Image_Derivation |
Definition at line 194 of file DICOMPart16Tables.h.
MLDICOMTags_EXPORT bool ml::CIDGroups::decomposeCIDContextGroupSequenceString | ( | const char *const | CIDGroupTable[][NUM_CID_COLUMNS], |
size_t | CIDGroupTableSize, | ||
const std::string & | contextGroupSequence, | ||
ReleaseToolsString::StringVector & | resultVector ) |
Decomposed the string contextGroupSequence which assumes that it is a composition of CID Code Values followed by a _CIDEditCodeAndDescriptionSeparator and a descriptive string where multiple of these Code Value - Description strings may be composed by _CIDEntrySeparator components.
If contextGroupSequence is empty or not empty and obeys this format then true is returned, otherwise false. If true is returned the resultVector will be set to the Code Values of the entries, otherwise it will be cleared.
References decomposeCIDContextGroupSequenceString().
Referenced by decomposeCIDContextGroupSequenceString().
MLDICOMTags_EXPORT size_t ml::CIDGroups::findCIDEntry | ( | const char *const | CIDGroupTable[][NUM_CID_COLUMNS], |
size_t | CIDGroupTableSize, | ||
const std::string & | entryToFind ) |
Returns index X of entry of CIDGroupTable[X] where entryToFind appears the first time, otherwise std::string::npos is returned.
CIDGroupTable | A CID code table in which a CID entry shall be searched. |
CIDGroupTableSize | The size of a CID code table in which a CID entry shall be searched. |
entryToFind | The string which must match the column1 entry of the table entry to find. |
References findCIDEntry().
Referenced by findCIDEntry().
MLDICOMTags_EXPORT std::vector< std::string > ml::CIDGroups::getCIDEntryAsStringVector | ( | const char *const | CIDGroup[][NUM_CID_COLUMNS], |
size_t | CIDGroupSize, | ||
const std::string & | sep0 = "", | ||
size_t | column0 = std::string::npos, | ||
const std::string & | sep1 = "", | ||
size_t | column1 = std::string::npos, | ||
const std::string & | sep2 = "", | ||
size_t | column2 = std::string::npos, | ||
const std::string & | sep3 = "", | ||
size_t | column3 = std::string::npos, | ||
const std::string & | sep4 = "", | ||
size_t | column4 = std::string::npos, | ||
const std::string & | sep5 = "", | ||
size_t | column5 = std::string::npos, | ||
const std::string & | sep6 = "", | ||
size_t | column6 = std::string::npos, | ||
const std::string & | sep7 = "" ) |
Returns a concatenation of at most three columns of all CIDGroup[][column] entries of the given CIDGroup as a std::vector< std::string >; column entries are introduced, separated, and completed with given separators sep0-NUM_CID_COLUMNS.
CIDGroup | The CID group pointer from which an entry column shall be retrieved. |
CIDGroupSize | The number of entries of the CIDGroup. |
sep0 | The separator added before column entries 0 even if it is disabled. |
column0 | The column to be extracted from the table, must be from [0, .., NUM_CID_COLUMNS-1], std::string::npos disables addition of the column. |
sep1 | The separator passed between added column entries 0 and 1 even if they are disabled. |
column1 | The column to be extracted from the table, must be from [0, .., NUM_CID_COLUMNS-1], std::string::npos disables addition of the column. |
sep2 | Analogue to sep1. |
column2 | Analogue to column1. |
sep3 | Analogue to sep1. |
column3 | Analogue to column1. |
sep4 | Analogue to sep1. |
column4 | Analogue to column1. |
sep5 | Analogue to sep1. |
column5 | Analogue to column1. |
sep6 | Analogue to sep1. |
column6 | Analogue to column1. |
sep7 | The separator added after last column entry even if it is disabled. |
References getCIDEntryAsStringVector().
Referenced by getCIDEntryAsStringVector().
|
extern |
Codes from DICOM Part 16, CID 244 Laterality.
|
extern |
Codes from DICOM Part 16, CID 3829 Pulmonary Arteries.
|
extern |
Codes from DICOM Part 16, CID 7063 Model Scale Units.
|
extern |
Codes from DICOM Part 16, CID 7150 Segmentation Property Categories.
|
extern |
Codes from DICOM Part 16, CID 7151 Segmentation Property Types.
|
extern |
Codes from DICOM Part 16, CID 7202 Source Image Purposes of Reference.
|
extern |
Codes from DICOM Part 16, CID 7203 Image Derivation.
|
extern |
Codes from DICOM Part 16, CID 8 Angiographic Interventional Devices.
|
extern |
Separator used between Code Value and descriptive string.
|
extern |
Separator used between multiple code value entries.