How would I detect gray/white pixels in a picture?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ali Almakhmari
le 8 Août 2022
Réponse apportée : Walter Roberson
le 9 Août 2022
I am trying to write a function to detect white-like and gray-like pixels in a given colored picture. I am stuck on how to go about it. Any help is appreciated.
1 commentaire
Réponse acceptée
Walter Roberson
le 9 Août 2022
Convert for HSV, check for "high" V (near 1) and "small" (near 0) S. You will need to decide on the exact boundaries, depending how "white like" or "gray like" you want to allow.
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!