MeVisLab Toolbox Reference
mlDcmtkMLConvertersTools.h
Go to the documentation of this file.
1
// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2
// **InsertLicense** code
3
//----------------------------------------------------------------------------------
5
10
//----------------------------------------------------------------------------------
11
#ifndef __mlDcmtkMLConvertersTools_H
12
#define __mlDcmtkMLConvertersTools_H
13
14
#include "
MLDcmtkMLConvertersSystem.h
"
15
16
#include <
mlTypeDefs.h
>
17
#include <
DCMTree_Lib.h
>
18
19
ML_START_NAMESPACE
20
21
class
PagedImage;
22
class
CSO;
23
24
namespace
DcmtkMLConvertersTools
25
{
30
MLDCMTKMLCONVERTERS_EXPORT
31
std::string
getTagValueFromImage
(
DCMTree::RawTagId
tagId,
PagedImage
*image);
32
36
MLDCMTKMLCONVERTERS_EXPORT
37
std::string
getFrameSpecificTagValueFromImage
(
DCMTree::RawTagId
tagId,
int
frameIndex
,
38
PagedImage
*image);
39
43
MLDCMTKMLCONVERTERS_EXPORT
44
bool
getSliceRangeOfCSO
(
const
CSO
& cso,
const
PagedImage
& image,
int
&minSlice,
int
&maxSlice);
45
47
MLDCMTKMLCONVERTERS_EXPORT
void
throwIfShouldAbort
();
48
}
49
50
ML_END_NAMESPACE
51
52
#endif
DCMTree_Lib.h
MLDcmtkMLConvertersSystem.h
Project global and OS specific declarations.
MLDCMTKMLCONVERTERS_EXPORT
#define MLDCMTKMLCONVERTERS_EXPORT
Definition
MLDcmtkMLConvertersSystem.h:22
ml::CSO
The CSO represents a contour segmentation object.
Definition
CSO.h:44
ml::PagedImage
Class which represents an image, which manages properties of an image and image data which is located...
Definition
mlPagedImage.h:66
mlrange_cast
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Definition
mlRangeCasts.h:332
mlTypeDefs.h
DCMTree::RawTagId
unsigned int RawTagId
Definition
DCMTree_Lib.h:147
ml::DcmtkMLConvertersTools::getFrameSpecificTagValueFromImage
MLDCMTKMLCONVERTERS_EXPORT std::string getFrameSpecificTagValueFromImage(DCMTree::RawTagId tagId, int frameIndex, PagedImage *image)
Returns tag value of a tag with given ID associated with given frame of input image.
ml::DcmtkMLConvertersTools::throwIfShouldAbort
MLDCMTKMLCONVERTERS_EXPORT void throwIfShouldAbort()
Function throwing std::runtime_error if a global abort was requested.
ml::DcmtkMLConvertersTools::getSliceRangeOfCSO
MLDCMTKMLCONVERTERS_EXPORT bool getSliceRangeOfCSO(const CSO &cso, const PagedImage &image, int &minSlice, int &maxSlice)
Returns range of slices on which CSO lays.
ml::DcmtkMLConvertersTools::getTagValueFromImage
MLDCMTKMLCONVERTERS_EXPORT std::string getTagValueFromImage(DCMTree::RawTagId tagId, PagedImage *image)
Returns tag value of first tag with given ID found in the DICOM tree associated with given image.
FMEwork
ReleaseMeVis
Sources
Shared
MLDcmtkMLConverters
mlDcmtkMLConvertersTools.h
Generated by
1.10.0