RGB to Grayscale Conversion
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I know that the conversion from RGB to grayscale is based on the wighted average method as shown in the following equation:
gray = .299*redChannel + .587*greenChannel + .114*blueChannel
What I need to know is the math behind this equation and the coefficients.
Thank you for the help.
2 commentaires
Image Analyst
le 16 Jan 2018
What do you mean? That is the math. Do you mean you want to know how the coefficients were arrived at?
Réponses (1)
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots 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!