Azzera filtri
Azzera filtri

how to convert 8x8 matrix into image?

1 visualizzazione (ultimi 30 giorni)
i am doing project in dct...i hav taken an image converted it into 8x8 matrix...and compressed it using dct...now i want to convert the dct 8x8 matrix output back to image...pls help me in writing the code.

Risposta accettata

Mohammad Abouali
Mohammad Abouali il 21 Gen 2015
Modificato: Mohammad Abouali il 21 Gen 2015
do the inverse dct or idct().
  12 Commenti
Image Analyst
Image Analyst il 23 Gen 2015
You can also set the 'InitialMagnification' parameter in imshow to something like 800 or 1600 to show it larger, instead of calling imresize.
Mohammad Abouali
Mohammad Abouali il 23 Gen 2015
Modificato: Mohammad Abouali il 23 Gen 2015
Actually didn't know about that. That's very useful to know. Thank you.

Accedi per commentare.

Più risposte (2)

Abhinaya Rajasekaran
Abhinaya Rajasekaran il 22 Gen 2015
I got the point that image is matrix of numbers...but i hav to show the image as output..not the matrix....how to display the matrix as image in matlab??

Abhinaya Rajasekaran
Abhinaya Rajasekaran il 22 Gen 2015
I tried it i am not getting the image...getting some black grey and white colours only

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by