Error using corr function while finding the correlation of image in matlab
8 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2011-10-5
It seems unlikely that that is complete and exact error message. Please copy and paste the complete error traceback.
采纳的回答
Jan
2011-10-5
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
更多回答(1 个)
Image Analyst
2011-10-5
You probably want normxcorr2(), or less likely xcorr2(). You're trying to roll your own and messing up.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!