Corr2 function returns NaN

2 Ansichten (letzte 30 Tage)
Joey Ohmar Aranda
Joey Ohmar Aranda am 3 Nov. 2016
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.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by