Sign in to follow this  
Followers 0
Tanel

Shadow / Highlight Recovery v2.2 (2008-12-24)

88 posts in this topic

This plugin is designed to fix excessively contrasty photos, by brightening shadows and/or darkening highlights.

Menu location: Effects > Photo.

Download as part of my plugin pack.

shadowhighlight-v2_screen.gif

Updated to version 2.2 (2008-12-24)!

Changes: few UI and code optimizations; moved to Photo submenu.

Updated to version 2.1 (2008-08-31)!

Changes:

- Plugin now starts with default settings loaded (shadows: 100; smoothing 50)

- Compatibility fix for paint.net 3.36

Changes in version 2 (2007-09-20):

- Improved core algorithm produces smoother tone transitions

- Added "Basic" user interface and re-arranged some previous controls (see below in blue)

- Added "Review" button for quick before & after check: hold the button down to see original, release the button to re-apply changes

USING THE PLUGIN

Start in Basic mode - use Shadows and Highlights controls to get desired brightness; use Smoothing to adjust tonal blending.

Switch to Advanced mode to override / fine-tune any settings.

BASIC CONTROLS

* Shadows - strength of shadow adjustment

* Highlights - strength of highlight adjustment

* Smoothing - blending of shadows and highlights. Adjust this together with Shadows and/or Highlights controls to get the desired look.

Generally low values suite for images with extreme shadows & highlights, higher values for more balanced images.

Basic controls actually use sets of Advanced controls. You can switch to Advanced mode anytime to override / fine-tune the settings.

ADVANCED CONTROLS

Shadows:

* Amount - strength of shadow adjustment

* Tonal Range - brightness range of shadows to be adjusted (at the bottom of 0 - 255 scale)

* Saturation - saturation of shadows

Highlights:

* Amount - strength of highlight adjustment

* Tonal Range - brightness range of highlights to be adjusted (at the top of 0 - 255 scale)

* Saturation - saturation of highlights

Note: saturation controls are independent from brightness, so alternatively you can only increase saturation - for example adjusting sky color.

Smoothing

* Local Contrast Radius - preserves local contrast by bluring the original image at selected radius (in the backround) before reading the tonal values. In effect setting Radius 10 - 20 avoids fine textures from becoming flat. Default radius in Basic mode is 12, which is optimized for screen size images. You may need greater radius (30, 50 or more) for large, several MP images. Note that large Radius values slow down processing, so I'd recommend to tune it last.

* Local Contrast Intensity - as a side-effect, Radius may produce halo near strong edges - for example around dark objects against bright sky. Intensity control allows to reduce halo. Reducing it too much results in flat look due to loss of contrast. Values between 50 and 100 (%) should be okay.

* Compression - amplifies strength of effect progressively towards the extreme shadows/highlights, allowing to reveal much more detail especially from deep shadows.

Color Mask

aims the strenght of adjustment into certain color areas based on selected color balance.

For example increase red value while reducing green and blue, to aim majority of adjustment at skintones; or increase blue to aim adjustment at sky.

Some extreme before & after samples:

shadowhighlight_sample5.jpg

Settings applied: Basic mode, Shadows 180, Smoothing 50

shadowhighlight_sample6.jpg

Settings applied: Basic mode, Shadows 140, Highlights 40, Smoothing 80

0

Share this post


Link to post
Share on other sites

very cool, will save tons of time for photos :)

Thanks!!

0

Share this post


Link to post
Share on other sites

Nice! I like it.

0

Share this post


Link to post
Share on other sites

Wow this is really useful. Thanks! (should be implemented into the basic Paint.NET in next release =D)

0

Share this post


Link to post
Share on other sites

Looks and works great.

I must say that you do a very nice job with your plugins. The UI is quite user friendly.

You've earned a few :mtdew: :mtdew:'s. :D

0

Share this post


Link to post
Share on other sites

This is a very nice, well made plugin. Having Contrast Range control is splendid, but being able to weight the effect based upon RGB color channel is splendiferous!

Well done! :CMDface:

>_>

0

Share this post


Link to post
Share on other sites

High five, great job!

0

Share this post


Link to post
Share on other sites

Pretty spiffy, but...

shpxp.png

