0% found this document useful (0 votes)
9 views17 pages

Hough Transform Mechanics in Biometrics

The document discusses the mechanics of the Hough transform, including challenges in determining the size of cells and counting peaks in the Hough array. It explains how to find lines and circles using the Hough transform, with considerations for noise and clutter, and introduces the Generalized Hough Transform for shapes not described by equations. The document emphasizes the effectiveness of the Hough transform for simple shapes and its insensitivity to occlusion.

Uploaded by

Deepa S
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views17 pages

Hough Transform Mechanics in Biometrics

The document discusses the mechanics of the Hough transform, including challenges in determining the size of cells and counting peaks in the Hough array. It explains how to find lines and circles using the Hough transform, with considerations for noise and clutter, and introduces the Generalized Hough Transform for shapes not described by equations. The document emphasizes the effectiveness of the Hough transform for simple shapes and its insensitivity to occlusion.

Uploaded by

Deepa S
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

18CSE357T – BIOMETRICS

Unit –1 : Session –9: SLO -2

1
SRM Institute of Science and Technology
Mechanics of the Hough transform

• Difficulties • How many lines?


– how big should the cells – Count the peaks in the
be? (too big, and we Hough array
merge quite different lines;
– Treat adjacent peaks as
too small, and noise
a single peak
causes lines to be missed)
• Which points belong to each
line?
– Search for points close to
the line
– Solve again for line and
iterate
Fewer votes land in a single bin when noise increases.
Adding more clutter increases number of bins with false peaks.
Real World Example

Original Edge Found Lines


Detection

Parameter Space
Finding Circles by Hough Transform

Equation of Circle:

( xi − a)2 + ( yi − b)2 = r 2

If radius is known: (2D Hough Space)

Accumulator Array A( a, b)
Finding Circles by Hough Transform

Equation of Circle:

( xi − a)2 + ( yi − b)2 = r 2

If radius is not known: 3D Hough Space!


Use Accumulator array A( a, b, r )

What is the surface in the hough space?


Using Gradient Information
• Gradient information can save lot of computation:

Edge Location ( xi , yi )
Edge Direction i

Assume radius is known:

a = x − r cos
b = y − r sin 

Need to increment only one point in Accumulator!!


Real World Circle Examples

Crosshair indicates results of Hough transform,


bounding box found via motion differencing.
Finding Coins
Original Edges (note noise)
Finding Coins (Continued)
Penn Quarters
y
Finding Coins (Continued)

Note that because


the quarters and
penny are different
sizes, a different
Hough transform
(with separate
accumulators) was
used for each circle
size.

Coin finding sample images


from: Vivek Kwatra
Generalized Hough Transform
• Model Shape NOT described by equation
Generalized Hough Transform
• Model Shape NOT described by equation
Generalized Hough Transform
Find Object Center ( xc , yc ) given edges ( xi , yi , i )
Create Accumulator Array A( xc , yc )
Initialize: A( xc , yc ) = 0 ( xc , yc )
For each edge point ( xi , yi , i )
For each entry rki in table, compute:

xc = xi + rki cos ki
yc = yi + rki sin  ki
Increment Accumulator: A( xc , yc ) = A( xc , yc ) + 1
Find Local Maxima in A( xc , yc )
Hough Transform: Comments

• Works on Disconnected Edges

• Relatively insensitive to occlusion

• Effective for simple shapes (lines, circles, etc)

• Trade-off between work in Image Space and Parameter Space

• Handling inaccurate edge locations:

• Increment Patch in Accumulator rather than a single point

Common questions

Powered by AI

The generalized Hough transform extends beyond shapes described by simple equations, accommodating model shapes not mathematically described, like complex geometric forms. Instead of a fixed formula, it relies on template matching for edge points, computing potential object centers using a table of model points. The approach requires the creation of accumulator arrays and searching for local maxima, making it adaptable to a broader range of shapes .

The Hough transform's insensitivity to occlusion stems from its ability to work on disconnected edges. Even if parts of the shape are occluded, the transform can still detect the overall shape by accumulating evidence from non-occluded segments. This robustness allows for reliable detection in cluttered environments where objects might be partially hidden .

Separate accumulators are used in the Hough transform for detecting circles of different sizes to isolate each circle size in its own parameter space section. This separation prevents interference between differently sized circles and ensures that the detections do not incorrectly overlap or tally together, facilitating accurate recognition of objects like coins with distinct diameters .

Noise impacts line detection by reducing the votes landing in a single bin, thus increasing the likelihood of false peaks in the Hough space. This could result in detecting incorrect lines or missing actual lines .

Gradient information optimizes computation in circle detection by allowing the algorithm to increment only a single point in the accumulator array rather than all possible points. This is done by utilizing edge location and direction so that only the point corresponding to the gradient direction is considered, significantly reducing computational overhead .

Treating adjacent peaks as a single peak in the Hough array is crucial to avoid counting duplicate representations of the same shape, which can occur due to noise or resolution discrepancies in the accumulator space. Failing to do so may lead to overcounting and false detection of shapes, reducing the accuracy and reliability of the transform's results .

To handle inaccuracies in edge detection, the Hough transform compensates by incrementing patches in the accumulator array rather than single points. This approach accounts for potential variations in detected edge locations, smoothing out minor inaccuracies and ensuring that missed edges do not significantly impact the detection results .

The trade-off between image space and parameter space affects the Hough transform implementation by requiring careful balance: work can be shifted between detecting edges in the image space and analyzing these in the parameter space. A denser parameter space offers more detailed results but demands more computation, whereas sparse parameterization lowers computational cost but risks losing precision or detail. Considerations must include computing efficiency and the level of precision needed for the application .

The primary challenges in using the Hough transform for line detection include determining the appropriate cell size in the Hough space; if cells are too large, different lines might be merged, whereas if they are too small, noise could cause real lines to be missed. Additionally, the presence of noise increases the number of false peaks in the Hough array, complicating the differentiation between real and spurious results .

When the radius is unknown, the Hough transform employs a 3D Hough space, involving a 3D accumulator array parameterizing the potential circle centers and radii. This method is necessary because without a known radius, all possible radii must be considered, which necessitates a third dimension in the parameter space to keep track of different radius possibilities .

You might also like