Error using rgb2gray>parse_inputs

Im trying to run the attached piece of code.This the error: shadowremoval('4.jpg','additive'); Error using rgb2gray>parse_inputs (line 81) MAP must be a m x 3 array.
Error in rgb2gray (line 35) X = parse_inputs(varargin{:});
Error in shadowremoval (line 42) gray = rgb2gray(image); i read that the image being actually gray might be the problem but mine is rgb.

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by