error using rgb2gray parse input
Mostrar comentarios más antiguos
Though i have a rgb image, it shows an error while executing
gray=rgb2gray(image)
this is the image

Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 3 de Feb. de 2016
0 votos
Do not use "image" as the name of a variable.
You do not show your code. Note that you must pass the result of imread to the function, not the file name.
Categorías
Más información sobre Modify Image Colors en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!