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

  • 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 227
8 Example Applications
9 Use the Constant block to define the size of the image of the cat sculpture.
Set the Constant value parameter to
single([41 41]).
10 Use the Mux block to concatenate the location of the maximum value and
thesizeoftheimageofthecatsculpture into a single vector. You use this
vector to define a rectangular region of interest (ROI) that you pass to the
Draw Shapes block.
11 Use the Draw Shapes block to draw a rectangle around the p ortion of each
video frame that best matches the image of the cat sculpture. Accept the
default parameters.
12 Use the Video Viewer block to display the video stream w ith the ROI
displayed on it. Accept the default parameters.
The Vi
deo Viewer block automatically displays the video in the Video
Viewe
r window when you run the model. Because the image is represented
8-6
Vue de la page 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 251 252

Commentaires sur ces manuels

Pas de commentaire