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.1.1 (2019-08-18)

https://www.fosshub.com/Image-Analyzer.html?dwl=LaplacianPyramidFilterPDN1.1.1.zip


Unzip the file in the Paint.NET\Effects folder or Documents\paint.net App Files\Effects if PDN was installed from the Windows Store.

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

 

If you like this, please consider donating to the author at http://meesoft.logicnet.dk/Analyzer/support.htm

 

Edited by MichaelVinther
New version
  • 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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.