FrequencyFilterMask Method (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short FrequencyFilterMask (ILEADRaster* pMaskRaster, VARIANT_BOOL bOnOff)

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:

InitFourierTransformation method, FastFourierTransformation method, FreeFourierTransformation method, DiscreteFourierTransformation method, FrequencyFilter method, DisplayFourierTransformation method

Topics:

Raster Images: Fourier Transform Functions