]> Creatis software - clitk.git/blobdiff - tools/clitkImageConvert.cxx
changes in license header
[clitk.git] / tools / clitkImageConvert.cxx
index ccae95257fd1b1aa61fb05bf8121a17a25b42d90..7b14021ab28d9b13abd6159c17715172b9ecb33a 100644 (file)
@@ -1,24 +1,22 @@
-/*-------------------------------------------------------------------------
-                                                                                
-Program:   clitk
-Module:    $RCSfile: clitkImageConvert.cxx,v $
-Language:  C++
-Date:      $Date: 2010/01/06 13:31:56 $
-Version:   $Revision: 1.1 $
-                                                                                
-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://www.centreleonberard.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
+===========================================================================**/
 #ifndef CLITKIMAGECONVERT_CXX
 #define CLITKIMAGECONVERT_CXX
-
 /**
    -------------------------------------------------
    * @file   clitkImageConvert.cxx
@@ -33,7 +31,8 @@ PURPOSE.  See the above copyright notices for more information.
 #include "clitkImageConvertGenericFilter.h"
 
 //-------------------------------------------------------------------=
-int main(int argc, char * argv[]) {
+int main(int argc, char * argv[])
+{
 
   // init command line
   GGO(clitkImageConvert, args_info);
@@ -50,7 +49,7 @@ int main(int argc, char * argv[]) {
   if (l.size() < 1) {
     std::cerr << "Error, you should give at least one --input option or one image filename on the commande line." << std::endl;
     exit(0);
-  }  
+  }
 
   // Create filter
   clitk::ImageConvertGenericFilter::Pointer filter = clitk::ImageConvertGenericFilter::New();
@@ -60,9 +59,9 @@ int main(int argc, char * argv[]) {
   if (args_info.type_given) filter->SetOutputPixelType(args_info.type_arg);
 
   // Go !
-  filter->Update();  
+  filter->Update();
 
-  // this is the end my friend  
+  // this is the end my friend
   return 0;
 }
 //-------------------------------------------------------------------=