From: tbaudier Date: Mon, 12 Dec 2016 10:30:24 +0000 (+0100) Subject: add small region X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=41c5d725752cf7888e83baeca6397a5d42eceb9d;p=clitk.git add small region --- 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