Mounir
21st December 2012, 08:18
I have made a script to tackle chroma bleeding for V only but with mergechroma i'm also modifying U it look like this:
avisource()
o=last
warp1=o.mergechroma(o.blur(1.0).unsharpmask(255,1,1).aWarpSharp(depth=12.0, thresh=0.75, blurlevel=3, cm=1))
warp2=o.mergechroma(warp1.blur(1.0).unsharpmask(255,1,1).aWarpSharp(depth=12.0, thresh=0.75, blurlevel=2, cm=1))
# interleave(o,warp1,warp2) # visualization
warp2
With that the V channel looks great but the U channel is messed up so i want to take the U channel prior of the awarpsharp stage i'd need to use UToY,VToY see http://avisynth.org/mediawiki/VToY but i'm having a hard time here
avisource()
o=last
warp1=o.mergechroma(o.blur(1.0).unsharpmask(255,1,1).aWarpSharp(depth=12.0, thresh=0.75, blurlevel=3, cm=1))
warp2=o.mergechroma(warp1.blur(1.0).unsharpmask(255,1,1).aWarpSharp(depth=12.0, thresh=0.75, blurlevel=2, cm=1))
# interleave(o,warp1,warp2) # visualization
warp2
With that the V channel looks great but the U channel is messed up so i want to take the U channel prior of the awarpsharp stage i'd need to use UToY,VToY see http://avisynth.org/mediawiki/VToY but i'm having a hard time here