Performs LR deconvolution of an image.
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);
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. |
The function ippiDeconvLR is declared in the ippi.h file. It 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 ippiDeconvLRInitAlloc beforehand.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.