Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Error in Mosaicing (line 44) new_img(i,k) = N(i,k-Index+1);%%to stich the 2nd image after index. Index exceeds matrix dimensions. what does this mean?

조회 수: 1 (최근 30일)
Error in Mosaicing (line 44)
new_img(i,k) = N(i,k-Index+1);%%to stich the 2nd image after index. Index exceeds matrix dimensions.
what does this mean?

답변 (1개)

the cyclist
the cyclist 2019년 5월 26일
It means that when MATLAB tries to do the operation
new_img(i,k) = N(i,k-Index+1);
that either
  • new_img is a smaller array than i by k,
  • N is smaller than i by k-Index+1
such that you are either try to read from N or write to new_img at an array location that does not exist.

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by