From 41c5d725752cf7888e83baeca6397a5d42eceb9d Mon Sep 17 00:00:00 2001 From: tbaudier Date: Mon, 12 Dec 2016 11:30:24 +0100 Subject: [PATCH] add small region --- tools/clitkGammaIndex3DGenericFilter.txx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/clitkGammaIndex3DGenericFilter.txx b/tools/clitkGammaIndex3DGenericFilter.txx index 9137c9e..7df28ac 100644 --- a/tools/clitkGammaIndex3DGenericFilter.txx +++ b/tools/clitkGammaIndex3DGenericFilter.txx @@ -195,7 +195,7 @@ void GammaIndex3DGenericFilter::UpdateWithInputImageType() typedef itk::MinimumMaximumImageCalculator ImageCalculatorFilterType; typename ImageCalculatorFilterType::Pointer imageCalculatorFilter = ImageCalculatorFilterType::New (); imageCalculatorFilter->SetImage(sqrtFilter->GetOutput()); - //imageCalculatorFilter->GetOutput()->SetRequestedRegion(smallRegion); + imageCalculatorFilter->SetRegion(smallRegion); imageCalculatorFilter->ComputeMinimum(); //Set the value -- 2.47.1