]> Creatis software - clitk.git/commitdiff
add small region
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Mon, 12 Dec 2016 10:30:24 +0000 (11:30 +0100)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Mon, 12 Dec 2016 10:30:24 +0000 (11:30 +0100)
tools/clitkGammaIndex3DGenericFilter.txx

index 9137c9e160af1d310cdd33e029cc3798cd78be3d..7df28ac0a92d4775e8367b5f978a62eeac6cfef1 100644 (file)
@@ -195,7 +195,7 @@ void GammaIndex3DGenericFilter<args_info_type>::UpdateWithInputImageType()
     typedef itk::MinimumMaximumImageCalculator <ImageType> ImageCalculatorFilterType;
     typename ImageCalculatorFilterType::Pointer imageCalculatorFilter = ImageCalculatorFilterType::New ();
     imageCalculatorFilter->SetImage(sqrtFilter->GetOutput());
-    //imageCalculatorFilter->GetOutput()->SetRequestedRegion(smallRegion);
+    imageCalculatorFilter->SetRegion(smallRegion);
     imageCalculatorFilter->ComputeMinimum();
 
     //Set the value