Jump to content

Sharkoo

Newbies
  • Posts

    2
  • Joined

  • Last visited

About Sharkoo

  • Birthday 01/01/1970

Sharkoo's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. in GetIntensity() return ((0.114 * (double) + (0.587 * (double)G) + (0.299 * (double)R)) / 255.0; in GetIntensityByte() return (byte)((7471 * R + 38470 * G + 19595 * >> 16); I sure one is wrong.
  2. public byte GetIntensityByte() { return (byte)((7471 * R + 38470 * G + 19595 * >> 16); } is wrong? public byte GetIntensityByte() { return (byte)((7471 * B + 38470 * G + 19595 * R) >> 16); }
×
×
  • Create New...