MeVisLab Toolbox Reference
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
17ML_START_NAMESPACE
18
19class DRTImageIODBase;
20class MultiFileVolume;
21
24 : public AlgorithmModule
25{
26public:
28
29protected:
30 virtual void validateInput() override;
31 virtual void update() override;
32 virtual void clear() override;
33 virtual void setOutputImageProperties(int outIndex, PagedImage* outImage) override;
34 virtual void calculateOutputSubImage(SubImage *outSubImage, int outIndex, SubImage *inSubImages) override;
35
36private:
37 BaseField *_inRTImageField;
38 DRTImageIODBase *_rtImage;
39 MultiFileVolume *_volumeReference;
40
42};
43
44ML_END_NAMESPACE
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:729
Base object class for passing DRTImageIOD objects between MeVisLab modules.
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.