Hi sir, my image is divided into 4 equal halves:my name is "cc",my 4 blocks are named as 'i1','i2','i3','i4'. i want to access 1st block (i1),which is saved under the name 'o'(i.e o=1).now i need to extract 1st block matrix in image cc

1 view (last 30 days)
help me sir

Accepted Answer

Walter Roberson
Walter Roberson on 25 Aug 2015
y = {i1, i2, i3, i4};
y{o}
  2 Comments
kaavya subramani
kaavya subramani on 25 Aug 2015
if suppose o=[1 3 4 2....].The elements indicates 1st frame's 1st block matrix,2nd frame's 3rd block matrix,3rd frame's 4th block matrix,4th frame's 2nd block matrix and so on.how to apply "a-b/2" for all frames in for loop(in first iteration a=1st frame,b=2nd frame;in 2nd iteration a=1st frame b=3rd frame.....,like comparsion of all frames with all other frames).how to do using loop sir

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!