@@ -2902,17 +2902,13 @@ \subsection{Empty Lines}
2902
2902
\small
2903
2903
\begin {minted }[baselinestretch=1,fontsize=\footnotesize ,linenos=false,bgcolor=ltgray]{cpp}
2904
2904
template <typename TInputImage, typename TMaskImage, typename TOutputImage>
2905
- typename
2906
- N4BiasFieldCorrectionImageFilter<TInputImage, TMaskImage, TOutputImage>::RealImagePointer
2907
- N4BiasFieldCorrectionImageFilter<TInputImage, TMaskImage, TOutputImage>
2908
- ::SharpenImage(const RealImageType *unsharpenedImage) const
2905
+ void N4BiasFieldCorrectionImageFilter<TInputImage, TMaskImage, TOutputImage>::SharpenImage(
2906
+ const RealImageType * unsharpenedImage, RealImageType * sharpenedImage) const
2909
2907
{
2910
- const MaskImageType * maskImage = this->GetMaskImage();
2911
- const RealImageType * confidenceImage = this->GetConfidenceImage();
2912
- #if !defined(ITK_FUTURE_LEGACY_REMOVE)
2908
+ const auto maskImageBufferRange = MakeImageBufferRange(this->GetMaskImage());
2909
+ const auto confidenceImageBufferRange = MakeImageBufferRange(this->GetConfidenceImage());
2913
2910
const MaskPixelType maskLabel = this->GetMaskLabel();
2914
- const bool useMaskLabel = this->GetUseMaskLabel();
2915
- #endif
2911
+ const bool useMaskLabel = this->GetUseMaskLabel();
2916
2912
2917
2913
// Build the histogram for the uncorrected image. Store copy
2918
2914
// in a vnl_vector to utilize vnl FFT routines. Note that variables
0 commit comments