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

HoughProbLineInit

Initializes the specification structure for line detection with the probabilistic Hough transform algorithm.

Syntax

IppStatus ippiHoughProbLineInit_8u32f_C1R(IppiSize roiSize, IppPointPolar delta, IppHintAlgorithm hint, IppiHoughProbSpec* pSpec);

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).

hint

Suggests using specific code for calculations.

pSpec

Pointer to the IppiHoughProbSpec structure.

Description

This function operates with ROI.

This function initializes the IppiHoughProbSpec specification structure that is required for the ippiHoughProbLine function.

For an example on how to use this function, see the example provided with the ippiHoughProbLine function description.

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.

See Also