Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
Step6.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 STEP6_H
14 #define STEP6_H
15 
16 #include <QWidget>
17 #include <mitkImage.h>
18 #include <mitkPointSet.h>
20 
21 #include <itkImage.h>
22 
23 #ifndef DOXYGEN_IGNORE
24 
25 class QLineEdit;
26 
27 class Step6 : public QWidget
28 {
29  Q_OBJECT
30 public:
31  Step6(int argc, char *argv[], QWidget *parent = nullptr);
32  ~Step6() override {}
33  virtual void Initialize();
34 
35  virtual int GetThresholdMin();
36  virtual int GetThresholdMax();
37 
38 protected:
39  void Load(int argc, char *argv[]);
40  virtual void SetupWidgets();
41 
42  template <typename TPixel, unsigned int VImageDimension>
43  friend void RegionGrowing(itk::Image<TPixel, VImageDimension> *itkImage, Step6 *step6);
44 
48 
51 
54 
55 protected slots:
56  virtual void StartRegionGrowing();
57 };
58 #endif // DOXYGEN_IGNORE
59 
60 #endif // STEP6_H
61 
Step6::m_DataStorage
mitk::StandaloneDataStorage::Pointer m_DataStorage
Definition: Step6.h:45
mitkImage.h
Step6::m_LineEditThresholdMax
QLineEdit * m_LineEditThresholdMax
Definition: Step6.h:53
Step6::Load
void Load(int argc, char *argv[])
itk::SmartPointer< Self >
Step6::Step6
Step6(int argc, char *argv[], QWidget *parent=nullptr)
Step6::m_ResultImage
mitk::Image::Pointer m_ResultImage
Definition: Step6.h:49
Step6::GetThresholdMax
virtual int GetThresholdMax()
Step6::RegionGrowing
friend void RegionGrowing(itk::Image< TPixel, VImageDimension > *itkImage, Step6 *step6)
mitkPointSet.h
mitkStandaloneDataStorage.h
Step6::m_FirstImage
mitk::Image::Pointer m_FirstImage
Definition: Step6.h:46
Step6::StartRegionGrowing
virtual void StartRegionGrowing()
Step6::m_LineEditThresholdMin
QLineEdit * m_LineEditThresholdMin
Definition: Step6.h:52
Step6::GetThresholdMin
virtual int GetThresholdMin()
Step6::m_Seeds
mitk::PointSet::Pointer m_Seeds
Definition: Step6.h:47
Step6::~Step6
~Step6() override
Definition: Step6.h:32
Step6::m_ResultNode
mitk::DataNode::Pointer m_ResultNode
Definition: Step6.h:50
Step6
Definition: Step6.h:27
Step6::SetupWidgets
virtual void SetupWidgets()
Step6::Initialize
virtual void Initialize()