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 日間)
Abdulaziz Alfazari
Abdulaziz Alfazari 2019 年 5 月 26 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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