How to NaN selected threshold values of red,green and blue using matlab code
古いコメントを表示
How to NaN selected threshold values of red,green and blue using matlab code
1 件のコメント
Jan
2017 年 6 月 23 日
Please mention any details. What are the inputs, how is the threshold applied? Does "NaN values" is a verb, which means setting the pixel values to NaN?
採用された回答
その他の回答 (1 件)
Jan
2017 年 6 月 23 日
A bolöd guess:
mask = Img(:, :, 1) == 60 & ...
Img(:, :, 2) == 100 & ...
Img(:, :, 3) == 120;
Img(cat(3, mask, mask, mask)) = NaN;
カテゴリ
ヘルプ センター および File Exchange で NaNs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!