Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
Date 11/07/2023
Public

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

Document Table of Contents

DeconvLR

Performs LR deconvolution of an image.

Syntax

IppStatus ippiDeconvLR_32f_C1R(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize, int numIter, IppiDeconvLR_32f_C1R* pDeconvLR);

IppStatus ippiDeconvLR_32f_C3R(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize, int numIter, IppiDeconvLR_32f_C3R* pDeconvLR);

Include Files

ippi.h

Domain Dependencies

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

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

Parameters

pSrc

Pointer to the source image ROI.

srcStep

Distance in bytes between starts of consecutive lines in the source image.

pDst

Pointer to the destination image ROI.

dstStep

Distance in bytes between starts of consecutive lines in the destination image.

roiSize

Size of the source and destination image ROI.

numIter

Number of algorithm iterations.

pDeconvLR

Pointer to the LR deconvolution state structure.

Description

This function operates with ROI (see Regions of Interest in Intel IPP).

This function performs deconvolution of the source image pSrc using the Lucy-Richardson algorithm with parameters specified in the state structure pDeconvLR and stores results to the destination image pDst. The Lucy-Richardson deconvolution state structure must be initialized by calling the function DeconvLRInit beforehand.

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 roi.width or roi.height is less than or equal to 0, or if roi.width is greater than (maxRoi.width - kernelSize), or roi.height is greater than (maxRoi.height - kernelSize).

ippStsStepErr

Indicates an error condition if srcStep or dstStep is less than roiSize.width * <pixelSize>.

ippStsNotEvenStepErr

Indicates an error condition if steps for floating-point images are not divisible by 4.

ippStsBadArgErr

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