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

ID 790148
Date 3/22/2024
Public
Document Table of Contents

HoughLineGetSize

Computes the size of the working buffer for the straight lines detection.

Syntax

IppStatus ippiHoughLineGetSize_8u_C1R(IppiSize roiSize, IppPointPolar delta, int maxLineCount, int* pBufSize);

Include Files

ippcv.h

Domain Dependencies

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

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

Parameters

roiSize

Size of the source image ROI, in pixels.

delta

Step of discretization (delta.rho - radial increment, delta.theta - angular increment).

maxLineCount

Number of elements of the destination buffer.

pBufSize

Pointer to the size of the working buffer.

Description

This function operates with ROI (see Regions of Interest in Intel IPP).

This function computes the size of the temporary working buffer that is required for the function ippiHoughLine.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if pBufSize is NULL.

ippStsSizeErr

Indicates an error condition if roiSize or delta has a field with zero or negative value.