From 0a1123f3cdd1a953540973eb44b291bbc7f44534 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Mon, 25 Sep 2017 16:46:41 +0200 Subject: [PATCH] Add information for clitkBlur --- tools/clitkBlurImage.ggo | 2 +- tools/clitkBlurImageGenericFilter.txx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/clitkBlurImage.ggo b/tools/clitkBlurImage.ggo index cbcd40c..62330ec 100644 --- a/tools/clitkBlurImage.ggo +++ b/tools/clitkBlurImage.ggo @@ -11,4 +11,4 @@ option "imagetypes" - "Display allowed image types" flag off option "input" i "Input image filename" string required option "output" o "Output image filename" string required -option "variance" - "value of the gaussian variance (multiple values=number of image dimension) - default=1.0" double optional multiple +option "variance" - "value of the gaussian variance (multiple values=number of image dimension) in mm - default=1.0" double optional multiple diff --git a/tools/clitkBlurImageGenericFilter.txx b/tools/clitkBlurImageGenericFilter.txx index ea3054e..ac0a459 100644 --- a/tools/clitkBlurImageGenericFilter.txx +++ b/tools/clitkBlurImageGenericFilter.txx @@ -118,6 +118,7 @@ BlurImageGenericFilter::UpdateWithInputImageType() typename DiscreteGaussianImageFilterType::Pointer gaussianFilter=DiscreteGaussianImageFilterType::New(); gaussianFilter->SetInput(input); gaussianFilter->SetVariance(varianceArray); + gaussianFilter->SetUseImageSpacing(true); gaussianFilter->Update(); //std::cout<<"variance value="<GetVariance()<