Integers can only be combined with integers of the same class, or scalar doubles.
Ältere Kommentare anzeigen
mask = 1-double(im2bw(gray, graythresh(gray)));
strel = [0 1 1 1 0; 1 1 1 1 1; 1 1 1 1 1; 1 1 1 1 1; 0 1 1 1 0];%structuring element
shadowavg_red = sum(sum(image(:,:,1).*shadow_core)) / sum(sum(shadow_core));
2 Kommentare
Walter Roberson
am 3 Feb. 2016
You need to stop tagging your questions as Urgent. We typically close or delete "Urgent" questions.
charuleelaa vanilavarasu
am 3 Feb. 2016
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Region and Image Properties finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!