Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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 vue (au cours des 30 derniers jours)
Abdulaziz Alfazari
Abdulaziz Alfazari le 26 Mai 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
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?

Réponses (1)

the cyclist
the cyclist le 26 Mai 2019
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.

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by