How to remove the shadow in image by using openCV?

2019-01-16 08:06发布

问题:

As title said, any solutions on how to remove the shadow in image via openCV? Thanks and appreciate any helps!

回答1:

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.