1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
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
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.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ======================================================================-====*/
23 /// Allows the computation of a warped image sequence and a difference image sequence, for the purpose of verifying registration results
27 ///Slicer manager containing the image sequence and deformation field, plus the index of the image used as a reference for the registration
28 vvImageWarp(vvImage::Pointer input,vvImage::Pointer vf,unsigned int ref_image,QWidget* parent);
29 ///Computes a warped sequence and a difference image sequence. Return false in case of error
30 bool ComputeWarpedImage();
31 vvImage::Pointer GetWarpedImage() {
34 vvImage::Pointer GetDiffImage() {
37 vvImage::Pointer GetJacobianImage() {
38 return mJacobianImage;
42 template<unsigned int Dim, class PixelType> void Update_WithDimAndPixelType();
43 template<unsigned int Dim> void Update_WithDim();
44 unsigned int mRefImage;
45 vvImage::Pointer mWarpedImage;
46 vvImage::Pointer mDiffImage;
47 vvImage::Pointer mJacobianImage;
48 QWidget * parent_window;
49 vvImage::Pointer mInputImage;