How to calculate Multi Block DCT of an image where block size are 2x2; 4x4 and 8x8? Thanks

2 views (last 30 days)
Hi, I am trying to calculate MBDCT of a 2D gray image where block size is 2x2 or 4x4 or 8x8. I have used dct2 function before. But as far I understand, dct2 function calculates the entire image matrix. So can you please tell me how to code this? Thanks a lot for your kind guidance.

Answers (1)

Abhishek Ballaney
Abhishek Ballaney on 6 Feb 2018
https://in.mathworks.com/help/images/ref/dct2.html
  1 Comment
Mohammad Manzurul Islam
Mohammad Manzurul Islam on 6 Feb 2018
As i said, I need to apply dct on blocks of image. For example, the blocks may be 2x2 or 4x4 or any other block size. And image can be of any size.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!