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
15
16#include <mlTypeDefs.h>
17#include <DCMTree_Lib.h>
18
20
21class PagedImage;
22class CSO;
23
24namespace DcmtkMLConvertersTools
25{
32
38 PagedImage *image);
39
44bool getSliceRangeOfCSO(const CSO& cso, const PagedImage& image, int &minSlice, int &maxSlice);
45
48}
49
51
52#endif
Project global and OS specific declarations.
#define MLDCMTKMLCONVERTERS_EXPORT
The CSO represents a contour segmentation object.
Definition CSO.h:44
Class which represents an image, which manages properties of an image and image data which is located...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
unsigned int RawTagId
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.
MLDCMTKMLCONVERTERS_EXPORT void throwIfShouldAbort()
Function throwing std::runtime_error if a global abort was requested.
MLDCMTKMLCONVERTERS_EXPORT bool getSliceRangeOfCSO(const CSO &cso, const PagedImage &image, int &minSlice, int &maxSlice)
Returns range of slices on which CSO lays.
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.