Azzera filtri
Azzera filtri

RGB to Grayscale Conversion

2 visualizzazioni (ultimi 30 giorni)
Aidin Golrokh
Aidin Golrokh il 16 Gen 2018
Risposto: Walter Roberson il 17 Gen 2018
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 Commenti
Image Analyst
Image Analyst il 16 Gen 2018
What do you mean? That is the math. Do you mean you want to know how the coefficients were arrived at?
Aidin Golrokh
Aidin Golrokh il 17 Gen 2018
Exactly. How are they derived? What mathematical procedure is used and from where are they originated?

Accedi per commentare.

Risposte (1)

Walter Roberson
Walter Roberson il 17 Gen 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by