ImageGear22.Processing.Advanced Assembly > ImageGear.FreqIP Namespace > ImGearFrequencyProcessing Class : BandStopFilter Method |
'Declaration Public Shared Sub BandStopFilter( _ ByVal page As ImGearRasterPage, _ ByVal filterBrand As ImGearFreqIPFilterBrands, _ ByVal lowerCutoffFrequency As Double, _ ByVal higherCutoffFrequency As Double, _ ByVal filterOrder As Integer, _ ByVal rippleFactor As Double _ )
'Usage Dim page As ImGearRasterPage Dim filterBrand As ImGearFreqIPFilterBrands Dim lowerCutoffFrequency As Double Dim higherCutoffFrequency As Double Dim filterOrder As Integer Dim rippleFactor As Double ImGearFrequencyProcessing.BandStopFilter(page, filterBrand, lowerCutoffFrequency, higherCutoffFrequency, filterOrder, rippleFactor)
public static void BandStopFilter( ImGearRasterPage page, ImGearFreqIPFilterBrands filterBrand, double lowerCutoffFrequency, double higherCutoffFrequency, int filterOrder, double rippleFactor )
public: static void BandStopFilter( ImGearRasterPage* page, ImGearFreqIPFilterBrands filterBrand, double lowerCutoffFrequency, double higherCutoffFrequency, int filterOrder, double rippleFactor )
public: static void BandStopFilter( ImGearRasterPage^ page, ImGearFreqIPFilterBrands filterBrand, double lowerCutoffFrequency, double higherCutoffFrequency, int filterOrder, double rippleFactor )
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-stop 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.CanApplyBandStopFilter method can be called to check whether the operation can be performed or not.