How weights are assigned to each RGB component in function rgb2gray

2 次查看(过去 30 天)
In function rgb2gray, Gray=0.299*R + 0.587*G + 0.114*B, i understand it is a standard formula but can anyone help me understanding on how the weights for each channel are computed?
  1 个评论
Jing
Jing 2013-3-19
What do you mean by channel? Do you mean the 'R', 'G' or 'B' component? That's explained in color theory or color model. If you're interested, try to search that.

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2013-3-19
It comes from the luminous efficacy curve. See http://en.wikipedia.org/wiki/Luminous_efficacy

类别

Help CenterFile Exchange 中查找有关 Image Filtering and Enhancement 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by