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 theIppiDeconvLRState_32f_C1RorIppiDeconvLRState_32f_C3Rstructure, 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 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