User`s guide

7 Analysis and Enhancement
1
Index Option =
Index vector (dialog)
In dex = 0
Inputportsize= 2
Set the Selector1 block parameters as follows :
Index mode =
Zero-based
1
Index Option =
Index vector (dialog)
In dex = 1
Inputportsize= 2
11 Use the Variable Selector blocks to index into the rho and theta vectors and
determine the rho and theta values that correspond to the longest line in
the original image. Set the parameters of the Variable Selector blocks as
follows:
Select =
Columns
Index mode = Zero-based
12 Use the Hough Lines block to determine where the longest line intersects
the edges of the original image. You use these coordinates to superimpose
a white line on the original image. Set the Sine value computation
method to
Trigonometric function.
13 Use the Draw Shapes block to draw a white line over the longest line on the
original image. Set the block parameters as follows:
Shape =
Lines
Border value = White
14 Use the Video Viewer block to display the original image with a white
line superimposed over the longest line in the image. Accept th e default
parameters.
15 Connect the blocks a s shown in the following figure.
7-14