and...

shpvista.png

Completely unimportant, but still rather annoying to an OCD ADHD kid like me 8)

0

Share this post


Link to post
Share on other sites
This is a very nice, well made plugin. Having Contrast Range control is splendid, but being able to weight the effect based upon RGB color channel is splendiferous!

Well done! :CMDface:

>_>

How about :Jerbertface: -->jerbertEmoticon.png

:D :D

0

Share this post


Link to post
Share on other sites

Wow, simply an amazing plugin. I like it! Fantastic, everyone should use this. Some of the UI could be changed, though.

0

Share this post


Link to post
Share on other sites

Thank you guys, glad to hear it works for you. :)

Pretty spiffy, but...

shpxp.png

and...

Thanks for pointing out, fixed it now (moreless); use the original link to download:

shadowhighlight_screen2.gif

(Applied the same fix to Sharpen+ plugin today)

Looks amazing...I'm guessing this is the followup plugin to that wonderful stickied tutorial? :D

It doesn't replace HDR really, but works on the same issue indeed, in smaller scale.

0

Share this post


Link to post
Share on other sites

Awesome way of advertising your plug-in eh?

Both are awesome, and both have been downloaded by blooper101.

@CMD:

Add this to your photobucket/imageshack:

CMD.png

":CMDface:" no more!

0

Share this post


Link to post
Share on other sites

Plugin updated today;

download version 1.5 beta: shadowhighlight_v1-5beta.zip

Added a new control called Compression (on Smoothing tab). This control amplifies strength of effect progressively towards the extreme shadows/highlights, allowing to reveal much more detail from deep shadows. Default value is 5 (on 0-10 scale) - as a result, amount controls are also much more sensitive now. Turning the compression down to zero reduces the effect back to what it was in previous version.

Hope you like it.

See what I could squeeze out of darkness now:

shadowhighlight_sample4.jpg

Settings applied

Shadows: Amount 120, Tonal Range 0, Saturation 60

Smoothing: Radius 8, Fade 140, Compression 6

Damn, it almost replaces my HDR tutorial! :? :D :D

The plugin remains in beta state as I continue R&D on it (I see room for improvement in algorithm).

Possibly I will remove the compression control from final version by merging it with Amount controls.

0

Share this post


Link to post
Share on other sites

wow, Tanel...that's an extremely handy plugin.

Sorry that your HDR tutorial just got a lot shorter :)

0

Share this post


Link to post
Share on other sites

@Tanel:

Please put all download link in your 1st post, so if/when this topic is many pages long. users don't have to dig in every pages to try to find the latest version.

Thanks :)

0

Share this post


Link to post
Share on other sites

Awesome Tanel! It was cool to see what settings you used to bring out the shadows in that picture. Helped a little to figure out this (imho) complex plugin. 8)

One request though...is there any chance you could assign a reset button to each individual tab instead of a reset button for everything? Sometimes I find myself playing around with the settings, trying to figure out what they do...and I don't always remember what they were orginally set at :oops:.

0

Share this post


Link to post
Share on other sites

Second that.

One request though...is there any chance you could assign a reset button to each individual tab instead of a reset button for everything? Sometimes I find myself playing around with the settings, trying to figure out what they do...and I don't always remember what they were orginally set at :oops:.
0

Share this post


Link to post
Share on other sites

You know, this plugin is unreal :D

EDIT:

I tried it on few photos and the results were amazing.

This is one of the darkest pictures and I didn't even know there was people on the photo :). Original on the right.

th_shadows.jpg

Click to get larger

0

Share this post


Link to post
Share on other sites

Thanks for an excellent and user-friendly plugin. It will certainly rescue many photos with too marked contrasts!

0

Share this post


Link to post
Share on other sites

I am thinking about adding a "Basic" mode with just three controls (Shadows, Highlights, Smoothing), to make it easier for basic users (most of us I guess).

That would be default UI, with ability to jump into Advanced mode (current design) and override fine settings any time. Ideally it would speed up the work for advanced users as well.

But it takes quite some time, 'cause I need to test and figure out some generally good combination of settings to bundle.

Meantime pretend you are advanced users ;)

just a sketch:

shadowhighlight_screen_draft.gif

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0