MeVisLab Toolbox Reference
|
Tool functions for the conversion of DICOM information to ML overlay images. More...
#include "MLDicomToMLToolsSystem.h"
#include "mlDicomFrameSelectionTools.h"
#include <mlModuleIncludes.h>
#include <DCMTree_Lib.h>
Go to the source code of this file.
Namespaces | |
namespace | ml |
Main documentation file for ML users and developers. | |
namespace | ml::DicomToMLTools |
Tool functions for the extraction and handling of information of specific DICOM frames. | |
Functions | |
MLDICOM_TO_ML_TOOLS_EXPORT std::vector< DCMTree::RawTagId > | ml::DicomToMLTools::getOverlayTagSet () |
Create a vector with all possible ids of type 1 and important type 3 overlay tags. | |
MLDICOM_TO_ML_TOOLS_EXPORT void | ml::DicomToMLTools::setUpOverlayOutputProperties (DCMTree::Const_TreePtr dcmTree, PagedImage &overlayPagedImg, DicomToMLTools::FrameSpecificTagsVector &overlayTagSet) |
Determine DICOM overlay information from dcmTree, configures (or if necessary invalidates) the passed overlayPagedImg such that it can display these overlays correctly, and sets up overlayTagSet such that it provides all required DICOM tags to display them properly in calculateOutputSubImage. | |
MLDICOM_TO_ML_TOOLS_EXPORT std::string | ml::DicomToMLTools::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 found in the first z,t,u frame occurrence. | |
MLDICOM_TO_ML_TOOLS_EXPORT std::string | ml::DicomToMLTools::rasterOverlays (DicomToMLTools::FrameSpecificTagsVector &overlayTagSet, SubImage &outSubImg) |
Takes overlay DICOM tags from overlayTagSet matching the x/y plane of outSubImage.getBox().v1, create BitImages from them and copies them into outSubImage where the entire background it filled with 0, and valid overlay bits are set to 1. | |
Tool functions for the conversion of DICOM information to ML overlay images.
Definition in file mlDicomOverlayTools.h.