divide image into overlapping blocks

1 view (last 30 days)
TUSHAR MURATKAR
TUSHAR MURATKAR on 13 Sep 2017
Commented: TUSHAR MURATKAR on 20 Sep 2017
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.

Answers (1)

KSSV
KSSV on 13 Sep 2017
doc blockproc
  2 Comments
TUSHAR MURATKAR
TUSHAR MURATKAR on 13 Sep 2017
@ KSSV, ya i had used blockproc.....but where i am doing wrong can you tell me. Thanks in advance.
TUSHAR MURATKAR
TUSHAR MURATKAR on 20 Sep 2017
can anybody help me in above question.

Sign in to comment.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!