From e9b463fdeed5487b69570b4dc13a4928add9db02 Mon Sep 17 00:00:00 2001 From: dsarrut Date: Wed, 25 May 2011 08:00:58 +0200 Subject: [PATCH] UseBorder off by default -> seems buggy ? --- itk/clitkAutoCropFilter.txx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.47.1