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 次查看(过去 30 天)
help me sir

采纳的回答

Walter Roberson
Walter Roberson 2015-8-25
y = {i1, i2, i3, i4};
y{o}
  2 个评论
kaavya subramani
kaavya subramani 2015-8-25
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

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by