Log in

View Full Version : How to Precisely compensate for NEDI pixel shift


*.mp4 guy
15th January 2007, 17:30
I'm trying to find a way to precisely compensate for the pixel shift that NEDI introduces, but I haven't been able to get perfectly aligned results yet, whats the most precise way to compensate for the NEDI pixel shift?

IanB
17th January 2007, 00:26
...Resize (clip, int target_width, int target_height,
float "src_left", float "src_top",
float "src_width", float "src_height")Note the source cropping parameters are all floats. This allows any resizer to be used as a sub pixel shifter. i.e. Shift left 1/4 pixel, shift down 1/2 pixelW=Width()
H=Height()
Spline36Resize(W, H, -0.25, 0.5, W, H) # Need 2.5.7Use with MergeChroma/MergeLuma to shift Chroma independant of Luma

*.mp4 guy
17th January 2007, 03:50
Thanks, that does the trick.