Developer Reference

  • 2020
  • 10/21/2020
  • Public Content
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.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.