Borrar filtros
Borrar filtros

RGB to Grayscale Conversion

2 visualizaciones (últimos 30 días)
Aidin Golrokh
Aidin Golrokh el 16 de En. de 2018
Respondida: Walter Roberson el 17 de En. de 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 comentarios
Image Analyst
Image Analyst el 16 de En. de 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 el 17 de En. de 2018
Exactly. How are they derived? What mathematical procedure is used and from where are they originated?

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 17 de En. de 2018

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by