how to convert 8x8 matrix into image?

1 次查看(过去 30 天)
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.

采纳的回答

Mohammad Abouali
Mohammad Abouali 2015-1-21
编辑:Mohammad Abouali 2015-1-21
do the inverse dct or idct().
  12 个评论
Image Analyst
Image Analyst 2015-1-23
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 2015-1-23
编辑:Mohammad Abouali 2015-1-23
Actually didn't know about that. That's very useful to know. Thank you.

请先登录,再进行评论。

更多回答(2 个)

Abhinaya Rajasekaran
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
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