User`s guide
Feature Extraction
9 Use the
Find Local Maxima block to find the peak values in the Hough
matrix
. These values represent potential lines in the input imag e. Set
the par
ameters as follows:
• Neighb
orhood size =
[11 11]
• Input i
s Hough matrix spanning full theta range =selected
Becauseyouareexpectingtwolines,leavetheMaximum number of
local maxima (N) parameter set to
2, and connect the Count port to the
Terminator block.
10 Use the Submatrix2 block to find the indices that correspond to the theta
values of the two peak values in the H ough matrix. Set the parameters as
follows:
7-21