FrequencyFilter Method (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short FrequencyFilter (long lMinHarmonicX, long lMaxHarmonicX, long lMinHarmonicY, long lMaxHarmonicY, long lFlags)

Overview

Refer to Removing Noise

Remarks

(Raster Pro and above toolkits) Filters the frequency harmonics data produced by a Fourier Transform function using a range rectangle.

This method is used only when working with Fourier Transform functions.

The lMinHarmonicX, lMaxHarmonicX, lMinHarmonicY and l MaxHarmonicY properties specify the filter dimension that will be applied. They represent the frequency range to be kept or removed.

This method does not support 12 and 16-bit grayscale and 48 and 64-bit color images. If the image is 12 and 16-bit grayscale and 48 and 64-bit color, the method will not return an error.

Before using this method, you must call the InitFourierTransformation method. When you are finished, you should free the allocated array by calling the FreeFourierTransformation method.

See Also

Elements:

InitFourierTransformation method, HueSaturationIntensity method, FastFourierTransformation method, FreeFourierTransformation method, DiscreteFourierTransformation method, FrequencyFilterMask method, DisplayFourierTransformation method

Topics:

Raster Images: Fourier Transform Functions