Skip to content

Commit

Permalink
DOC: Correct Documentation for PadImageFilter::SizeGreatestPrimeFactor
Browse files Browse the repository at this point in the history
  • Loading branch information
blowekamp authored and hjmjohnson committed Jul 2, 2024
1 parent 37342bf commit 276a52a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Modules/Filtering/FFT/include/itkFFTPadImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,12 @@ class ITK_TEMPLATE_EXPORT FFTPadImageFilter : public PadImageFilterBase<TInputIm

/**
* Set/Get the greatest prime factor allowed on the size of the padded image.
* The filter increase the size of the image to reach a size with the greatest
* prime factor smaller or equal to the specified value. The default value is
* 13, which is the greatest prime number for which the FFT are precomputed
* in FFTW, and thus gives very good performance.
*
* The filter increases the dimensional sizes of the image to reach a size with the greatest
* prime factor smaller or equal to the specified value. The default values is
* obtained from the ForwardFFTImageFilter, which is 13 for FFTW,
* and 5 for VNL.
*
* A greatest prime factor of 2 produce a size which is a power of 2, and thus
* is suitable for vnl base fft filters.
* A greatest prime factor of 1 or less - typically 0 - disable the extra padding.
Expand Down

0 comments on commit 276a52a

Please sign in to comment.