How to ignore certain values in A histogram?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sean
le 21 Avr 2015
Réponse apportée : Chad Greene
le 21 Avr 2015
Say I have an grey scale image S and I'm looking to ignore all values above 250, how do I do it with out using NaN? the reason I don't want to use NaN is because Im looking to take statistical information from the resultant image such as average etc.
0 commentaires
Réponse acceptée
Chad Greene
le 21 Avr 2015
You can get statistics with NaNs using nanmean or mean(A(isfinite(A(:)))).
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Histograms dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!