ImageGear Professional for Windows ActiveX
BandStopFilter Method

Description:

Filters the input image using a band-stop filter, with the specified parameters.

Parameter nFilterBrand specifies the brand of filter to use, with available brands being Ideal, Butterworth, Gaussian, Chebyshev I, and Chebyshev II.

Parameters dCutoffFreqLowand dCutoffFreqHigh specify the lower and upper cutoff frequencies for the band-pass filter. The parameters should have values within the range of [0, 1], where 0 is DC and 1 is the Nyquist frequency.

This method takes into account the ROI settings of pPage object, that are accessible via the IGPage Object.ROI property. By default ROI is set to the entire image.

Syntax:

      BandStopFilter(pPage As IGPage, nFilterBrand As
enumIGFreqIPFilterBrands, dCutoffFreqLow As Double,
dCutoffFreqHigh As Double, nFilterOrder As Long, dRippleFactor
As Double)

Parameters:

Name Description
pPage IGPage Object to be filtered.
nFilterBrand Brand of the filter to use.
dCutoffFreqLow Lower cutoff frequency for the band-stop filter.
dCutoffFreqHigh Higher cutoff frequency for the band-stop filter.
nFilterOrder Filter order to use, applicable to all except Ideal filter.
dRippleFactor A factor which determines the pass-band ripple for Chebyshev filters, with value between [0, 1].

Return Value:

None

Bits Per Pixel:

8bit grayscale images with one channel

Sample:

FreqIP

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback