LBitmap::FreeFTArray

#include "ltwrappr.h"

static L_INT LBitmap::FreeFTArray(pFTArray, uFlags = 0)

pFTARRAY pFTArray;

/* pointer to structure */

L_UINT32 uFlags;

/* flags */

Frees the 2D storage array that was allocated by LBitmap::AllocFTArray.

Parameter

Description

pFTArray

Pointer to the FTARRAY structure to be freed.

uFlags

Reserved for future use. Must be 0.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function should be called when your program no longer needs the 2D array that is used to hold Fourier Transform coefficients. This function is used only when working with the Fourier Transform functions. Do not use pFTArray after this function returns.

This function does not support 32-bit grayscale images. It returns the error code ERROR_GRAY32_UNSUPPORTED if a 32-bit grayscale image is passed to this function.

Required DLLs and Libraries

LTIMGCOR

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LBitmap::Fragment, LBitmap::HighPassFilter, LBitmap::UnsharpMask, LBitmap::AverageFilter, LBitmap::MedianFilter, LBitmap::AddNoise, LBitmap::IntensityDetect, LBitmap::SpatialFilter, LBitmap::BinaryFilter, LBitmap::MaxFilter, LBitmap::MinFilter, LBitmap::AddShadow, LBitmap::AllocFTArray, LBitmap::ChangeHueSatInt, LBitmap::ColorReplace, LBitmap::ColorThreshold, LBitmap::DFT, LBitmap::DirectionEdgeStatistical, LBitmap::FFT, LBitmap::FrqFilter, LBitmap::FrqFilterMask, LBitmap::FTDisplay, LBitmap::GetStatisticsInfo, LBitmap::GetFeretsDiameter, LBitmap::GetObjectInfo, LBitmap::GetRgnContourPoints, LBitmap::GetRgnPerimeterLength, LBitmap::MathFunction, LBitmap::RevEffect, LBitmap::Segment, LBitmap::SubtractBackground, LBitmap::UserFilter, LBitmap::DirectionEdgeStatistical2

Topics:

Raster Image Functions: Fourier Transform Functions

 

Removing Noise

 

Raster Image Functions: Removing Noise

Example

For an example, refer to LBitmap::DFT.