MeVisLab Toolbox Reference
Loading...
Searching...
No Matches
mlRTImageToML.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
5
11//----------------------------------------------------------------------------------
12#pragma once
13
14#include "librarySystem.h"
15#include <mlAlgorithmModule.h>
16#include <mlDRTImageIODBase.h>
17#include <DCMTree_Lib.h>
18
20
21class DRTImageIODBase;
22class MultiFileVolume;
23
26 : public AlgorithmModule
27{
28public:
30
31protected:
32 virtual void validateInput() override;
33 virtual void update() override;
34 virtual void clear() override;
37
38private:
39 BaseField *_inRTImageField = nullptr;
40 DRTImageIODBasePtr _rtImage = nullptr;
41 MultiFileVolume *_volumeReference = nullptr;
42
44};
45
Project global and OS specific declarations.
#define MLDCMTKMLCONVERTERMODULES_EXPORT
ML-Module base class to simplify development of modules encapsulating an algorithm with dedicated inp...
Field to encapsulate a pointer to an ML base object.
Definition mlFields.h:813
Management class used by DirectDicomImport to create, represent and describe volumes composed of mult...
The class PagedImage, representing a fragmented image that manages properties and data of an image lo...
ML module converting RT Image to a MLImage.
virtual void calculateOutputSubImage(SubImage *outSubImage, int outIndex, SubImage *inSubImages) override
Calculates page outputSubImage of output image with index outputIndex given the input image tiles in ...
virtual void clear() override
Clears the values of module's output fields (object and parameter fields).
virtual void setOutputImageProperties(int outIndex, PagedImage *outImage) override
Sets properties of the output image at output outputIndex.
virtual void update() override
Executes the algorithm and updates the values of module's output fields with results.
virtual void validateInput() override
Validates the values of module's input fields (object and parameter fields).
This class manages/represents a rectangular 6D image region that is organized linearly in memory.
Definition mlSubImage.h:75
#define ML_MODULE_CLASS_HEADER(className)
Similar to ML_CLASS_HEADER for the usage of derived classes from Module.
Base object class for passing DRTImageIOD objects between MeVisLab modules.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.