MeVisLab Toolbox Reference
mlDicomOverlayTools.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
// Local includes
14
#include "
MLDicomToMLToolsSystem.h
"
15
#include "
mlDicomFrameSelectionTools.h
"
16
17
// ML includes
18
#include <
mlModuleIncludes.h
>
19
20
// DICOM tree prototypes.
21
#include <
DCMTree_Lib.h
>
22
23
ML_START_NAMESPACE
24
25
// Forward of volume representation of DirectDicomImport module.
26
class
BitImage;
27
28
//----------------------------------------------------------------------------------
31
//----------------------------------------------------------------------------------
32
namespace
DicomToMLTools {
33
35
MLDICOM_TO_ML_TOOLS_EXPORT
std::vector<DCMTree::RawTagId>
getOverlayTagSet
();
36
50
MLDICOM_TO_ML_TOOLS_EXPORT
void
setUpOverlayOutputProperties
(
DCMTree::Const_TreePtr
dcmTree,
51
PagedImage
&
overlayPagedImg
,
52
DicomToMLTools::FrameSpecificTagsVector
&
overlayTagSet
);
53
70
MLDICOM_TO_ML_TOOLS_EXPORT
std::string
createOverlayBitSubImages
(
const
FrameSpecificTagsVector
&
tagSet
,
71
MLint
z,
MLint
t,
MLint
u,
72
std::vector<BitImage> &
bitImages
);
73
81
MLDICOM_TO_ML_TOOLS_EXPORT
std::string
rasterOverlays
(
DicomToMLTools::FrameSpecificTagsVector
&
overlayTagSet
,
82
SubImage
&outSubImg);
83
};
84
85
ML_END_NAMESPACE
DCMTree_Lib.h
MLDicomToMLToolsSystem.h
Project global and OS specific declarations.
MLDICOM_TO_ML_TOOLS_EXPORT
#define MLDICOM_TO_ML_TOOLS_EXPORT
DLL export macro definition.
Definition
MLDicomToMLToolsSystem.h:21
ml::PagedImage
Class which represents an image, which manages properties of an image and image data which is located...
Definition
mlPagedImage.h:66
ml::SubImage
This class manages/represents a rectangular 6d image region which is organized linearly in memory.
Definition
mlSubImage.h:75
mlDicomFrameSelectionTools.h
Header file of tool functions for the extraction and handling of information of specific DICOM frames...
mlModuleIncludes.h
mlrange_cast
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Definition
mlRangeCasts.h:332
MLint
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
Definition
mlTypeDefs.h:490
DCMTree::Const_TreePtr
boost::shared_ptr< const Tree > Const_TreePtr
Definition
DCMTree_Lib.h:73
ml::DicomToMLTools::FrameSpecificTagsVector
std::vector< FrameSpecificTags > FrameSpecificTagsVector
Often used std::vector type of FrameSpecificTag elements.
Definition
mlDicomFrameSelectionTools.h:67
ml::DicomToMLTools::setUpOverlayOutputProperties
MLDICOM_TO_ML_TOOLS_EXPORT void setUpOverlayOutputProperties(DCMTree::Const_TreePtr dcmTree, PagedImage &overlayPagedImg, DicomToMLTools::FrameSpecificTagsVector &overlayTagSet)
Determine DICOM overlay information from dcmTree, configures (or if necessary invalidates) the passed...
ml::DicomToMLTools::getOverlayTagSet
MLDICOM_TO_ML_TOOLS_EXPORT std::vector< DCMTree::RawTagId > getOverlayTagSet()
Create a vector with all possible ids of type 1 and important type 3 overlay tags.
ml::DicomToMLTools::createOverlayBitSubImages
MLDICOM_TO_ML_TOOLS_EXPORT std::string createOverlayBitSubImages(const FrameSpecificTagsVector &tagSet, MLint z, MLint t, MLint u, std::vector< BitImage > &bitImages)
Create and return a BitImage in bitSubImages for each overlay for which all required type 1 tags are ...
ml::DicomToMLTools::rasterOverlays
MLDICOM_TO_ML_TOOLS_EXPORT std::string rasterOverlays(DicomToMLTools::FrameSpecificTagsVector &overlayTagSet, SubImage &outSubImg)
Takes overlay DICOM tags from overlayTagSet matching the x/y plane of outSubImage....
FMEstable
ReleaseMeVis
Projects
DICOM
MLDicomToMLTools
Sources
mlDicomOverlayTools.h
Generated by
1.10.0