FloodFillGetSize

Calculates size of temporary buffer for flood filling operation.

Syntax

IppStatus ippiFloodFillGetSize(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 is declared in the ippcv.h file. This function calculates the size of the temporary buffer to be used by the function ippiFloodFill.

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.