Jump to content

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: https://www.fosshub.com/Image-Analyzer.html?dwl=LaplacianPyramidFilterPDN1.1.2.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 uploaded
  • Upvote 7
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.

Link to post
Share on other sites
  • 1 year later...
  • 10 months later...
  • 9 months later...
  • 4 weeks later...
  • 3 weeks later...

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.

Link to post
Share on other sites
  • 4 weeks later...
  • 6 months later...
  • 3 months later...
 

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
Link to post
Share on other sites
  • 2 weeks later...

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
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.

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.

×
×
  • Create New...