Up-samples image and then applies the Gaussian.
IppStatus ippiPyrUp_Gauss5x5_<mod>(const Ipp<datatype>* pSrc, int srcStep, Ipp<datatype>* pDst, int dstStep, IppiSize roiSize, Ipp8u* pBuffer);
Supported values for mod:
8u_C1R |
8s_C1R |
32f_C1R |
8u_C3R |
8s_C3R |
32f_C3R |
The function ippiPyrUp is declared in the ippcv.h file.
It operates with ROI (see Regions of
Interest in Intel IPP). This function up-samples the source image pSrc,
that is, inserts odd zero rows and columns, and then applies the
5x5 Gaussian multiplied by 4 to it.
The following mask is used:
The function uses the temporary buffer pBuffer - its size should be computed using the function ippiPyrUpGetBufSize beforehand.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtr |
Indicates an error condition if one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error condition if roiSize has a field with zero or negative value. |
ippStsStepErr |
Indicates an error condition if srcStep is less than roiSize.width * <pixelSize>, or dstStep is less than 2 * roiSize.width * <pixelSize>. |
ippStsNotEvenStepErr |
Indicates an error condition if when steps for floating-point images are not divisible by 4. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.