X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkImageInfo.cxx;h=a7c70798abc215bf4de9ab9dc357f04ae8939862;hb=af786d2acc0bf35fdeeb211d4d435b4c815fa6f1;hp=c02e819ad5ae2843e33b03c1dc6ff9a1b8993df0;hpb=931a42358442f4ee4f314613c991c838d4b4e3b7;p=clitk.git diff --git a/tools/clitkImageInfo.cxx b/tools/clitkImageInfo.cxx index c02e819..a7c7079 100644 --- a/tools/clitkImageInfo.cxx +++ b/tools/clitkImageInfo.cxx @@ -1,21 +1,20 @@ /*========================================================================= - -Program: clitk -Module: $RCSfile: clitkImageInfo.cxx,v $ -Language: C++ -Date: $Date: 2010/01/06 13:31:56 $ -Version: $Revision: 1.1 $ + Program: vv http://www.creatis.insa-lyon.fr/rio/vv -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. - -=========================================================================*/ + 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 +===========================================================================**/ /** ================================================= * @file clitkImageInfo.cxx @@ -23,12 +22,18 @@ PURPOSE. See the above copyright notices for more information. * @date 02 Jul 2006 =================================================*/ +// itk include +#include "itkImageIOBase.h" + // clitk include #include "clitkImageInfo_ggo.h" #include "clitkIO.h" +#include "clitkImageCommon.h" +#include "clitkCommon.h" //==================================================================== -int main(int argc, char * argv[]) { +int main(int argc, char * argv[]) +{ // init command line GGO(clitkImageInfo, args_info); @@ -37,29 +42,28 @@ int main(int argc, char * argv[]) { // check arg if (args_info.inputs_num == 0) return 0; - // read Header + // read Header for(unsigned int i=0; i