- new_img is a smaller array than i by k,
- N is smaller than i by k-Index+1
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?
0 个评论
回答(1 个)
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
such that you are either try to read from N or write to new_img at an array location that does not exist.
0 个评论
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!