MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 Betriebsanweisung Seite 240

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 252
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 239
1 2 ... 235 236 237 238 239 240 241 242 243 244 245 ... 251 252

Kommentare zu diesen Handbüchern

Keine Kommentare