X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkRigidRegistration.cxx;h=1db3e75aff06953962e9216a7d2a7d7d3f1a7df3;hb=8f1ca8e8c0ff2502324d09b989911006c73689e6;hp=634cd5cc38271186516a4f873bf63dda14b7238e;hpb=758de1c14c7f16d924e1a2a575d52cd3e48ec503;p=clitk.git diff --git a/tools/clitkRigidRegistration.cxx b/tools/clitkRigidRegistration.cxx index 634cd5c..1db3e75 100644 --- a/tools/clitkRigidRegistration.cxx +++ b/tools/clitkRigidRegistration.cxx @@ -1,26 +1,28 @@ -/*------------------------------------------------------------------------- - - Program: clitk - Language: C++ - - Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de - l'Image). All rights reserved. See Doc/License.txt or - http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. - - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the above copyright notices for more information. - --------------------------------------------------------------------------*/ +/*========================================================================= + Program: vv http://www.creatis.insa-lyon.fr/rio/vv + Authors belong to: + - University of LYON http://www.universite-lyon.fr/ + - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the copyright notices for more information. + + It is distributed under dual licence + + - BSD See included LICENSE.txt file + - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +======================================================================-====*/ /** ------------------------------------------------- * @file clitkRigidRegistration.cxx * @author Jef Vandemeulebroucke * @date 14 August 2007 - * + * * @brief Perform a rigid registration between 2 images - * + * -------------------------------------------------*/ @@ -37,9 +39,9 @@ using namespace std; int main( int argc, char *argv[] ) { //init command line and check options - GGO(args_info); + GGO(args_info); CLITK_INIT; - + //--------------------------------------------------------------------------- //Set all the options passed through the commandline @@ -49,7 +51,7 @@ int main( int argc, char *argv[] ) rigidRegistration.SetGradient(args_info.gradient_flag); rigidRegistration.SetZeroOrigin(args_info.zero_origin_flag); - //Input +//Input rigidRegistration.SetFixedImageName(args_info.reference_arg); rigidRegistration.SetMovingImageName(args_info.object_arg); rigidRegistration.SetFixedImageMaskGiven(args_info.mask_given); @@ -81,9 +83,9 @@ int main( int argc, char *argv[] ) rigidRegistration.SetTransZ(args_info.transZ_arg); //Optimizer - rigidRegistration.SetLevels(args_info.levels_arg); - rigidRegistration.SetIstep(args_info.Istep_arg); - rigidRegistration.SetFstep(args_info.Fstep_arg); + rigidRegistration.SetLevels(args_info.levels_arg); + rigidRegistration.SetIstep(args_info.Istep_arg); + rigidRegistration.SetFstep(args_info.Fstep_arg); rigidRegistration.SetRelax(args_info.relax_arg); rigidRegistration.SetInc(args_info.inc_arg); rigidRegistration.SetDec(args_info.dec_arg); @@ -99,9 +101,9 @@ int main( int argc, char *argv[] ) rigidRegistration.SetStdDev(args_info.stdDev_arg); //Preprocessing - rigidRegistration.SetBlur(args_info.blur_arg); - rigidRegistration.SetNormalize(args_info.normalize_flag); + rigidRegistration.SetBlur(args_info.blur_arg); + rigidRegistration.SetNormalize(args_info.normalize_flag); rigidRegistration.Update(); - + }