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

DeconvLRGetSize

Computes the size of the state structure for Lucy-Richardson (LR) deconvolution.

Syntax

IppStatus ippiDeconvLRGetSize_32f(int numChannels, int kernelSize, IppiSize maxRoi, int* pSize);

Include Files

ippi.h

Domain Dependencies

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

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

Parameters

numChannels

Number of channels in the image. Possible values are 1 or 3.

kernelSize

Size of the kernel.

maxRoi

Maximum size of the image ROI, in pixels.

pSize

Pointer to the size of the IppiDeconvLRState_32f_C1R or IppiDeconvLRState_32f_C3R structure, in bytes.

Description

This function computes the Lucy-Richardson (LR) deconvolution state structure size that is required to initialize the structure with the ippiDeconvLRInit function. This structure is used by the ippiDeconvLR function, which performs LR deconvolution of the source image.

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

See Also