FrequencyFilterMask method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int FrequencyFilterMask (bool bOnOff);

Delphi Syntax

Function FrequencyFilterMask (bOnOff: Boolean): L_INT;

Overview

Refer to Removing Noise

Remarks

(Raster Pro and above toolkits) Creates a mask filter to remove specific frequency components from a bitmap.

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

The mask bitmap will be treated as a grayscale bitmap. The (0,0) frequency is located in the mask bitmap center; with positive X harmonics located in the right half of the mask bitmap and positive Y harmonics located in the lower half of the mask bitmap.

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.

This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.

See Also

Elements:

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

Topics:

Raster Images: Fourier Transforms