EigenValsVecsGetBufferSize

Calculates size of temporary buffer for the function ippiEigenValsVecs.

Syntax

IppStatus ippiEigenValsVecsGetBufferSize_32f_C1R(IppiSize roiSize,int apertureSize, int avgWindow, int* pBufferSize);

IppStatus ippiEigenValsVecsGetBufferSize_8u32f_C1R(IppiSize roiSize, int apertureSize, int avgWindow, int* pBufferSize);

Parameters

roiSize
Size of the source image ROI in pixels.
apertureSize
Size (pixels) of the derivative operator used by the function, possible values are 3 or 5.
avgWindow
Size of the blurring window in pixels, possible values are 3 or 5.
pBufSize
Pointer to the variable that returns the size of the temporary buffer.

Description

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

This function calculates the size of a temporary buffer to be used by the function ippiEigenValsVecs.

Caution iconCaution

The parameters apertureSize and avgWindow must be the same for both functions ippiEigenValsVecsGetBufferSize and ippiEigenValsVecs.

Example “Using the function ippiEigenValsVecs” shows how to use the function ippiEigenValsVecsGetBufferSizee.

Return Values

ippStsNoErr

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

ippStsNullPtrErr

Indicates an error condition if one of the specified pointers is NULL.

ippStsSizeErr

Indicates an error condition if roiWidth has zero or negative value, or if apertureSize or avgWindow has an illegal value.

Submit feedback on this help topic

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