how i can convert the color image into gray image using vhd

Status
Not open for further replies.

manish12

Advanced Member level 3
Joined
Nov 21, 2006
Messages
983
Helped
66
Reputation
132
Reaction score
33
Trophy points
1,308
Activity points
6,117
i want to only extract the handwritten info. from the color form[ railway reservation form , or any other application form or form ].

for this i need a color scan image as prototype and it should/ will be small , than i have to convert it in to gray level .....................so on

any way , i just want to know how i can convert the color image into gray image ?
 

Re: how i can convert the color image into gray image using

Simple solution is ....
From color image you get the R G B values for a pixel
Take average R+G+B/3 and assign this to R G B do this for all the pixels
and you will get Grayscaled image
 

it is not like that ??
 

Re: how i can convert the color image into gray image using

Actually, just taking the average like that may not necessarily produce the desired result since the human eye is more sensitive to certain colors.
So what most people do is weight each of the RGB values differently according to how the human eye perceives thing. Example:
Code:
Grey = 0.30*Red + 0.59*Green + 0.11*Blue
 

Re: how i can convert the color image into gray image using

i was wrong , that color image is not directy transform to r g b . no ready solution for it .

my big prob is this >>

how i can convert the color image to r g b ?
 

Re: how i can convert the color image into gray image using

It's however in some format, isn't it? If it's digital, it's RGB or YUV or YCbCr or ....
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…