From: dsarrut Date: Wed, 25 May 2011 06:00:58 +0000 (+0200) Subject: UseBorder off by default -> seems buggy ? X-Git-Tag: v1.3.0~338^2~18 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=e9b463fdeed5487b69570b4dc13a4928add9db02;p=clitk.git UseBorder off by default -> seems buggy ? --- diff --git a/itk/clitkAutoCropFilter.txx b/itk/clitkAutoCropFilter.txx index 0005eb8..71f9ab0 100644 --- a/itk/clitkAutoCropFilter.txx +++ b/itk/clitkAutoCropFilter.txx @@ -38,7 +38,7 @@ namespace clitk { AutoCropFilter():itk::ImageToImageFilter() { this->SetNumberOfRequiredInputs(1); m_BackgroundValue = 0; - UseBorderOn(); + UseBorderOff(); } //-------------------------------------------------------------------- @@ -97,6 +97,8 @@ namespace clitk { autoCropFilter->SetInput(imageToLabelFilter->GetOutput()); // autoCropFilter->ReleaseDataFlagOff(); if (GetUseBorder()) { + DD("UseBorder seems buggy ?"); + exit(0); typename ImageType::SizeType s; for(uint i=0; iSetCropBorder(s);