imaqFFT

NI Vision for LabWindows/CVI Function

imaqFFT

Usage

int imaqFFT(Image* dest, const Image* source);

Purpose

Computes the Fourier transform of an image. The image can be any size, but the function works faster if the image dimensions are powers of 2. The destination image must be different than the source image to perform this operation.

Image Types Supported

IMAQ_IMAGE_U8, IMAQ_IMAGE_I16, IMAQ_IMAGE_SGL, IMAQ_IMAGE_COMPLEX

Parameters

Name

Type

Description

dest Image* The destination image. The destination image must be a complex image and must be different than source image.
source const Image* The image whose Fourier transform the function computes.

Return Value

Type

Description

int On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError().