View Full Version : Is there a filter to keep only luma componenet of a source?
JasonFly
11th November 2002, 21:33
I want to dsplay only luma or only chroma componenet to see what component i have to filter more.
Is there an avisnth filter which can do this.
sh0dan
11th November 2002, 22:06
Greyscale() kills all chroma information = shows only luma.
Showing chroma is more tricky.
clip=avisource("in.avi").converttoyuy2()
vid=blankclip(clip,color=$808080,pixel_type="yuy2")
mergeluma(clip,vid)
Gives chroma only.
JasonFly
11th November 2002, 23:09
Thank you very much
I should have thought of this but I rarely use these filters.
EDIT:
I have tested greyscle() which gives great results.
But the chroma output files isn't very useful to see if there is mmuch chroma noise because it's nearly blank everywhere.
I have try to change &808080 but this doesn't gives good results.
Is there an other mean to go further by separating U and V components?
jorel
12th November 2002, 03:45
it's only one more to your test
and for me is very usefull.
try to use tweak:
if saturation is zero,no color........
[AVISYNTH_******Resize with Tweak]
0=*******
1=****
2=LoadPlugin(!Tweak.dll)
3=Tweak(^Hue,^Saturation,^Bright,^Contrast)
!Tweak.dll=C:\*******\tweak13\Tweak.dll
^Hue=0
^Saturation=1.0
^Bright=0
^Contrast=1.0
ps: (0,1.0,0,1.0) default
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.