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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 252
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 239
1 2 ... 235 236 237 238 239 240 241 242 243 244 245 ... 251 252

Komentarze do niniejszej Instrukcji

Brak uwag