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 <FMEThirdPartyWarningsDisable.h>
21
#include <complex>
22
#include <FMEThirdPartyWarningsRestore.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:21
mlUtilsSystem.h
DCMTree::Const_TreePtr
boost::shared_ptr< const Tree > Const_TreePtr
Definition
DCMTree_Lib.h:67
ml::DICOMTagTools::getComplexSpectDataCopy
MLDICOMTags_EXPORT void getComplexSpectDataCopy(DCMTree::Const_TreePtr treePtr, size_t &chunkSize, SpectComplex *&cplxChunk)
ml::DICOMTagTools::hasMrsASCIITag
MLDICOMTags_EXPORT bool hasMrsASCIITag(DCMTree::Const_TreePtr treePtr)
ml::DICOMTagTools::getSpectDataPtrFromTree
MLDICOMTags_EXPORT const SpectComplex * getSpectDataPtrFromTree(DCMTree::Const_TreePtr treePtr, size_t *valSizeInBytes=nullptr)
ml::DICOMTagTools::SpectComplex
std::complex< float > SpectComplex
Define a complex data type to be used for spectroscopy data.
Definition
mlDICOMTagSpectTools.h:32
FMEstable
ReleaseMeVis
Projects
DICOM
MLDICOMTags
Sources
mlDICOMTagSpectTools.h
Generated by
1.15.0