Effacer les filtres
Effacer les filtres

how to convert 8x8 matrix into image?

1 vue (au cours des 30 derniers jours)
Abhinaya Rajasekaran
Abhinaya Rajasekaran le 21 Jan 2015
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.

Réponse acceptée

Mohammad Abouali
Mohammad Abouali le 21 Jan 2015
Modifié(e) : Mohammad Abouali le 21 Jan 2015
do the inverse dct or idct().
  12 commentaires
Image Analyst
Image Analyst le 23 Jan 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 le 23 Jan 2015
Modifié(e) : Mohammad Abouali le 23 Jan 2015
Actually didn't know about that. That's very useful to know. Thank you.

Connectez-vous pour commenter.

Plus de réponses (2)

Abhinaya Rajasekaran
Abhinaya Rajasekaran le 22 Jan 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 le 22 Jan 2015
I tried it i am not getting the image...getting some black grey and white colours only
  1 commentaire
Mohammad Abouali
Mohammad Abouali le 22 Jan 2015
Don't start a new answer. Continue on the comment.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by