How to exclude NaN values from evaluation on raster data
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Karolina
am 5 Aug. 2015
Bearbeitet: Karolina
am 7 Aug. 2015
I have a raster which have NaN values. I would like to evaluate graythresh for my data, but the NaN values are taken into account and as a results I have 0 (zero). Is there a way to exclude NaN values from evaluation or remove them from data?
0 Kommentare
Akzeptierte Antwort
Sean de Wolski
am 5 Aug. 2015
x_no_nans = x(~isnan(x))
4 Kommentare
Sean de Wolski
am 6 Aug. 2015
What is EM, the effectiveness metric output? Otsu is not great for all images, it's really only for when there is an object in the foreground.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!