Skip navigation

有几个公式,不过我的眼睛是感觉不到什么区别咯。

  • Y = 0.3R + 0.59B + 0.11G
  • Y=0.212671*R + 0.715160*G + 0.072169*B
  • Y=(max(R,G,B) + min(R,G,B)) / 2

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>