How to exclude NaN values from evaluation on raster data
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Sean de Wolski
2015 年 8 月 5 日
x_no_nans = x(~isnan(x))
4 件のコメント
Sean de Wolski
2015 年 8 月 6 日
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.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!