Skip to content

Commit 55ea845

Browse files
committed
DOC: Update itk::N4BiasFieldCorrectionImageFilter::Sharpen definition
Update `itk::N4BiasFieldCorrectionImageFilter::Sharpen` definition to match the current one: https://github.com/InsightSoftwareConsortium/ITK/blob/828453d1bf61c487310d2d8c9570093e08798a40/Modules/Filtering/BiasCorrection/include/itkN4BiasFieldCorrectionImageFilter.hxx#L261
1 parent f6f73fe commit 55ea845

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

SoftwareGuide/Latex/Appendices/CodingStyleGuide.tex

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2902,17 +2902,13 @@ \subsection{Empty Lines}
29022902
\small
29032903
\begin{minted}[baselinestretch=1,fontsize=\footnotesize,linenos=false,bgcolor=ltgray]{cpp}
29042904
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
29092907
{
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());
29132910
const MaskPixelType maskLabel = this->GetMaskLabel();
2914-
const bool useMaskLabel = this->GetUseMaskLabel();
2915-
#endif
2911+
const bool useMaskLabel = this->GetUseMaskLabel();
29162912
29172913
// Build the histogram for the uncorrected image. Store copy
29182914
// in a vnl_vector to utilize vnl FFT routines. Note that variables

0 commit comments

Comments
 (0)