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://www.centreleonberard.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 ===========================================================================**/
18 #ifndef VV_DEFORMABLE_REGISTRATION
19 #define VV_DEFORMABLE_REGISTRATION
27 class vvDeformableRegistration : public QThread
30 vvDeformableRegistration(vvImage::Pointer image,unsigned int ref,\
31 unsigned int iter, unsigned int nthread,double a, double s,\
32 std::string output_f,unsigned int stop);
33 unsigned int getProgress();
35 QMutex progress_mutex;
37 vvImage::Pointer getOutput() {
41 vvImage::Pointer mImage;
42 vvImage::Pointer mOutput;
43 unsigned int refimage,nb_iter,n_thread,progress,stop;
45 std::string output_filename;
48 void partial_run(int,int,int,std::string);
49 ///Temporary path, specific to the current instance of vv