MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 Podręcznik Użytkownika Strona 170

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 252
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 169
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
Przeglądanie stron 169
1 2 ... 165 166 167 168 169 170 171 172 173 174 175 ... 251 252

Komentarze do niniejszej Instrukcji

Brak uwag