anyone suggest me a code for dct2() and blockproc()
1 次查看(过去 30 天)
显示 更早的评论
i take one image with any kind of size. for that image how to apply 8x8 dct. anyone suggest me what is the code for this?
0 个评论
采纳的回答
Wayne King
2012-9-28
Hi, You should have just continued the post that you started here:
Did you read the help for dct2() and blockproc()?
fun = @(block_struct) dct2(block_struct.data);
RGB = imread('autumn.tif');
I = rgb2gray(RGB);
Y = blockproc(I,[8 8],fun);
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!