TrueDistanceTransformGetBufferSize

Calculates the size of the temporary working buffer for the function ippiTrueDistanceTransform.

Syntax

IppStatus ippiTrueDistanceTransformGetBufferSize_8u16u_C1RSfs(IppiSize roiSize, int* pBufferSize);

IppStatus ippiTrueDistanceTransformGetBufferSize_8u32f_C1R(IppiSize roiSize, int* pBufferSize);

Parameters

roiSize

Size of the image ROI in pixels.

pBufferSize

Pointer to the computed size of the buffer.

Description

The function ippiTrueDistanceTransformGetBufferSize is declared in the ippcv.h. It operates with ROI (see Regions of Interest in Intel IPP).

This function computes the size of the working buffer required for the function ippiTrueDistanceTransform.

Caution iconCaution

THE FUNCTION ippiTrueDistanceTransformGetBufferSize_8u16u_C1RSfs IS DEPRECATED. Please use the function ippiTrueDistanceTransformGetBufferSize_8u32f_C1R instead.

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.