FilterGaussGetBufferSize

Computes the size of the external buffer for the Gaussian filter with border.

Syntax

IppStatus ippiFilterGaussGetBufferSize_32f_C1R(IppiSize roiSize, int kernelSize, int* pBufferSize);

Parameters

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.

Description

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.

Return Values

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.

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.