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* pBufferSize);

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.
pBufferSize
Pointer to the size of the working buffer.

Description

The function ippiHoughLineGetSize is declared in the ippcv.h file. It 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 pBufferSize is NULL.

ippStsSizeErr

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

Submit feedback on this help topic

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