Bitmap from RGB to graysclae
I need to convert pictureBox1.Image from RGB to Grayscale
I'm uses this
x=(byte)((cc.B*0.28+cc.G*0.66+cc.R*0.51)/(0.28+0.66+0.51));
cc=Color.FromArgb(x,x,x);
but it doesn't correct.
Sorry for my bed English
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

icemanind22 reputationPosted Jan 21, 2005, 9:33 AM EST
bilnaadRank #2,169 · 655 reputationPosted Jan 27, 2005, 11:11 AM EST
bilnaadRank #2,169 · 655 reputationPosted Jan 27, 2005, 11:13 AM EST
shabonaa19 reputationPosted Apr 17, 2005, 12:57 PM EDT