Skip to content
Snippets Groups Projects
Commit 77e01378 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

BUG: use the template for the boundary condition

parent eee825a7
Branches
Tags
No related merge requests found
......@@ -112,7 +112,7 @@ ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition>
InputImageRegionType inputRegionForThread;
this->CallCopyOutputRegionToInputRegion(inputRegionForThread, outputRegionForThread);
itk::ConstNeighborhoodIterator<InputImageType> inputIt(m_Radius, input, inputRegionForThread);
itk::ConstNeighborhoodIterator<InputImageType, BoundaryConditionType> inputIt(m_Radius, input, inputRegionForThread);
itk::ImageRegionIterator<OutputImageType> outputIt(output, outputRegionForThread);
inputIt.GoToBegin();
......
......@@ -86,8 +86,6 @@ OverlapSaveConvolutionImageFilter<TInputImage, TOutputImage>
// store what we tried to request (prior to trying to crop)
inputPtr->SetRequestedRegion(inputRequestedRegion);
// build an exception
itk::InvalidRequestedRegionError e(__FILE__, __LINE__);
e.SetLocation(ITK_LOCATION);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment