Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

DeconvFFTInit

Initializes the FFT deconvolution state structure.

Syntax

IppStatus ippiDeconvFFTInit_32f_C1R(IppiDeconvFFTState_32f_C1R* pDeconvFFTState, const Ipp32f* pKernel, int kernelSize, int FFTorder, Ipp32f threshold);

IppStatus ippiDeconvFFTInit_32f_C3R(IppiDeconvFFTState_32f_C3R* pDeconvFFTState, const Ipp32f* pKernel, int kernelSize, int FFTorder, Ipp32f threshold);

Include Files

ippi.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib

Parameters

pDeconvFFTState

Pointer to the FFT deconvolution state structure.

pKernel

Pointer to the kernel array.

kernelSize

Size of the kernel.

FFTorder

Order of the created FFT state structure.

threshold

Value of the threshold level (to exclude dividing by zero).

Description

This function initializes the FFT deconvolution state structure that is used by the ippiDeconvFFT function to perform deconvolution of the source image using FFT. Before using the ippiDeconvFFTInit function, compute the size of the structure using the ippiDeconvFFTGetSize function.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or a warning.

ippStsNullPtrErr

Indicates an error when any of the specified pointers is NULL.

ippStsSizeErr

Indicates an error when kernelSize is less than, or equal to 0; or if kernelSize is greater than 2FFTorder.

ippStsBadArgErr

Indicates an error when threshold is less than, or equal to 0.

See Also