View Full Version : Help with color fix !
ankurs
16th November 2006, 15:39
I am trying to figure out how is it possible to do the below change :confused: using any avs script, is there any tool which can help me figure out the values of hue/sat/cont/brig.
1. Orignal source :
http://i15.tinypic.com/30n89dc.png
2. Using adobe photoshop auto level :
http://i15.tinypic.com/2nsmjae.png
Can some1 tell me is it possible to come any close to the 2nd pic using any avs script, or any other tool to do this kinda color fix.
rfmmars
16th November 2006, 18:25
Yes call "Fdump's" EQrgb 2.1 or "ColorMill" 2.1 VDF into your Avisynth script. Use AVSp for your editor. These are Virtualdub plugins.
Richard
photorecall.net
AVIL
16th November 2006, 20:02
Hi,
You can try also ACOWF virtualdub filter.
In avisynt
loadvirtualdubplugin("D:\abc\virtualdub\plugins\ACOBW.VDF","acobw",0)
avisource("yourclip.avi").converttorgb32().acobw(5,5,5,1,1,1,1,0,2).converttoyv12()
Or using Fizick's deflicker filter:
x0=avisource("yourclip.avi").converttorgb24(matrix="REC601")
xr=x0.showred("YV12")
xg=x0.showgreen("YV12")
xb=x0.showblue("YV12")
m=average(xr,0.3333,xg,0.3333,xb,0.3333)
bk=blankclip(m)
g=interleave(m,xr,bk,m,xg,bk,m,xb,bk).deflicker(scene=128,percent=50,noise=10)
mergergb(g.selectevery(9,1),g.selectevery(9,4),g.selectevery(9,7)).converttoyv12(matrix="REC601")
average is a filter from mg262. search in this forum
You can parametrize the effect varying deflicker's percent value
Good luck
canuckerfan
19th November 2006, 06:22
anything like this natively within AVS?
AVIL
19th November 2006, 14:16
From Avisynth's doc:
ColorYUV (clip, float "gain_y", float "off_y", float "gamma_y", float "cont_y", float "gain_u", float "off_u", float "gamma_u", float "cont_u",
float "gain_v", float "off_v", float "gamma_v", float "cont_v", string "levels", string "opt",
boolean "showyuv", boolean "analyze", boolean "autowhite", boolean "autogain")
...................
autowhite can be true or false. This setting will use the information from the analyzer, and attempt to center the color offsets. If you have recorded some material, where the colors are shifted toward one color, this filter may help. But be careful - it isn't very intelligent - if your material is a clear blue sky, autowhite will make it completely grey! If you add "off_u" or "off_v" parameters at the same time as autowhite, they will not be used!
...................
gatekeeper_007
20th November 2006, 21:00
you could use ...
RGbAdjust(...),Tweak(...),ColorYUV(...),Levels(...) or Didee's Function for Levels ...LevelS....and others.
But then again you can go and read about this filter..."GiCoCu.dll"
where you can load a snapshot from the film in adobephotoshop and make the 'curves' as you wish(best fit for you) then save it as an .amp file (usin' the pencil!)
....and with the help of the GiCoCu you can load it into the script....
I would use among that ...something like _Tweak(...) to make it even closer to what I want to achive.
BUT my advice is to read about the filter before usin' it!
Respect
superuser
22nd December 2006, 18:27
Liked the approach detailed by AVIL and am anxious to give it a try. Also wanted to try out ColorMill and FDump.
Had used Didees experimental Sine and Gama Levels and they worked well, only drawback - it was eating up color details and making images much softer!!! Want to preserve the solidness of colors but do not know what settings in there would do that magic. Will post the scripts sometimes today in evening PST.
Reading responses above and others input, I am confused about ColorYUV. I have came across encodes which have yellowish or redish layer of color, but it keeps varying from frames to frame. Would there we a way to make calls to this color fixers like ColorYUV conditionally?
In addition to above, I had couple of thoughts on this:
- how about processing the image with hdragc and merging it to original source.
- Could there be a way to filter out colors via processing each of the planes FFT3D. not sure if this is possible, thought might ask as gurus here would know the answer and correct me.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.