MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 Guide de l'utilisateur Page 170

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 252
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 169
1 2 ... 165 166 167 168 169 170 171 172 173 174 175 ... 251 252

Commentaires sur ces manuels

Pas de commentaire