X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkDicomInfo.cxx;h=fe2d869d8bbf2e756068ae0b488c30dc45641583;hb=87226f434fbe4cb47dbbef889b8b6e8279efb983;hp=4c31e0922807322e19c93404cd37cb6016d6c1fc;hpb=0b7c9b1e1215634b02cbd38d4e4ba101d6111ba8;p=clitk.git diff --git a/tools/clitkDicomInfo.cxx b/tools/clitkDicomInfo.cxx index 4c31e09..fe2d869 100644 --- a/tools/clitkDicomInfo.cxx +++ b/tools/clitkDicomInfo.cxx @@ -1,9 +1,9 @@ /*========================================================================= 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 @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ /** ------------------------------------------------- * @file clitkDicomInfo.cxx @@ -28,9 +28,14 @@ // itk (gdcm) include #include "gdcmFile.h" +#if GDCM_MAJOR_VERSION == 2 + #include "gdcmReader.h" + #include "gdcmPrinter.h" +#endif //-------------------------------------------------------------------- -int main(int argc, char * argv[]) { +int main(int argc, char * argv[]) +{ // init command line GGO(clitkDicomInfo, args_info); @@ -40,14 +45,24 @@ int main(int argc, char * argv[]) { // Loop files for(unsigned int i=0; iSetFileName(args_info.inputs[i]); - header->SetMaxSizeLoadEntry(16384); + header->SetMaxSizeLoadEntry(163840); header->Load(); header->Print(); +#endif } - // this is the end my friend + // this is the end my friend return 0; } //--------------------------------------------------------------------