FrequencyFilter method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int FrequencyFilter(int nMinHarmonicX, int nMinHarmonicY, int nMaxHarmonicX, int nMaxHarmonicY, unsigned uFlags);

Delphi Syntax

Function FrequencyFilter (nMinHarmonicX: L_INT; nMinHarmonicY: L_INT; nMaxHarmonicX: L_INT; nMaxHarmonicY: L_INT; uFlags: L_UINT): L_INT;

Overview

Refer to Removing Noise

Remarks

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

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

The nMinHarmonicX, nMaxHarmonicX, nMinHarmonicY and nMaxHarmonicY parameters 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 InitFourierTransformationData method. When you are finished, you should free the allocated array by calling the FreeFourierTransformationData method.

See Also

Elements:

InitFourierTransformationData method, FreeFourierTransformationData method, DiscreteFourierTransformation method, FastFourierTransformation method, DisplayFourierTransformation method, FrequencyFilterMask method.

Topics:

Raster Images: Fourier Transforms