MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 Guida Utente Pagina 240

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 252
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 239
8 Example Applications
Viewing the Comp
ressed Image
In “Compre ssing
an Image” on page 8-11, you compressed an image using
the 2-D DCT and Se
lector blocks. Now, you can use the 2-D IDCT block to
transform the im
agebacktothetimedomainandviewtheresult:
1 If you h ave n ot a
lready done so, define an intensity image in the MATLAB
workspace by ty
ping
I= imread('cameraman.tif');
I is a 256-by-256
matrix of 8-bit unsigned integer values.
2 If the model you created in “Compressing an Image” on page 8-11 is not
open on your desktop, you can open an equivalent model by typing
doc_compression
at the MATLAB command prompt.
3 Use the Block Processing1 b lock to set the size of the submatrices that the
block p asses to the subsystem. Set the Block size parameter to
{[4 4]}.
8-18
Vedere la pagina 239
1 2 ... 235 236 237 238 239 240 241 242 243 244 245 ... 251 252

Commenti su questo manuale

Nessun commento