dct (8*8)

4 views (last 30 days)
sumit choubey
sumit choubey on 14 Oct 2011
how to calculate Block-base DCT of an image ....

Accepted Answer

Wayne King
Wayne King on 14 Oct 2011
If you have the Image Processing Toolbox.
X = randn(100,100);
fun = @(block_struct) dct2(block_struct.data);
Y = blockproc(X,[8 8],fun);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!