Log in

View Full Version : Any Avisynth filter to adjust shadow,mid,&highlights like graphics editors?


grannyGeek
18th September 2008, 10:28
I'm wondering if there is any Avisynth filter available that works in YUV'/YV12 colorspace, that can do separate "levels" adjustments to shadow, mid-tones, highlights (like Photoshop, PaintShopPro, etc.)

Currently I convert to RGB, and use two excellent VirtualDub filters from FDump --- Colormill, and RGB_Equalizer.

Perhaps this is something that *can* only be done in RGB, I don't know anything about colorspaces really.

Has anyone heard of such a creature? and if so, where might it be found?

Thanks for any thoughts.

mikeytown2
18th September 2008, 10:49
Try these
http://avisynth.org/mediawiki/External_filters#Levels_and_Chroma
http://avisynth.org/mediawiki/ColorYUV
http://avisynth.org/mediawiki/Tweak 2.58 version


Here is a clone of Gimp's Color Balance which has shadows, midtones & highlights for AviSynth. It also has a nice AvsP Slider Example. Only thing is it currently only works in RGB colorspace.
http://forum.doom9.org/showthread.php?p=1180090#post1180090

Mug Funky suggested using mt_lut in the color balance thread, and he used it here for a RGB to YV12 plus extras script
http://forum.doom9.org/showthread.php?p=1045281#post1045281

lut stands for Look-Up Table
http://en.wikipedia.org/wiki/CLUT

using the mt_lut function would be how to do it; or clever scripting (another RGB example)
http://forum.doom9.org/showthread.php?p=1173465#post1173465

grannyGeek
18th September 2008, 11:03
Wow, fast response!

Many thanks for all the links, now to start reading and experimenting. I will probably be back with questions......

Thank you most kindly.
:thanks: