Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef STEP6_H
18 #define STEP6_H
19 
20 //#include <qmainwindow.h>
21 #include <QWidget>
22 #include <mitkImage.h>
23 #include <mitkPointSet.h>
25 
26 #include <itkImage.h>
27 
28 #ifndef DOXYGEN_IGNORE
29 
30 class QLineEdit;
31 
32 class Step6 : public QWidget
33 {
34  Q_OBJECT
35 public:
36  Step6(int argc, char *argv[], QWidget *parent = nullptr);
37  ~Step6() {}
38  virtual void Initialize();
39 
40  virtual int GetThresholdMin();
41  virtual int GetThresholdMax();
42 
43 protected:
44  void Load(int argc, char *argv[]);
45  virtual void SetupWidgets();
46 
47  template <typename TPixel, unsigned int VImageDimension>
48  friend void RegionGrowing(itk::Image<TPixel, VImageDimension> *itkImage, Step6 *step6);
49 
53 
56 
59 
60 protected slots:
61  virtual void StartRegionGrowing();
62 };
63 #endif // DOXYGEN_IGNORE
64 
65 #endif // STEP6_H
66 
Step6(int argc, char *argv[], QWidget *parent=nullptr)
Start region-grower at interactively added points.
Definition: Step6.cpp:42
virtual int GetThresholdMin()
Definition: Step6.cpp:100
virtual void StartRegionGrowing()
Definition: Step6.cpp:110
void Load(int argc, char *argv[])
Definition: Step6.cpp:117
Definition: Step6.h:32
mitk::Image::Pointer m_FirstImage
Definition: Step6.h:51
mitk::Image::Pointer m_ResultImage
Definition: Step6.h:54
friend void RegionGrowing(itk::Image< TPixel, VImageDimension > *itkImage, Step6 *step6)
~Step6()
Definition: Step6.h:37
virtual int GetThresholdMax()
Definition: Step6.cpp:105
QLineEdit * m_LineEditThresholdMin
Definition: Step6.h:57
virtual void SetupWidgets()
Definition: Step6.cpp:150
mitk::PointSet::Pointer m_Seeds
Definition: Step6.h:52
mitk::DataNode::Pointer m_ResultNode
Definition: Step6.h:55
virtual void Initialize()
Definition: Step6.cpp:50
mitk::StandaloneDataStorage::Pointer m_DataStorage
Definition: Step6.h:50
QLineEdit * m_LineEditThresholdMax
Definition: Step6.h:58