Error using corr function while finding the correlation of image in matlab
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I Keep getting the same Error while finding the correlation of image in matlab using corr function ??? Attempted to access CORR.;ell. any help would be appreciated thanking you
2 commentaires
Walter Roberson
le 5 Oct 2011
It seems unlikely that that is complete and exact error message. Please copy and paste the complete error traceback.
Réponse acceptée
Jan
le 5 Oct 2011
The error message seems to be clear. The problem does not concern the CORR function, but accessing the variable CORR:
CORR{1}{d,1} is a [3x3] array, but you want to access the index [65,64]
You can use the debugger to find the cause of this problem:
dbstop if error
Plus de réponses (1)
Image Analyst
le 5 Oct 2011
You probably want normxcorr2(), or less likely xcorr2(). You're trying to roll your own and messing up.
0 commentaires
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!