Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkMaskGenerator.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkMaskGenerator_h
14 #define mitkMaskGenerator_h
15 
17 #include <mitkImage.h>
18 #include <itkRegion.h>
19 #include <itkObject.h>
20 #include <itkSmartPointer.h>
21 
22 namespace mitk
23 {
30 class MITKIMAGESTATISTICS_EXPORT MaskGenerator: public itk::Object
31 {
32 public:
34 
35  virtual unsigned int GetNumberOfMasks() const = 0;
41  mitk::Image::ConstPointer GetMask(unsigned int maskID);
42 
46  virtual mitk::Image::ConstPointer GetReferenceImage();
47 
51  itkSetConstObjectMacro(InputImage, mitk::Image);
52  itkSetMacro(TimePoint, TimePointType);
53 
54 protected:
55  MaskGenerator();
56 
62  virtual mitk::Image::ConstPointer DoGetMask(unsigned int maskID) = 0;
63 
64 
67 
68 private:
69 
70 };
71 }
72 
73 #endif
mitk::MaskGenerator::m_TimePoint
TimePointType m_TimePoint
Definition: mitkMaskGenerator.h:65
mitkImage.h
mitk::Image
Image class for storing images.
Definition: mitkImage.h:69
itk::SmartPointer< const Self >
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MITKIMAGESTATISTICS_EXPORT
#define MITKIMAGESTATISTICS_EXPORT
Definition: MitkImageStatisticsExports.h:15
mitk::TimePointType
mitk::ScalarType TimePointType
Definition: mitkTimeGeometry.h:26
mitk::MaskGenerator::m_InputImage
mitk::Image::ConstPointer m_InputImage
Definition: mitkMaskGenerator.h:66
MitkImageStatisticsExports.h
mitk::MaskGenerator
Base Class for all Mask Generators. Mask generators are classes that provide functionality for the cr...
Definition: mitkMaskGenerator.h:30