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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 252
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 251 252

Komentarze do niniejszej Instrukcji

Brak uwag