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

조회 수: 2 (최근 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