divide image into overlapping blocks

Hi, Can anybody tell me how to divide an image into overlapping blocks and apply svd to each block. Any help in this regard is highly appreciated. This is my code snippet.
L = 1;
fu = @(block_struct) svd(block_struct.data);
J = blockproc(LL{L}, [16 16], fu);
When i run this i dont get error but the "J" do not satisfy (M-B+1)X(N-B+1). Anybody if knows how to do it can share his view. Thanks in advance.

回答(1 个)

KSSV
KSSV 2017-9-13
doc blockproc

2 个评论

@ KSSV, ya i had used blockproc.....but where i am doing wrong can you tell me. Thanks in advance.
can anybody help me in above question.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by