error using rgb2gray parse input
显示 更早的评论
Though i have a rgb image, it shows an error while executing
gray=rgb2gray(image)
this is the image

采纳的回答
更多回答(1 个)
Walter Roberson
2016-2-3
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Modify Image Colors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!