![]() |
Let
be a continuous variety in
for which it is required to estimate the parameters
. To derive these parameters and fully define the function, a set of coordinates
is available, which belong to the locus of points of the function, potentially affected by noise but, above all, potentially outliers.
The Hough Transform is a technique that allows for the grouping of a "highly probable" set of points that satisfy certain parametric constraints (PIK92).
For every possible point
in the parameter space, it is possible to associate a score
of the form
Let the function
be a likelihood index between the pair
and the constraint expressed by
. The function
is typically a binary function, but by generalizing, it can also comfortably represent a probability. Through the function
, it is possible to incrementally construct the Hough transform
via
For specific constraints, it is possible to further simplify this approach in order to reduce computational load and memory usage.
Let there be
parameters to estimate, which are quantifiable and bounded, and let
and
be a function and a parameter such that the function
can be expressed as
In this way, it is possible to generate an n-dimensional probability map using observations affected by noise and potentially outliers.
Similarly, the Hough method allows for the estimation of a model in the presence of a mixture of models with different parameters.
The Hough method allows for progressively improved performance as the number of constraints increases, dynamically limiting, for example, the range of parameters associated with the sample . The Hough algorithm can be viewed as a degenerate form of template matching.
The use of Hough is typically interesting when the model has only 2 parameters, as it can be easily visualized on a two-dimensional map.
A very common example of the Hough transform is the case where (the model) is a line, expressed in polar form as in equation (1.46), where the parameters to be derived are
and
: it is evident that for every pair of points
and for all possible quantized and limited angles of
(since the angle is a bounded parameter), there exists one and only one
that satisfies equation (1.46).
It is therefore possible to create a map
where, for each point
and for each
, the element associated with
is incremented on the accumulator map, a relationship that satisfies the equation (1.46) of the line expressed in polar coordinates.
Paolo medici