Sign in to follow this  
evanolds

Conditional Hue/Saturation Effect Available

Recommended Posts

1st timer here. :)

Great plug-in, will save me tons of time.

Would it be possible to add brightness/contrast control in this Conditional Hue/Saturation plug-in?

Share this post


Link to post
Share on other sites
Would it be possible to add brightness/contrast control in this Conditional Hue/Saturation plug-in?

The problem with adding a brightness adjustment is that with only hue and saturation in the conditions, I have completely removed desaturated pixels from the processing operations, making it impossible to do actions on certain pixels. While this is not very noticable for the hue and saturation adjustments, it becomes noticeable when brightness comes in:

bad_adjust.png

Notice the black spots that won't be adjusted. This specific example aside, the lightness adjustment just doesn't look very good in general when applied to portions of the image that match a certain hue/saturation constraint.

I need to update this plug-in; the huge dialog box has been bugging me for quite some time so I'm planning on trying to make it smaller (you can see above that I've removed the help text box). It's possible that I'll just leave the brightness adjustment in when I release the next version.

There will probably not be a contrast adjustment in this plug-in just because it won't work in well (for reasons similar to the brightness issue).

Share this post


Link to post
Share on other sites

I had downloaded the previous version last night, and it was working wonderfully. However this morning, I noticed a new version and when it was installed, the application fails when trying to access the new effect.

The build in question is 1.5.2550.42050 dated 12/25.

Here is a mini dump of the crash:

System.NullReferenceException: Object reference not set to an instance of an object.

at PaintDotNet.MainForm.menuEffects_ClickHandler(Object sender, EventArgs e)

Share this post


Link to post
Share on other sites
I had downloaded the previous version last night, and it was working wonderfully. However this morning, I noticed a new version and when it was installed, the application fails when trying to access the new effect.

Thanks for pointing that out. I'd forgotten that I'd used a property that was new as of 3.0 and it only worked with 3.0. I've put up version 1.6 of the plugin which should work with 2.72 and 3.0.

Share this post


Link to post
Share on other sites

Thanks evanolds for your reply!

Looking forward to your update :)

Thanks again for the great plugin!!!

I have tried the updated plugin, quite nice witht the lightness control.

But you are correct that adjusting too much will make photos look fake.

Anything in the range of + or -10 would still look nice.

Let me ask you about another idea :)

Would it be possible to let user "select" that what ever color range/area affected on the colorwheel?

Like the "magic wand"

Seems to me it would be even better(faster?) then the magic wand? or am I mistaken?

Share this post


Link to post
Share on other sites
Would it be possible to let user "select" that what ever color range/area affected on the colorwheel?

I was thinking of this earlier. This would, in theory allow you to apply any of PDN's effects to a region identified but the hue/saturation conditon. However, I'm not sure if the effect interface supports setting the selection region. I'm pretty sure it doesn't, but I'll look into it later.

Share this post


Link to post
Share on other sites

The Effect interface does not allow you to set the selection, true.

That doesn't prevent you from instantiating the effect and rendering it yourself, from within your own plugin. That might be a bit out of scope though, and there's nothing provided to really simplify this task for you.

Share this post


Link to post
Share on other sites

Although, the next best thing to a selection is a mask. So run the effect on a duplicate layer so that it makes affected pixels white and non-affected pixels black.

Share this post


Link to post
Share on other sites

Very nice plugin, but one small annoyance for me:

the standard hue/sat tool, and all colour related tools, are under the adjustments menu, but this falls under the effects menu; doesn't seem to make sense for me, could it be changed? thanks.

Share this post


Link to post
Share on other sites

Small bug with the plugin, when I adjust the saturation click ok, then use the plugin again for the 2nd time, on "saturation adjustment" shows it's at 100 but the picture is showing saturation gain again, have to move the slide bar for it to go back normal again.

On a side note, it would be great if a "reset button" can be added for all settings.

Thanks!! :)

Share this post


Link to post
Share on other sites
Hmmm, can this plugin effect white? I can't seem to get it to work on white.

Unfortunately you can't change straight black or straight white with this plugin. The closest I've found as a workaround is if you have shades of grey, apply sepia tone and then try the plugin again. Best of luck! :)

Share this post


Link to post
Share on other sites

Thanks for info.

Hmmm, can this plugin effect white? I can't seem to get it to work on white.

Unfortunately you can't change straight black or straight white with this plugin. The closest I've found as a workaround is if you have shades of grey, apply sepia tone and then try the plugin again. Best of luck! :)

Share this post


Link to post
Share on other sites

This is what i got. I experimented and managed to get 5 different coulours fading into each other :D:D

Fade.png

GREAT PLUGIN DUDE!!!

I also got this :D:D:D:D:D

Fade-1.png

Share this post


Link to post
Share on other sites
Thanx man! Love that Fade functions (look @ my sig... or avatar :D )

check out my 2 images with the fade function

Share this post


Link to post
Share on other sites

Feature request: Transparency Adjustment

Hi,

is it possible to add transparency slider similar to saturation?

That would make great use in image blending: for masking out image areas based on hue - like skin tones, sky etc...

Thanks for great plugin anyway.

Share this post


Link to post
Share on other sites
Feature request: Transparency Adjustment

Hi,

is it possible to add transparency slider similar to saturation?

That would make great use in image blending: for masking out image areas based on hue - like skin tones, sky etc...

Thanks for great plugin anyway.

Did you know that there is already a transparency adjustment plugin?

http://paintdotnet.12.forumer.com/viewtopic.php?t=3285

But, yeah, that would be a pretty cool addition to this plugin. I don't think I ever published it, but Evanolds, PM me if you want my source code and I'll see if I can dig it up...

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this