Developer Reference for Intel® Integrated Performance Primitives
Computes the size of the state structure and work buffer for image inpainting.
IppStatus ippiInpaintGetSize(const Ipp8u* pMask, int maskStep, IppiSize roiSize, Ipp32f radius, IppiInpaintFlag flags, int channels, int* pStateSize, int* pBufSize);
ippcv.h
Headers: ippcore.h, ippvm.h, ipps.h, ippi.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib, ippi.lib
IPP_INPAINT_TELEA |
Telea algorithm |
IPP_INPAINT_NS |
Navier-Stokes equation |
This function operates with ROI (see Regions of Interest in Intel IPP).
This function computes the size of the state structure for direct methods of image inpainting and the size of the external work buffer. Call this function before using ippiInpaintInit. For an example on how to use this function, refer to the example provided with the ippiInpaint function description.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error when width or height of the image is less than, or equal to zero. |
ippStsStepErr |
Indicates an error when the step in the mask image is too small. |
ippStsBadArgErr |
Indicates an error when radius is less than 1, or flags has an illegal value. |
ippStsNumChannelsErr |
Indicates an error when the specified number of image channels is invalid or not supported. |