Visible to Intel only — GUID: GUID-CF8F093F-B39F-4D6A-BA98-447D7126ABB1
Visible to Intel only — GUID: GUID-CF8F093F-B39F-4D6A-BA98-447D7126ABB1
SqrDistanceNormGetBufferSize
Computes the size of the work buffer for the ippiSqrDistanceNorm function.
Syntax
IppStatus ippiSqrDistanceNormGetBufferSize (IppiSize srcRoiSize, IppiSize tplRoiSize, IppEnum algType, int* pBufferSize);
Include Files
ippi.h
Parameters
srcRoiSize, tplRoiSize |
Size of the source/template ROI in pixels. |
algType |
Bit-field mask for the algorithm type definition. Possible values are the results of composition of the IppAlgType, IppiROIShape, and IppiNormOp values. |
pBufferSize |
Pointer to the size of the work buffer. |
Description
The ippiSqrDistanceNormGetBufferSize function computes the size, in bytes, of the external work buffer needed for the function that computes the Euclidean distance between an image and a template. The result is stored in the pBufferSize parameter.
Return Values
ippStsNoErr |
Indicates no error. |
ippStsSizeErr |
Indicates an error when:
|
ippStsAlgTypeErr |
Indicates an error when:
|
ippStsNullErr |
Indicates an error when the pBufferSize is NULL. |