ImageGear Professional for Windows ActiveX
HighPassFilter Method

Description:

Filters the input image using a high-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.

Parameter dCutoffFreq specifies the cutoff frequency for the high-pass filter. This parameter should have value 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:

      HighPassFilter(pPage As IGPage, nFilterBrand As
enumIGFreqIPFilterBrands, dCutoffFreq As Double, nFilterOrder
As Long, dRippleFactor As Double)

Parameters:

Name Description
pPage IGPage Object to be filtered
nFilterBrand Brand of the filter to use.
dCutoffFreq Cutoff frequency for the high-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