ImageGear Professional for Windows ActiveX
BandPassFilter Method

Description:

Filters the input image using a band-pass 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:

      BandPassFilter(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-pass filter
dCutoffFreqHigh Higher cutoff frequency for the band-pass 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