I want to know how to detect shadow with this article

4 次查看(过去 30 天)
I can't understand many things in this article.
"So next, the non-shadow point’s mean and standard deviations for the sliding window are computed. Now, the pixels that have intensity less than the one standard deviation of the windows are considered shadow pixels. Figure 3 portrays a successful shadow detection process via the proposed framework."
What should I do for this method?
  3 个评论
sol park
sol park 2018-5-20
I calculated the standard deviation of sliding window with "std(sliding_window);". And I compared the central pixel of this window with the standard deviation. But all the pixel values were bigger than the standard deviation.
sol park
sol park 2018-5-21
Please let me know when I use the standard deviation in this article.

请先登录,再进行评论。

回答(2 个)

Michaelscheinfeild
Michaelscheinfeild 2018-5-13
ycbcrmap = rgb2ycbcr(rgbmap);
meany=mean2(ych);
to be cont

Michaelscheinfeild
Michaelscheinfeild 2018-5-13
ycbcrmap = rgb2ycbcr(rgbmap); meany=mean2(ych);
% this generates the binary image xbin=(r+g+b)/3 >meany

Community Treasure Hunt

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

Start Hunting!

Translated by