Package: vision
Find Cartesian coordinates of lines that are described by rho and theta pairs
The HoughLines
object finds Cartesian coordinates
of lines that are described by rho and theta pairs. The object inputs
are the theta and rho values of lines and a reference image. The object
outputs the onebased row and column positions of the intersections
between the lines and two of the reference image boundary lines. The
boundary lines are the left and right vertical boundaries and the
top and bottom horizontal boundaries of the reference image.
H = vision.HoughLines
returns
a Hough lines System object, H
, that finds Cartesian
coordinates of lines that are described by rho and theta pairs.
H = vision.HoughLines(
returns
a Hough lines object, Name
,Value
)H
, with each specified property
set to the specified value. You can specify additional namevalue
pair arguments in any order as (Name1
, Value1
,...,NameN
,ValueN
).
Code Generation Support 

Supports MATLAB^{®} Function block: Yes 
System Objects in MATLAB Code Generation. 
Code Generation Support, Usage Notes, and Limitations. 

Method to calculate sine values used to find intersections of lines Specify how to calculate sine values which are used to find
intersection of lines as 

Spacing of the thetaaxis Specify the spacing of the thetaaxis. This property applies
when you set the 
clone  Create hough lines object with same property values 
getNumInputs  Number of expected inputs to step method 
getNumOutputs  Number of outputs from step method 
isLocked  Locked status for input attributes and nontunable properties 
release  Allow property value and input characteristics changes 
step  Output intersection coordinates of a line described by a theta and rho pair and reference image boundary lines 
This object implements the algorithm, inputs, and outputs described on the Hough Lines block reference page. The object properties correspond to the block parameters.