Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

CannyGetSize

Calculates size of temporary buffer for the ippiCanny function.

Syntax

IppStatus ippiCannyGetSize(IppiSize roiSize, int* pBufferSize);

IppStatus ippiCannyGetSize_L(IppiSizeL roi, IppSizeL* bufferSize);

Include Files

ippcv.h

Flavors with the _L suffix: ippcv_l.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h, ippi.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib, ippi.lib

Parameters

roiSize, roi

Size of the image ROI, in pixels.

pBufferSize, bufferSize

Pointer to the computed size of the temporary buffer.

Description

This function calculates the size of a temporary buffer for the ippiCanny function.

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 pRoiSize has a field with zero or negative value.