]> Creatis software - clitk.git/blobdiff - vv/vvToolCropImage.cxx
remove unused transfert_patients.sh script
[clitk.git] / vv / vvToolCropImage.cxx
index 691c32ad66b15c74fc09b469146e432e2247178f..58117561f5e0f3cb40d4637f97eea6b273cd4c95 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
-======================================================================-====*/
+===========================================================================**/
 
 // vv
 #include "vvToolCropImage.h"
@@ -310,7 +310,7 @@ void vvToolCropImage::apply()
 
   // Typedef 
   typedef args_info_clitkCropImage ArgsInfoType;
-  typedef clitk::CropImageGenericFilter<ArgsInfoType> CropFilterType;
+  typedef clitk::CropImageGenericFilter CropFilterType;
   
   // Get options
   ArgsInfoType mArgsInfo;
@@ -352,7 +352,7 @@ void vvToolCropImage::apply()
     filter->Update();
   }
   catch(clitk::ExceptionObject & e) {
-    // DD(e.what());
+    DD(e.what());
     QApplication::restoreOverrideCursor();
     close();
   }
@@ -360,7 +360,7 @@ void vvToolCropImage::apply()
   // Retrieve result and display it
   vvImage::Pointer output = filter->GetOutputVVImage();
   std::ostringstream osstream;
-  osstream << "Croped_" << mCurrentSlicerManager->GetSlicer(0)->GetFileName() << ".mhd";
+  osstream << "Cropped_" << mCurrentSlicerManager->GetSlicer(0)->GetFileName() << ".mhd";
   AddImage(output,osstream.str());
 
   // End