I want to find DCT of a gray scale image. How to do it?

1 次查看(过去 30 天)
The gray scale image is divided into 8*8 blocks. How to find DCT of EACH 8*8 block and display dct of one block? Further, how to quantize the dct of each block?
  2 个评论
Chandvi Arora
Chandvi Arora 2017-7-19
And what is the diiference between dctmtx and blockprocing the dct statement?
Deo Kelvin
Deo Kelvin 2021-12-28
hello..can I ask for your coding? I am new to Matlab and my problem is the same as yours. You can send it to my email febbyfitri28@gmail.com. Thank you in advance, I really appreciate your kindness. @Chandvi Arora

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2017-7-19
blockproc() the dct2() call.
  5 个评论
Chandvi Arora
Chandvi Arora 2017-7-20
编辑:Chandvi Arora 2017-7-20
C = blockproc(grayImage, [8 8], @(block) dct2(block.data)); This statement gives an output as in the attached image. please guide me through.

请先登录,再进行评论。

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by