FloodFillGetSize_Grad

Calculates size of temporary buffer for the gradient flood filling.

Syntax

IppStatus ippiFloodFillGetSize_Grad(IppiSize roiSize, int* pBufferSize);

Parameters

roiSize
Size of the source image ROI in pixels.
pBufferSize
Pointer to the variable that returns the size of the temporary buffer.

Description

The function ippiFloodFillGetSize_Grad is declared in the ippcv.h file. This function calculates the size of the temporary buffer to be used by the function ippiFloodFill_Grad.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or a warning.

ippStsNullPtrErr

Indicates an error condition if pBufferSize pointer is NULL.

ippStsSizeErr

Indicates an error condition if roiSize has a field with zero or negative value.

Submit feedback on this help topic

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