フィルターのクリア

RGB to Grayscale Conversion

3 ビュー (過去 30 日間)
Aidin Golrokh
Aidin Golrokh 2018 年 1 月 16 日
回答済み: Walter Roberson 2018 年 1 月 17 日
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 件のコメント
Image Analyst
Image Analyst 2018 年 1 月 16 日
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 2018 年 1 月 17 日
Exactly. How are they derived? What mathematical procedure is used and from where are they originated?

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 1 月 17 日

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by