Info

This question is closed. Reopen it to edit or answer.

Error using rgb2gray>parse_inputs

3 views (last 30 days)
charuleelaa vanilavarasu
charuleelaa vanilavarasu on 3 Feb 2016
Closed: Walter Roberson on 3 Feb 2016
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.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!