Next: The Hough Algorithm
Up: No Title
Previous: Introduction
Consider a straight line y which is a function of the spatial coordinate x.
This line can be represented by the equation
y = mx + b where m is the gradient
and b is the y-intercept of the line.
A point on the line will have a fixed (x',y') coordinate , however may have a
whole range of m and b values defining it.
Figure 1:
A single point (x',y') may have a range of m and b values defining it.
 |
Thus one point in (x,y)-space has an associated straight line in (m,b)-parameter space.
Figure 2:
The point (x',y') is represented by a straight line in parameter space
 |
Due to the difficulties involved with lines of infinite slope, it is more
suitable to represent the line as a function of r and
,
where,
and r is the length of the line
extending from the origin
perpendicular to the line
y = mx + b and
is the angle
makes with
the x-axis.
Figure:
The line y can be represented by the parameters r and
.
 |
A single point on this line thus has a whole range of possible r and
values associated with it. This single point is mapped to a sinusoidal curve in
parameter space.
To illustrate this a single in (x,y)-space is shown below along with the
corresponding image for this point in
-space.
Figure:
One point in (x,y)-space maps to a curve in
-space
 |
Now consider a second point in (x,y)-space. This too maps to a curve
in
-space.
Figure:
Two points map to two curves in
-space
 |
If we then add a third collinear point we obtain three sinusoidal curves in parameter space. It should be noted however, that these three curves in parameter space share a common point of intersection. This is because each of the three points in (x,y)-space all lie on the same line which can be represented by a unique
-coordinate. This unique
-coordinate is the point that all three sinusoidal curves share in parameter space.
Figure:
The corresponding curves in
-space of three collinear points share a common point of intersection.
 |
Hence all points on a straight line will map to a corresponding curve in
parameter space. The curves will be different for each individual (x,y) point, however the curves associated with collinear points will all intersect
at a common
value.
The Hough transform essentially locates the common
intersection
point. With the knowledge of these two coordinates, the corresponding line in
(x,y)-space can be reconstructed.
Next: The Hough Algorithm
Up: No Title
Previous: Introduction
vicky safouris
2000-06-02