How to NaN selected threshold values of red,green and blue using matlab code
Mostra commenti meno recenti
How to NaN selected threshold values of red,green and blue using matlab code
1 Commento
Jan
il 23 Giu 2017
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?
Risposta accettata
Più risposte (1)
Jan
il 23 Giu 2017
A bolöd guess:
mask = Img(:, :, 1) == 60 & ...
Img(:, :, 2) == 100 & ...
Img(:, :, 3) == 120;
Img(cat(3, mask, mask, mask)) = NaN;
Categorie
Scopri di più su NaNs in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!