Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the shadow in image by using openCV? [closed]

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

like image 938
MiaoWin Avatar asked Jan 31 '12 15:01

MiaoWin


People also ask

How do I remove a shadow from a picture for free?

PhotoAiD developed a free-of-charge tool that will easily remove shadows from your picture in the blink of an eye! All you need to do is upload your photo that has shadows and click the “Remove shadows” button. Within just a moment, you will get your photo with the lighting adjusted and the shadows removed.

What is shadow removal?

Shadow removal is an important computer vision task aiming at the detection and successful removal of the shadow produced by an occluded light source and a photo-realistic restoration of the image contents.

How do I remove a shadow from an image in gimp?

How to Remove Shadows From Photos Without Photoshop. You don't need expensive software to remove shadows in contrasty images. You can also do it in GIMP, the free photo editing app. Just go to Colors > Shadows-Highlights and drag the Shadows slider left or right to make your changes.


1 Answers

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.

Image processing algorithm description

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.

like image 66
Delgan Avatar answered Sep 20 '22 23:09

Delgan