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 isNULL.
- ippStsSizeErr
- Indicates an error when:
- kernelSizeis less than, or equal to 0
- kernelSizeis greater thanmaxRoi.heightormaxRoi.width
- maxRoi.heightormaxRoi.widthis less than, or equal to zero
- ippStsBadArgErr
- Indicates an error whenthresholdis less than, or equal to 0.