7 Analysis and Enhancement
5 Use the Image From Workspace block to import your image from the
MATLAB workspace. Set the Value parameter to
I.
6 Use the Edge Detection block to find theedgesintheintensityimage. This
process improves the efficiency of the Hough Lines block as it reduces the
image area over wh ich th e block sear ches for lines. The block also converts
the image to a binary image, which is the required input for the Hough
Transform block. Accept the default parameters.
7 UsetheVideoViewerblocktodisplay the edges found by the Edge
Detection block. Accept the default parameters.
8 Use the Hough Transform block to compute the Hough matrix by
transforming the input image into the rho-theta parameter space. The
block also outputs the rho and theta values associated with the Hough
matrix. Set the block parameters as follows:
• Theta resolution (radians) =
pi/360
• Select the Output theta and rho values check box.
7-12
Comments to this Manuals