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

  • 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 151
6 Morphological Operations
The stre l function creates a circular STREL object with a radius of 15
pixels. When working with the Openi ng block, pick a STREL object tha t
fits within the objects you want to keep. It often takes experimentation to
find the n eig hbo rhood or STREL object that best suits your application.
8 Use the Video Viewer1 block to view the background estimated by the
Openin g block. Accept the default parameters.
9 Use the first Sum block to subtract the estimated background from the
original image. Set the block parameters as follows:
Icon shape =
rectangular
List of signs = -+
10 Use the Video Viewer2 block to view the result of subtracting the
background from the original image. A ccept the default parameters.
11 Use the Constant block to define an offset value. Set the Constant value
parameter to
80.
12 Use the Data Type Conversion block to convert the offset v alue to an 8-bit
unsigned integer. Set the Outp ut data type mode parameter to
uint8.
6-14
Vue de la page 151
1 2 ... 147 148 149 150 151 152 153 154 155 156 157 ... 251 252

Commentaires sur ces manuels

Pas de commentaire