As title said, any solutions on how to remove the shadow in image via openCV? Thanks and appreciate any helps!
Asked
Active
Viewed 4.5k times
28
-
1Below is a link to a website, which completely deals with shadows, its detection, removal etc. Try it. It is more than sufficient, i think. It contains a lot of papers related to it. Try to implement it. http://cs.haifa.ac.il/hagit/courses/seminars/shadowRemoval/shadowRemovalPapers.html If it is not sufficient, googling "shadow removal in images" gives you lots of information and papers. – Abid Rahman K Jan 31 '12 at 19:53
-
1Here you have an [implementation](http://www.tuicool.com/articles/Y3amyq) that explains an algorithm for **shadow removal**. Here is another [method](http://infoscience.epfl.ch/record/111781/files/piecewise_shadows.pdf), simpler and maybe better to understand how to detect shadows in images. Good luck. – Jav_Rock Feb 01 '12 at 08:25
1 Answers
15
For those who are looking for publication along with the source code of described algorithm, you might be interested by this paper: "Single-Image Shadow Detection and Removal using Paired Regions" by Ruiqi Guo, Qieyun Dai and Derek Hoiem.
They describe a method which works quite well and may be a very good start to implement your shadow-removing algorithm using OpenCV.
I found the source code here, but for posterity and to prevent possibly dead links in the future (I have met many), I also uploaded it on the Internet Archive.

Delgan
- 18,571
- 11
- 90
- 141