Computes the size of the external buffer for the Gaussian filter with border.
IppStatus ippiFilterGaussGetBufferSize_32f_C1R(IppiSize roiSize, int kernelSize, int* pBufferSize);
roiSize |
Maximum size of the source and destination image ROI. |
kernelSize |
Size of the Gaussian kernel, odd, greater than or equal to 3. |
pBufferSize |
Pointer to the buffer size. |
The function ippiFilterGaussGetBufferSize is declared in the ippcv.h file. This function computes the size of the external buffer that is required for the filter function ippiFilterGaussBorder. This buffer with the length pBufferSize[0] can be used to filter an image whose width and height are equal to or less than corresponding fields of roiSize, and/or the kernel size is equal to or less than kernelSize.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if the pBufferSize is NULL. |
ippStsSizeErr |
Indicates an error condition if roiSize has a field with a zero or negative value. |
ippStsBadArgErr |
Indicates an error condition if kernelSize is even or less than 3. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.