Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- page
- ImageGear.Core.ImGearRasterPage class object to be processed.
- filterBrand
- Brand of the filter to use. Constants are listed in the ImGearFreqIPFilterBrands enumeration.
- lowerCutoffFrequency
- Lower cutoff frequency for the band-pass filter.
- higherCutoffFrequency
- Higher cutoff frequency for the band-pass filter.
- filterOrder
- Filter order to use, applicable to all except Ideal filter.
- rippleFactor
- A factor which determines the pass-band ripple for Chebyshev filters, with value between [0, 1].
This method filters the input image using a band-pass filter, with the specified parameters.
Parameter filterBrand
specifies the brand of filter to use, with available brands being Ideal, Butterworth, Gaussian, Chebyshev I, and Chebyshev II.
Parameters lowerCutoffFrequency
and higherCutoffFrequency
specify the lower and upper cutoff frequencies for the band-pass filter. The parameters should have value within the range of [0, 1], where 0 is DC and 1 is the Nyquist frequency.
Before using this method, like other frequency processing methods, InitializeFFTW method must be called first to initialize the support for FFTW.
Can be applied only to 8bit grayscale images with one channel.
ImGearFrequencyProcessingVerifier.CanApplyBandPassFilter method can be called to check whether the operation can be performed or not.