Log in

View Full Version : How to offset chroma planes?


Blue_MiSfit
13th December 2006, 08:09
Hey folks,

I was wondering how to do a simple function in AviSynth: offsetting the chroma planes from the luma plane. I have some analog captures that are a bit offset, and the adjustment in ffdshow is too coarse. How can I do it more precisely, preferably both planes separately? Seems like it should be pretty simple.

Thanks!

~MiSfit

AVIL
13th December 2006, 13:22
Hi:

Try with this filter:

http://www.geocities.com/siwalters_uk/chromashift.html

good luck

Blue_MiSfit
13th December 2006, 16:51
Looks like it's what I need! Thanks!

Chainmax
13th December 2006, 19:08
You might also want to take a look at FixChromaBleeding (http://forum.doom9.org/showthread.php?t=77074), which uses ChromaShift.

IanB
14th December 2006, 04:20
If you need subpixel accuracy you could use the resizer core as a subpixel shifter....
deltaX = 0.666
deltaY = -0.789
Ch=BicubicResize(Width(), Height(), 1/3.0, 1/3.0, deltaX, deltaY, Width(), Height())
MergeChroma(Ch)