/*=========================================================================
Program: vv http://www.creatis.insa-lyon.fr/rio/vv
- Authors belong to:
+ Authors belong to:
- University of LYON http://www.universite-lyon.fr/
- - Léon Bérard cancer center http://oncora1.lyon.fnclcc.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
- 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
/**
#include "clitkImageConvertGenericFilter.h"
//-------------------------------------------------------------------=
-int main(int argc, char * argv[]) {
+int main(int argc, char * argv[])
+{
// init command line
GGO(clitkImageConvert, args_info);
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();
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;
}
//-------------------------------------------------------------------=