Jump to content

MichaelVinther

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by MichaelVinther

  1. Looks bad. How big are your images? I didn't see it in my tests but that was probably because I restarted PDN frequently. This is one of my first C# projects and I don't have much experince with memory management under .net yet... I going out travelling for four weeks soon and I probably won't have time to look at it before so I will try to find a solution when I get back.
  2. It doesn't seem to be quite the same. Texturize does not displace pixels, just change their brightness based on the gradient of the texture. This Alpha-Displacement Mask looks quite cool though - I didn't know that before.
  3. This plugin can be used to add a texture effect to a photo. Examples: It can also be used to add a watermark to a picture: Download: https://www.fosshub.com/Image-Analyzer-old.html?dwl=TexturizePDN1.1.0.1.zip Texturize.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 | Artistic menu. Tips: It is quite easy to find usable textures via Google's image search. You can even copy-paste pictures directly from your browser to the plugin: Just right-click on the wanted texture and select Copy. Sometimes you may want to convert the texture to grayscale before using it. If the texture is not tilable (the left edge fits the right edge and the top fits the button) you should select set Fill method to Mirror. You can use a negative Amplitude to invert the 3D effect, i.e. make the texture go "in" or "out". If you like this, please consider donating to the author at http://meesoft.logicnet.dk/Analyzer/support.htm
  4. Ok, I fixed the rendering problem. It happened only when the zoom was 100% for some reason, so I didn't notice it before.
  5. That sounds good. I will make a new version using IndirectUI as soon as v3.5 is released then - until then it is too annoying with the freezing :wink:
  6. Ok, thanks for all of your suggestions. I have released a new version of the plugin (same download link as above). News: [*:3466sfj6] There is now a button called "Original" which you can hold to show the source image. [*:3466sfj6] The menu item appears in the correct menu also for non-english versions of PDN [*:3466sfj6] The filter size default was changed to 30 for a more distinct result I tried this, but the GUI did not behave as nice as I can make it with my own dialog. Have a look at my comment to this topic in the development forum. Yes, I am. The Increase Local Contrast effect also exists in IA but with a few more options. I have considered making more of the features from IA available as plugins for PDN.
  7. Actually my Increase Local Contrast plugin does something very similar to this (with the buffer). A general comment about this kind of effect implementation: Doing all of the processing in OnSetRenderInfo (or in the first call to Render) makes the user interface quite annoying, especially when the class is based on PropertyBasedEffect. This is because the IndirectUI triggers OnSetRenderInfo quite often which freezes the GUI for a few seconds. With a custom GUI (for Effect class as you also use in the example) one can make a timer which doesn't trigger the update until e.g. 300ms after the latest change done by the user. This means that the update will not start (and freeze the GUI) while the user is dragging a trackbar.
  8. Ok, thanks for the hint about the dialog. The example plugin I based mine on just had an empty form so I assumed that I had to make the GUI from scratch. About multithreading, it is not that simple. My algorithm is a multi-pass IIR filter so I cannot just compute any pixel independant of the others. Actually everything is computed the first time Render() is called with a new parameter token in a lock() { } section so any following calls (in the same thread or others) will just return pixels. This is why the progress bar appears to stop for a long time at 0%.
  9. Ok, I have added a ZIP download. This is my very first PDN plugin (and one of my first C# projects...) - just took an afternoon to do it. I thought about making a Show original button to make it easy to compare but I didn't know how. I will try to find out.. If you see any crashes please let me know if it happens with a special kind of image or if you have any other idea what triggered it.
  10. MODERATORS NOTE: This effect is incompatible with Paint.NET 4.0x, and was replaced by Laplacian pyramid filter. https://forums.getpaint.net/topic/24563-laplacian-pyramid-filter-effect-plugin/ Increase local contrast can improve badly lit photos. It can also give a dramatic effect to otherwise dull pictures. Decreasing the filter size will increase the local contrast and color saturation. Note that the filter tend to amplify any noise in the picture (especially with small filter and high contrast settings) so it can be a good idea to apply noise reduction before the operation. I think that this kind of filter is sometimes referred to as a retinex filter. The effect is also similar to what you can achieve with HDR software. Example: Download version 1.2.0.0 (2012-04-06): http://meesoft.com/P...calContrast.zip IncreaseLocalContrast.zip Unzip the file in the Paint.NET\Effects folder. You can access the feature from the Effects | Photo menu.
×
×
  • Create New...