필터 지우기
필터 지우기

how to compare images in a group?

조회 수: 1 (최근 30일)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2013년 3월 3일
댓글: Image Analyst 2019년 4월 24일
i have 10 images in a group. i have to compare 1st image with 2nd using correlation. then i have to compare 2nd image with 3rd image. then i have to compare 3rd image with 4th . similarly it goes on till 10. how to achieve this?
  댓글 수: 2
Yvan N.
Yvan N. 2019년 4월 24일
Pleaae how to do this correlation?
Can you share with me the correlation code ?
Image Analyst
Image Analyst 2019년 4월 24일
See attached demo on normalized cross correlation.

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2013년 3월 3일
for k1 = 1 : 10
for k2 = k1 : 10
% Do the correlation
end
end
  댓글 수: 2
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2013년 3월 3일
Hi Image Analyst !! if its a matrix means, i can give the range from 1 to 10. myself having 10 images.. how can we mention that k=first image: tenth image
Image Analyst
Image Analyst 2013년 3월 3일
Not sure what you mean. I can mention that because I did. Look at the first for loop statement where k1 goes from 1 to 10. Then inside your loop you just read in your two images (for k1 and k2) and do the correlation or whatever you want to do. See the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by