Sign in to follow this  
TechnoRobbo

TR's HDR-ish

Recommended Posts

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


 


TRsHDRishMenu.png?raw=1


 


HDRishEx.png?raw=1


 


 


The Codelab Code


Hidden Content:

// Submenu: Color

// Name: TR's HDR-ish

// Title: TR's HDR-ish- v1.0

// Author: 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 by TechnoRobbo
  • Upvote 2

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

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.

Sign in to follow this