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"
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 
51  PagedImage &overlayPagedImg,
53 
71  MLint z, MLint t, MLint u,
72  std::vector<BitImage> &bitImages);
73 
82  SubImage &outSubImg);
83 };
84 
85 ML_END_NAMESPACE
Project global and OS specific declarations.
#define MLDICOM_TO_ML_TOOLS_EXPORT
DLL export macro definition.
Class which represents an image, which manages properties of an image and image data which is located...
Definition: mlPagedImage.h:70
This class manages/represents a rectangular 6d image region which is organized linearly in memory.
Definition: mlSubImage.h:75
Header file of tool functions for the extraction and handling of information of specific DICOM frames...
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
Definition: mlTypeDefs.h:578
boost::shared_ptr< const Tree > Const_TreePtr
Definition: DCMTree_Lib.h:73
std::vector< FrameSpecificTags > FrameSpecificTagsVector
Often used std::vector type of FrameSpecificTag elements.
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...
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 ...
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....
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.