]> Creatis software - clitk.git/blobdiff - tools/clitkMIPGenericFilter.cxx
Correct roi name into DicomRTStruct
[clitk.git] / tools / clitkMIPGenericFilter.cxx
index 1cfd41b80c2f24df5a36edd6e1688b2605bb5d52..273d07de8319808964784b1cb73318d22726d589 100644 (file)
@@ -3,7 +3,7 @@
 
   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
-======================================================================-====*/
+===========================================================================**/
 #ifndef clitkMIPGenericFilter_cxx
 #define clitkMIPGenericFilter_cxx
 
@@ -62,8 +62,8 @@ void MIPGenericFilter::SetArgsInfo(const args_info_type & a)
 {
   mArgsInfo=a;
   SetIOVerbose(mArgsInfo.verbose_flag);
-  if (mArgsInfo.imagetypes_flag) this->PrintAvailableImageTypes();
-
+  if (mArgsInfo.imagetypes_given && mArgsInfo.imagetypes_flag)
+    this->PrintAvailableImageTypes();
   if (mArgsInfo.input_given) {
     SetInputFilename(mArgsInfo.input_arg);
   }