Convert RGB to GRAY

How to convert the image RGB to GRAYSCALE..But not working the rgbtogray function

1 Comment

Okay, so what happens when you _try_ to use rgb2gray ? Please show a code snippet and a copy of the error message.

Sign in to comment.

 Accepted Answer

Matt Fig
Matt Fig on 27 May 2011

0 votes

Perhaps you mean RGB2GRAY. I don't know of any RGBTOGRAY function.

2 Comments

prathiba
prathiba on 27 May 2011
Yip........sorryy....I mean RGB2GRAY but not working by using this function..sorry for that mistakes and thanks for the correction
Matt Fig
Matt Fig on 27 May 2011
So you ARE using RGB2GRAY and it is not working? Could you be more specific? There is no way that someone can help you if they have no details whatsoever...

Sign in to comment.

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!