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

  • 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 148
Correcting for Nonuniform Illumination
Correcting for Nonuniform Illumination
Global threshold techniques, which areoftenthefirststepinobject
measurement, cannot be applied to unevenly illuminated images. To correct
this problem, you can change the lighting conditions and take another picture,
or you can use morphological operators to even out the lighting in the image.
Once you have corrected for nonuniform illumination, you can pick a global
threshold that delineates every object from the background. In this topic, you
use the Opening block to correct for uneven lighting in an intensity image:
1 Define an intensity image in the MATLAB workspace. To read in an
intensity image from a PNG file, at the M ATLAB command prom pt, type
I= imread('rice.png');
I is a 256-by-256 matrix of 8-bit unsigned integer values.
2 To view the image this matrix represents, at the MATLAB command
prompt, type
imshow(I)
6-11
Vue de la page 148
1 2 ... 144 145 146 147 148 149 150 151 152 153 154 ... 251 252

Commentaires sur ces manuels

Pas de commentaire