Corr2 function returns NaN
4 次查看(过去 30 天)
显示 更早的评论
I've been trying to correlate two raster using corr2 but unfortunately,one of the two images contain NaN values which makes the result of correlation NaN. Is there a way to ignore these NaN values to get the correlation between images? I believe eliminating these values will not solve the problem because the size of the array will change. Two rasters must have the same dimensions for corr2 to work.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!