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