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개)

이 질문은 마감되었습니다.

태그

질문:

2016년 2월 3일

마감:

2016년 2월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by