Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkDemonsRegistrationView.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 QmitkDemonsRegistrationViewWidgetHIncluded
18 #define QmitkDemonsRegistrationViewWidgetHIncluded
19 
21 #include "mitkDataNode.h"
22 #include "ui_QmitkDemonsRegistrationViewControls.h"
23 
30 {
31  Q_OBJECT
32 
33 public:
34  QmitkDemonsRegistrationView(QWidget *parent = nullptr, Qt::WindowFlags f = nullptr);
36 
37  int GetNumberOfIterations();
38  float GetStandardDeviation();
39 
40  void SetFixedNode(mitk::DataNode *fixedNode);
41  void SetMovingNode(mitk::DataNode *movingNode);
42  void UseHistogramMatching(bool useHM);
43  mitk::Image::Pointer GetResultImage();
44  mitk::Image::Pointer GetResultDeformationfield();
45 
46 public slots:
47  void CalculateTransformation();
48 
49 protected:
50  Ui::QmitkDemonsRegistrationViewControls m_Controls;
55 };
56 
57 #endif
Ui::QmitkDemonsRegistrationViewControls m_Controls
mitk::Image::Pointer m_ResultDeformationField
Widget for deformable demons registration.
#define MITKDEFORMABLEREGISTRATIONUI_EXPORT
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66