Hough Lines
Find Cartesian coordinates of lines described by rho and theta pairs
 Library:
Computer Vision Toolbox / Transforms
Description
The Hough Lines block finds the points of intersection between the boundary lines of a reference image and a line specified as a rhotheta pair. The block outputs Cartesian coordinates for the points of intersection. The boundary lines indicate the left and right vertical boundaries and the top and bottom horizontal boundaries of the reference image.
If the line specified by a rhotheta pair does not intersect two border lines in the
reference image, the block outputs the values, [0 0 0 0
] for that line.
This output value enables the next block in your model to ignore the outputs for that line, as
the Hough Lines block generally precedes a block that draws a point or shape at
each output intersection.
Ports
Input
Output
Parameters
Model Examples
Block Characteristics
Data Types 

Multidimensional Signals 

VariableSize Signals 

^{a} This data type is only supported at the input port Ref1. ^{b} Generated code will be restricted to MATLAB host computers when you set the FFT implementation parameter to FFTW, or when the transform length is not a power of two. ^{c} Input ports Theta and Rho support signed fixedpoint data types with word lengths less than or equal to 32, while Ref1 supports signed and unsigned fixedpoint data types. ^{d} The output port supports 32bit signed integers only. Input ports Theta and Rho support signed integers, while Ref1 supports signed and unsigned integers. 
Extended Capabilities
Version History
Introduced before R2006a