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!