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.

Risposte (0)

Questa domanda è chiusa.

Tag

Chiuso:

il 3 Feb 2016

Community Treasure Hunt

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

Start Hunting!

Translated by