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

DeconvLRInit

Initializes the LR deconvolution state structure.

Syntax

IppStatus ippiDeconvLRInit_32f_C1R(IppiDeconvLR_32f_C1R* pDeconvLR, const Ipp32f* pKernel, int kernelSize, IppiSize maxRoi, Ipp32f threshold);

IppStatus ippiDeconvLRInit_32f_C3R(IppiDeconvLR_32f_C3R* pDeconvLR, const Ipp32f* pKernel, int kernelSize, IppiSize maxRoi, Ipp32f threshold);

Include Files

ippi.h

Domain Dependencies

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

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

Parameters

pDeconvLR

Pointer to the LR deconvolution state structure.

pKernel

Pointer to the kernel array.

kernelSize

Size of the kernel.

maxRoi

Maximum size of the image ROI, in pixels.

threshold

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

Description

This function initializes the LR deconvolution state structure that is used by the ippiDeconvLR function to perform LR deconvolution of the source image. Before using the ippiDeconvLRInit function, compute the size of the structure using the ippiDeconvLRGetSize 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

  • kernelSize is greater than maxRoi.height or maxRoi.width

  • maxRoi.height or maxRoi.width is less than, or equal to zero

ippStsBadArgErr

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

See Also