]> Creatis software - clitk.git/blob - common/clitkTransformUtilities.cxx
b5512489bd6b7db790359f24752d544fa0de1734
[clitk.git] / common / clitkTransformUtilities.cxx
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to:
5   - University of LYON              http://www.universite-lyon.fr/
6   - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
7   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
8
9   This software is distributed WITHOUT ANY WARRANTY; without even
10   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11   PURPOSE.  See the copyright notices for more information.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ======================================================================-====*/
18
19 #include "clitkTransformUtilities.h"
20
21 namespace clitk
22 {
23
24 //--------------------------------------------------------------------
25 template < >
26 itk::Matrix<double, 3, 3>
27 GetBackwardAffineMatrix<2>(itk::Array<double> transformParameters)
28 {
29   return GetBackwardAffineMatrix2D(transformParameters);
30 }
31
32 //--------------------------------------------------------------------
33 template < >
34 itk::Matrix<double, 4, 4>
35 GetBackwardAffineMatrix<3>(itk::Array<double> transformParameters)
36 {
37   return GetBackwardAffineMatrix3D(transformParameters);
38 }
39
40 }