Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkAnisotropicRegistrationCommon.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 mitkAnisotropicRegistrationCommon_h
14 #define mitkAnisotropicRegistrationCommon_h
15 
16 #include <itkMatrix.h>
17 #include <mitkCommon.h>
18 #include <mitkVector.h>
19 
21 
22 // forward declarations
23 class vtkPoints;
24 
25 namespace mitk
26 {
27  class PointSet;
28 
42  {
43  protected:
44  // local typedefs
45 
47  typedef itk::Matrix<double, 3, 3> WeightMatrix;
55  typedef std::vector<WeightMatrix> MatrixList;
56 
59  public:
65  static WeightMatrix CalculateWeightMatrix(const CovarianceMatrix &sigma_X, const CovarianceMatrix &sigma_Y);
66 
84  static void TransformPoints(vtkPoints *src,
85  vtkPoints *dst,
86  const Rotation &rotation,
87  const Translation &translation);
88 
103  static void PropagateMatrices(const MatrixList &src, MatrixList &dst, const Rotation &rotation);
104 
119  static double ComputeTargetRegistrationError(const mitk::PointSet *movingTargets,
120  const mitk::PointSet *fixedTargets,
121  const Rotation &rotation,
122  const Translation &translation);
123  };
124 }
125 
126 #endif
mitk::AnisotropicRegistrationCommon::~AnisotropicRegistrationCommon
~AnisotropicRegistrationCommon()
Definition: mitkAnisotropicRegistrationCommon.h:58
mitk::AnisotropicRegistrationCommon::AnisotropicRegistrationCommon
AnisotropicRegistrationCommon()
Definition: mitkAnisotropicRegistrationCommon.h:57
mitk::AnisotropicRegistrationCommon::Translation
mitk::Vector3D Translation
Definition: mitkAnisotropicRegistrationCommon.h:53
MitkAlgorithmsExtExports.h
mitk::AnisotropicRegistrationCommon
A Class that provides common static functions used by all classes and tests in the anisotropic iterat...
Definition: mitkAnisotropicRegistrationCommon.h:41
MITKALGORITHMSEXT_EXPORT
#define MITKALGORITHMSEXT_EXPORT
Definition: MitkAlgorithmsExtExports.h:15
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::AnisotropicRegistrationCommon::CovarianceMatrix
WeightMatrix CovarianceMatrix
Definition: mitkAnisotropicRegistrationCommon.h:51
mitk::AnisotropicRegistrationCommon::Rotation
WeightMatrix Rotation
Definition: mitkAnisotropicRegistrationCommon.h:49
mitk::AnisotropicRegistrationCommon::WeightMatrix
itk::Matrix< double, 3, 3 > WeightMatrix
Definition: mitkAnisotropicRegistrationCommon.h:47
mitk::Vector< ScalarType, 3 >
mitk::AnisotropicRegistrationCommon::MatrixList
std::vector< WeightMatrix > MatrixList
Definition: mitkAnisotropicRegistrationCommon.h:55
mitkCommon.h
mitk::PointSet
Data structure which stores a set of points.
Definition: mitkPointSet.h:71
mitkVector.h