目前修复思路:转换至RGB48Y分平面shift(以G平面为基准),再转回YV24。
# 8bit yuv420 input
nnedi3_resize16(lsb_in=False, matrix="709", output="RGB48Y")
R=Dither_resize16(Width, Height, R_Horizontal_Shift, R_Vertical_Shift, kernel="spline16", U=1, V=1)
G=last
B=Dither_resize16(Width, Height, B_Horizontal_Shift, B_Vertical_Shift, kernel="spline16", U=1, V=1)
Dither_convert_rgb_to_yuv(R.SelectEvery(3,0),G.SelectEvery(3,1), B.SelectEvery(3,2),lsb=True,tv_range=True,output="YV24")
三个平面错位的话,请问如何快速确定shift值?如果同一视频不同场景shift值有所差别,是否可以采用类似chroma shift按chroma bleeding处理的做法?
请问下图是这种情况吗?
source
Fussoir