rain drops removal

Moderator: jsachs

Post Reply
johnp
Posts: 81
Joined: December 10th, 2009, 11:52 pm
What is the make/model of your primary camera?: Canon 90D

rain drops removal

Post by johnp »

I took a photo on a recent trip during a storm and my lens got a some rain drops on it.
Does anyone have any ideas on how to minimize their effects?
raindrops.JPG
raindrops.JPG (87.47 KiB) Viewed 1207 times
Thanks!

John P.
tomczak
Posts: 1367
Joined: April 25th, 2009, 12:56 am
What is the make/model of your primary camera?: Fuji X-E2
Contact:

Re: rain drops removal

Post by tomczak »

One idea that may improve things a little automatically is trying the Dehaze transformation.
Last edited by tomczak on December 22nd, 2023, 1:37 pm, edited 1 time in total.
Maciej Tomczak
Phototramp.com
tomczak
Posts: 1367
Joined: April 25th, 2009, 12:56 am
What is the make/model of your primary camera?: Fuji X-E2
Contact:

Re: rain drops removal

Post by tomczak »

Another way I can think of is trying to use the Levels and Colour Tool, with a large radius, to selectiely increase saturation, contrast, and dynamic range for those spots while decreasing their mid tone brightness (and possibly shifting colour balance a little warmer for those spots).
Maciej Tomczak
Phototramp.com
jsachs
Posts: 4214
Joined: January 22nd, 2009, 11:03 pm

Re: rain drops removal

Post by jsachs »

Mostly what this need is subtracting white using a mask that isolates where the raindrops are. Getting the mask exactly right is the hard part.

The Hotspot transformation also does a fairly good job removing one raindrop at a time. The two drops near the sky line are the hardest to remove, in part due to some color fringing.
Rain.jpg
Rain.jpg (80.16 KiB) Viewed 1196 times
Jonathan Sachs
Digital Light & Color
johnp
Posts: 81
Joined: December 10th, 2009, 11:52 pm
What is the make/model of your primary camera?: Canon 90D

Re: rain drops removal

Post by johnp »

Thanks for the replies. I did some initial playing with the hot-spot tool and it seems to work
pretty well. I think with the tips so far I can salvage the image.
Thanks!!!

John P
jsachs
Posts: 4214
Joined: January 22nd, 2009, 11:03 pm

Re: rain drops removal

Post by jsachs »

For the next release, I am adding Add and Subtract modes to the Paint tool. Subtracting white with a soft, mostly transparent brush lets you gradually paint away the raindrops quite effectively.
Jonathan Sachs
Digital Light & Color
johnp
Posts: 81
Joined: December 10th, 2009, 11:52 pm
What is the make/model of your primary camera?: Canon 90D

Re: rain drops removal

Post by johnp »

Jonathon -

It is such a pleasure to use Picture Window Pro. I mentioned a problem (the rain drops) and you've added
a new feature to help deal with it.

This reminds me of working with a Japanese developer of a cheap/free Verilog simulator (that I still like to use) that
was extremely responsive to bugs reports, feature requests, etc.

This makes it a joy to deal with products/tools wit support likes his.

Many, many thanks.

John P
jsachs
Posts: 4214
Joined: January 22nd, 2009, 11:03 pm

Re: rain drops removal

Post by jsachs »

It was useful to see a fairly common problem which got me thinking about different tools for dealing with it, so I appreciate your input as well.
Jonathan Sachs
Digital Light & Color
Post Reply