Jump to content

MichaelVinther

Members
  • Posts

    38
  • Joined

  • Last visited

Posts posted by MichaelVinther

  1. This is a noise reduction filter for improving photos taken at high ISO values. It is based on a neural network which was trained on a number of high ISO images from two different Canon cameras (because that is what I had available) but it seem to generalize well on photos from other cameras. It works quite well for removing noise and recovering details in my experiments so far.

    Unfortunately it is really slow running on the CPU so I recommend trying it out on a smaller crop of the full image.

    It is possible to make it run much faster on a Cuda capable Nvidia GPU but it can be a bit tricky to set it up. I will follow up with instructions later if anyone is interested.

     

    Download version 1.0.0 (2020-02-09)

     

    Link is here:  https://www.fosshub.com/Image-Analyzer-old.html?dwl=AIDenoisingFilterPDN1.0.0.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.

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

     

    Example, ISO 1600 from Canon EOS 77D, 1:1 crop.

    IMG_0160-1600.jpg.bef5535d5af4796338e59fef228992f0.jpgIMG_0160-1600Denoised.jpg.e6ba3f7ea2f4078708c72dfcd7dadcd2.jpg

    • Like 4
  2. This is a noise reduction filter for e.g. improving photos taken at high ISO values. It works by averaging similar texture patches to reduce noise and at the same time preserve edges and details.

    The plugin contains two filters available from the Effects | Noise menu. The Local Stats Denoising which is probably the most powerful but also a bit harder to setup and the Adaptive Noise Reduction which is an older version but easier to use.

     

    Download version 2.0.0 (2019-08-30)

     

    https://www.fosshub.com/Image-Analyzer-old.html?dwl=LocalStatsDenoisingFilterPDN2.0.0.zip   Most of his plugins can be found in this 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.

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

    • Upvote 1
  3. 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.

  4. Thanks for the code. I was hoping to be able to use PDN's standard progress bar but since that is not possible I'll use your solution.

     

    By the way, I found that it looks better if the progress form does not take focus and cause PDN do be displayed as inactive. That can be achieved by making the form like this:

     

    class ProgressForm : Form
    {
        protected override bool ShowWithoutActivation { get { return true; } }
    }
    
    ...
    
    using (Form form = new ProgressForm())
    
    • Upvote 2
  5. Is it in any was possible to control the progress bar or make your own in a PropertyBasedEffect?

     

    I have an effect where I need to do some time consuming pre-processing before I can deliver the first pixel but after that the rest can be delivered in no time. This means that the default progress bar based on the calls to OnRender will stall at 0% for some a long time and then immediately go to 100% which is not very useful.

     

    If this is not possible then I would suggest that if the effect sets EffectFlags.SingleRenderCall then PDN would just show the standard indeterminate progress bar while it is processing as it has no progress info anyway.

  6. Hi
    I have three double properties and I want one of them to be disabled if both the two others have the value 1.0.

     

    My best guess was to do something like this in OnCreatePropertyCollection()

     

    List<PropertyCollectionRule> propRules = new List<PropertyCollectionRule>();
    propRules.Add(new ReadOnlyBoundToNameValuesRule(PropertyNames.Threshold, false,
      TupleStruct<object, object>(PropertyNames.Alpha, 1.0),
      TupleStruct<object, object>(PropertyNames.Beta, 1.0)));
    but that has causes Threshold to be disabled if any of the others have the value 1.0, not only if both.
    Setting inverse=true does not give the desired result either.
     
    Isn't it possible to achieve this result?
  7. 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.

  8. 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-old.html?dwl=LaplacianPyramidFilterPDN1.1.2.zip

     

    NOTE:  If you have trouble with the above link, you can download it from here:  https://www.dropbox.com/scl/fo/ybrslwbxmtpf4mh446k4j/h?dl=0&rlkey=hma69px4yhpa31fawc88kyper


    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

     

    • Like 1
    • Upvote 8
×
×
  • Create New...