DeconvFFTInitAlloc

Allocates and initializes state structure for FFT deconvolution.

Syntax

IppStatus ippiDeconvFFTInitAlloc_32f_C1R(IppiDeconvFFTState_32f_C1R** ppDeconvFFTState, const Ipp32f* pKernel, int kernelSize, int FFTorder, Ipp32f threshold);

IppStatus ippiDeconvFFTInitAlloc_32f_C3R(IppiDeconvFFTState_32f_C3R** ppDeconvFFTState, const Ipp32f* pKernel, int kernelSize, int FFTorder, Ipp32f threshold);

Parameters

ppDeconvFFTState

Double 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

The function ippiDeconvFFTInitAlloc is declared in the ippi.h file. It operates with ROI (see Regions of Interest in Intel IPP).

This function allocates memory, initializes the deconvolution state structure and returns the pointer ppDeconvFFTState to it. This structure is used by the function ippiDeconvFFT that performs deconvolution of the source image using FFT.

Return Values

ippStsNoErr

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

ippStsNullPtrErr

Indicates an error condition if one of the specified pointers is NULL.

ippStsSizeErr

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

ippStsBadArgErr

Indicates an error condition if threshold is less than or equal to 0.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.