MichaelVinther

Laplacian pyramid filter effect plugin

Recommended Posts

The Laplacian pyramid can be used to improve the overall illumination of photos, typically useful when part of the scene is in shadow. It can also smooth or enhance details in a photo without smoothing edges or introduce halos. Similar filters are used for tonemapping HDR pictures. Unfortunately the processing can take long time on big photos, so have patience...

The filter was inspired by the paper "Local Laplacian Filters: Edge-aware Image Processing with a Laplacian Pyramid" by Sylvain Paris, Samuel W. Hasinoff and Jan Kautz. (http://people.csail..../2011/siggraph/)

Example on detail enhancement (photo from Toul Sleng prison, Cambodia, © Michael Vinther 2012):
LapFilterDetailsBefore.jpg

LapFilterDetailsAfter.jpg
Parameters used for example:
LapFilterDetailsParams.png

Download version 1.0.4.0 (2016-02-08):
http://meesoft.com/P...ramidFilter.zip
Unzip the file in the Paint.NET\Effects folder.

You can access the feature from the Effects | Photo menu.

Edited by MichaelVinther
  • Upvote 7

Share this post


Link to post
Share on other sites

By the way, if anyone has an idea for a better icon for the plugin you are welcome to send me a new picture - the current one was taken from myIncrease Local Contrast plugin.

Edited by MichaelVinther

Share this post


Link to post
Share on other sites

Awesome, I just have one small problem: when I slide the "Detail handling" all the way to the left (zero), PDN crashes on me when I click OK or attempt to play with the other sliders.

BTW, I love the effect of zero "Detail handling" ;)

Windows 7, .NET Framework 4, SP1

Share this post


Link to post
Share on other sites
when I slide the "Detail handling" all the way to the left (zero), PDN crashes on me when I click OK

Should be fixed now.

Paint.NET already requires .NET 3.5 SP1 so I'm not really sure why you called that out in your description

Ok, didn't know that. Actually I just copied the text from my Increase local Contrast plugin which was released before Paint.NET required that version.

Share this post


Link to post
Share on other sites

This...looks incredible. <downloads> It seems to make photos look like drawings somehow...

I'll see what I can do about an icon...the one it has looks ok already, though

Edited by pdnnoob

Share this post


Link to post
Share on other sites

The person who posted this hasn't been online in over a year.  I doubt you'll receive an answer.

Share this post


Link to post
Share on other sites
could you shed some light on the implementation?

 

 

Basically it's all in the paper referenced in the first post.. The algorithm is fairly complex to explain so that would be the best reference.

Share this post


Link to post
Share on other sites

I have just updated the download link with a new version that is much faster.

.. and another tone mapping example (photo from The Cisterns below Copenhagen, © Michael Vinther 2014):

Cisternerne.jpg

CisternerneTonemapped.jpg

Edited by MichaelVinther

Share this post


Link to post
Share on other sites

This is quite an intriguing plugin. When combined with effects like the surface blur and soften portrait, it can produce a nice approximation of an air-brush illustration. This can be enhanced by copying the image to an upper layer and using the pencil sketch effect with multiply blending mode.

Share this post


Link to post
Share on other sites
 

Hi Michael... Thanks a lot for the filter. Just wanted to give you a heads-up for this paper. They claim they achieved 50x speed improvement for Local Laplacian Filters  ;)

Thanks for the hint, I will get this paper. 

 

Just one more example (photo from Mostar, Bosnia-Herzegovina, © Michael Vinther 2015):

MostarBridgeBefore.jpgMostarBridgeAfter.jpg

Edited by MichaelVinther
  • Upvote 4

Share this post


Link to post
Share on other sites

Hi Michael... Thanks a lot for the filter. Just wanted to give you a heads-up for this paper. They claim they achieved 50x speed improvement for Local Laplacian Filters ;)

 

I tried to implement the optimizations they describe in this paper, but unfortunately it didn't give much compared to my existing implementation. For some parameter values (with Detail handling=1 (alpha in the paper)) it is faster (perhaps 2x) but for other values it actually takes longer to achieve the same quality. I've uploaded the plugin with a new version that uses the new algorithm when it makes sense.

Edited by MichaelVinther

Share this post


Link to post
Share on other sites

This is a great plugin !

Before this, I used several layers with different blending modes ( and adjustments to it ) to create the desired effect I need. And 'soft light' mode from Blend Mode process is needed in the process. I think this plugin saves time.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now