X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolCropImage.cxx;h=58117561f5e0f3cb40d4637f97eea6b273cd4c95;hb=431fea9a7c825943b07fc4b4f3423355a5fee501;hp=691c32ad66b15c74fc09b469146e432e2247178f;hpb=c135f9b390e2750d8248db5903753b94ca549623;p=clitk.git diff --git a/vv/vvToolCropImage.cxx b/vv/vvToolCropImage.cxx index 691c32a..5811756 100644 --- a/vv/vvToolCropImage.cxx +++ b/vv/vvToolCropImage.cxx @@ -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 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