TechnoRobbo Posted March 26, 2014 Share Posted March 26, 2014 (edited) TechnoRobbo's HDR-ish HDR style results - smooths out the transitions between light and dark. makes a dull picture less dull PDN 3.5 compatible (updated) Menu: Effects->Colors The Codelab Code Hidden Content: // Submenu: Color // Name: TR's HDR-ish // Title: TR's HDR-ish- v1.0 // Author: TechnoRobbo // URL: http://www.technorobbo #region UICode int Amount1 = 2; // [1,5] Intensity double Amount2 = 0; // [0,20] High Limit #endregion void Render(Surface dst, Surface src, Rectangle rect) { ColorBgra CP; int tmp =0; for (int y = rect.Top; y < rect.Bottom; y++) { for (int x = rect.Left; x < rect.Right; x++) { double accum = 0; double divider = 0; for (int i = 1 - Amount1 ;i <Amount1; i++) { for (int j = 1 - Amount1 ;j <Amount1; j++) { CP = src.GetBilinearSampleClamped(x + j,y + i); HsvColor hsv = HsvColor.FromColor(CP.ToColor()); accum += hsv.Value; divider++; } } CP = src[x,y]; HsvColor hsv2 = HsvColor.FromColor(CP.ToColor()); divider += Amount2; divider = (divider <= 1) ? 1 : divider; double newV = accum / divider; newV -= (1-hsv2.Value); newV = (newV < 0) ? 0 : (newV > 100) ? 100: newV; hsv2 = new HsvColor(hsv2.Hue,hsv2.Saturation,(int)newV); ColorBgra NP = ColorBgra.FromColor(hsv2.ToColor()); dst[x,y] = NP; } } } TRsHDRish.zip Edited September 20, 2015 by TechnoRobbo 2 Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
SAND33P Posted July 14, 2014 Share Posted July 14, 2014 Compatible with 4? Quote Link to comment Share on other sites More sharing options...
david.atwell Posted July 14, 2014 Share Posted July 14, 2014 EER went through all the plugins and placed a note in red at the top of the first thread for every plugin incompatible with PDN4. If you find that it needs one, let me know and I'll add it. Quote The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.Amy: But how did it end up in there?The Doctor: You know fairy tales. A good wizard tricked it.River Song: I hate good wizards in fairy tales; they always turn out to be him. Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted July 14, 2014 Share Posted July 14, 2014 I didn't check them all. Some filetypes and a handful of rarely used effects didn't get the treatment. As David said - please let us know if you find one that doesn't work. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
TechnoRobbo Posted July 15, 2014 Author Share Posted July 15, 2014 Compatible with 4? yes Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
Lloyd Posted July 17, 2014 Share Posted July 17, 2014 Just stumbled upon this. A very handy plugin. Thanks TechnoRobbo. Quote Link to comment Share on other sites More sharing options...
TechnoRobbo Posted July 21, 2014 Author Share Posted July 21, 2014 Thanks LLoyd Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
Johnnyallen Posted December 23, 2017 Share Posted December 23, 2017 First, this forum has been very helpful. Thank you. I'm an old school photographer. I started out with two Nikon Fs and an assortment of Nikkor lenses. I eventually drifted away from it and sold off all my Nikons. I recently had an opportunity to pick up a Nikon D3200 DSLR and two lenses at a phenomenal price. Needless to say, there's a learning curve that comes with digital photography. Seeing photos from other people that had incredible range, I eventually discovered that they were doing High Dynamic Range, HDR. Unfortunately my camera does not have Auto Exposure Bracketing, AEB. And HDR requires separate software such as Aurora to blend the images together. I can do exposure bracketing in manual with a tripod and a subject that isn't moving. I'm not going there nor buying the software. That's why TRsHDRish plugin intrigued me. Second, I had already downloaded Paint.net awhile ago to do some creative art and text. So, needless to say, it was fortuitous that I had something that could process photos. In using HDRish, I noticed that it did punch up my RAW photos if you tweak the slide controls. I still used Curves+ and RGB Saturation (both plugins) to bring the photo to something I wanted. Forum has a limit of 5.43MB, so I can't upload the images as an example. I'll rate TRsHDRish a seven on a scale of ten Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.