MATLAB Answers

I want to know how to detect shadow with this article

5 views (last 30 days)
sol park
sol park on 12 May 2018
Commented: sol park on 21 May 2018
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 Comments

Jan
Jan on 13 May 2018
Create a method to apply a sliding window. Calculate the standard deviation of the intensity. If the central pixel of this window has less intensity, it is considered as shadow.
Try it and post the code, even if it is not working yet. Then it is easier to suggest further improvements.
Note that it is unlikely, that the member of the forum will study your paper and implement the algorithm for you.
sol park
sol park on 20 May 2018
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 on 21 May 2018
Please let me know when I use the standard deviation in this article.

Sign in to comment.

Answers (2)

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

  0 Comments

Sign in to comment.


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

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!