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

  • 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 104
Chroma Resampling
Chroma Resampling
The Y’CbCr color space separ ate s the luma (Y’) compon ent of an image from
the chroma (Cb and Cr) components. Luma and chroma, which are calculated
using gamma corrected R, G, and B (R’, G’, B’) signals, are different quantities
than the CIE chrominance and luminance. Because the human eye is more
sensitive to changes in luma than to changes in chroma, you can reduce the
bandwidth required for transmission or storage of a signal by removing some
of the color information. For this reason, this color space is often used for
digital e ncoding and transmission applications. In the following example, you
use the Chroma Resampling block to downsample the Cb and Cr components
of an image:
1 DefineanRGBimageintheMATLABworkspace. ToreadinanRGB
image from a TIF file, at the MATLAB command prompt, type
I= imread('autumn.tif');
I is a 206-by-345-by-3 array of 8-bit unsigned integer values. Each plane of
this array represents the red, green, or blue color values of the image.
2 To view the image this array represents, at the MATLAB command prompt,
type
imshow(I)
4-19
Vue de la page 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 251 252

Commentaires sur ces manuels

Pas de commentaire