MeVisLab Toolbox Reference
mlDICOMTagSpectTools.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
#include "
MLDICOMTagsSystem.h
"
14
15
#include <
mlUtilsSystem.h
>
16
17
// DICOM Tree prototypes.
18
#include <
DCMTree_Lib.h
>
19
20
#include <ThirdPartyWarningsDisable.h>
21
#include <complex>
22
#include <ThirdPartyWarningsRestore.h>
23
24
ML_START_NAMESPACE
25
26
//----------------------------------------------------------------------------------
28
//----------------------------------------------------------------------------------
29
namespace
DICOMTagTools {
30
32
typedef
std::complex<float>
SpectComplex
;
33
34
37
MLDICOMTags_EXPORT
bool
hasMrsASCIITag
(
DCMTree::Const_TreePtr
treePtr);
38
46
MLDICOMTags_EXPORT
const
SpectComplex
*
getSpectDataPtrFromTree
(
DCMTree::Const_TreePtr
treePtr,
47
size_t
*valSizeInBytes=
nullptr
);
48
55
MLDICOMTags_EXPORT
void
getComplexSpectDataCopy
(
DCMTree::Const_TreePtr
treePtr,
56
size_t
&chunkSize,
57
SpectComplex
*&cplxChunk);
58
};
59
60
ML_END_NAMESPACE
DCMTree_Lib.h
MLDICOMTagsSystem.h
Project global and OS specific declarations.
MLDICOMTags_EXPORT
#define MLDICOMTags_EXPORT
If included by external modules, exported symbols are declared as import symbols.
Definition:
MLDICOMTagsSystem.h:20
mlUtilsSystem.h
DCMTree::Const_TreePtr
boost::shared_ptr< const Tree > Const_TreePtr
Definition:
DCMTree_Lib.h:73
ml::DICOMTagTools::getComplexSpectDataCopy
MLDICOMTags_EXPORT void getComplexSpectDataCopy(DCMTree::Const_TreePtr treePtr, size_t &chunkSize, SpectComplex *&cplxChunk)
Tries to get a copy of the complex spectroscopy data chunk form the DCMree.
ml::DICOMTagTools::hasMrsASCIITag
MLDICOMTags_EXPORT bool hasMrsASCIITag(DCMTree::Const_TreePtr treePtr)
Returns true if the spectroscopy ASCII tags (0x0029, 0x1120) or (0x0029, 0x1220) are available in tre...
ml::DICOMTagTools::SpectComplex
std::complex< float > SpectComplex
Define a complex data type to be used for spectroscopy data.
Definition:
mlDICOMTagSpectTools.h:32
ml::DICOMTagTools::getSpectDataPtrFromTree
MLDICOMTags_EXPORT const SpectComplex * getSpectDataPtrFromTree(DCMTree::Const_TreePtr treePtr, size_t *valSizeInBytes=nullptr)
Returns the pointer to the data value in the tag (0x7fe1, 0x1010) or - if that one does not exist - f...
FMEstable
ReleaseMeVis
Projects
DICOM
MLDICOMTags
Sources
mlDICOMTagSpectTools.h
Generated by
1.9.1