Background subtraction marks shadows as foreground
S

3

6

I've got background subtraction to work quite well. But the problem is, it marks shadows as foreground as well.

Has anyone found some technique to get rid of shadows from the background? Links to techniques, papers, articles, etc you've used and got reliable will be awesome!

Seward answered 2/1, 2011 at 19:9 Comment(1)
Here you have some links. https://mcmap.net/q/494520/-how-to-remove-the-shadow-in-image-by-using-opencv-closedSphenic
N
9

This is a well known problem, and like many well known problems, there has been a lot of research into it, meaning there is no real "optimal" solution.

Google Scholar suggests many papers for dealing with the problem. The works of Elgammal, Davis et al. are a good place to start.

You may also be interested in a more recent work on Detecting Ground Shadows in Outdoor Consumer Photographs.

Nursery answered 2/1, 2011 at 19:44 Comment(3)
Thanks for the paper! Looks great! Will go through it.Seward
You're most welcome. If you find it suitable, please mark the question as answered :-).Nursery
Will do... hoping I'll get some more repliesSeward
W
4

Nice papers:

N. Martel-Brisson, A. Zaccarin, “Moving Cast Shadow Detection from a Gaussian Mixture Shadow”, International Conference on Computer Vision and Pattern Recognition, CVPR 2005, San Diego, CA, USA, June 2005.

N. Martel-Brisson, A. Zaccarin, “Moving Cast Shadow Detection from a Gaussian Mixture Shadow Model: A step toward robust detection and segmentation algorithms in computer vision”, Annual Canadian Conference on Intelligent Systems, IS 2006, Victoria, B.C., May 2006.

N. Martel-Brisson, A. Zaccarin, “Learning and Removing Cast Shadows through a Multidistribution Approach”, Transactions on Pattern Analysis and Machine Intelligence, Volume 29, No. 7, pages 1-13, July 2007.

C. Huang, R. Wu, “An Unsupervised Shadow Detection Algorithm”, International Computer Symposium, ICS 2008, 2008.

C. Huang, R. Wu, “An Online Learning Method for Shadow Detection”, Pacific-Rim Symposium on Image and Video Technology, PSIVT 2010, Singapore, Singapore, November 2010.

Best regards! Thierry

Witter answered 19/5, 2011 at 11:26 Comment(0)
P
2

This is a great paper. You can find every thing about various state of the art background subtraction algorithms:

A comprehensive review of background subtraction algorithms evaluated with synthetic and real videos

In the section 4.3.4.3. of this paper you can see comparison between algorithms when they encounter with different degree of shadow in test video. As a quick conclusion, MultiLayerBGS algorithm outperforms other methods in test cases with considerable amount of shadow.

You can find good implementation of this method and more than 35 background subtraction methods by Andrew Sobral in this page.

Placard answered 1/7, 2015 at 9:16 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.