UndistortGetSize

Computes the size of the external buffer.

Syntax

IppStatus ippiUndistortGetSize(IppiSize roiSize, int* pBufferSize);

Parameters

roiSize
Size of source and destination images ROI in pixels.
pBufferSize
Pointer to the computed value of the buffer size.

Description

The function ippiUndistortGetSize is declared in the ippcv.h file. This function computes the size of the temporary external buffer that is used by the functions ippiUndistortRadial. The buffer of the computed size can be used to process smaller images as well.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if pBufferSize 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.