Terka
25th May 2010, 16:23
After clp.TempGaussMC_beta2()
there could appear big areas which move by cca 1 pixel
eg. frames 11->12 on psi clip.
Should be: whole area should move at once.
Is: area is separated into parts that move in different times
Idea: use corrector and shifted frames, to patch the wrong timing
Result of following code: not good.
Is the idea total crap?
#tg=tempgaus
a=tg.FFT3DFilter(sigma=10,bt=5) #this is calm, but blurry
shift=[<"shift", 0, 2, 0.1>]
a1=tg.Spline16Resize(tg.width(), tg.height(),-shift,0)
a2=tg.Spline16Resize(tg.width(), tg.height(),shift,0)
a3=tg.Spline16Resize(tg.width(), tg.height(),0,-shift)
a4=tg.Spline16Resize(tg.width(), tg.height(),0,shift)
blur=[<"blur", 0, 1.5, 1.4>]
a1b=a1.blur(blur)
a2b=a2.blur(blur)
a3b=a3.blur(blur)
a4b=a4.blur(blur)
tgb=tg.blur(blur)
CorrectTh=50
out=corrector(a,a,tgb,tg, a1b,a1, a2b,a2, a3b,a3, a4b,a4, Mode = 1, Th = CorrectTh)
there could appear big areas which move by cca 1 pixel
eg. frames 11->12 on psi clip.
Should be: whole area should move at once.
Is: area is separated into parts that move in different times
Idea: use corrector and shifted frames, to patch the wrong timing
Result of following code: not good.
Is the idea total crap?
#tg=tempgaus
a=tg.FFT3DFilter(sigma=10,bt=5) #this is calm, but blurry
shift=[<"shift", 0, 2, 0.1>]
a1=tg.Spline16Resize(tg.width(), tg.height(),-shift,0)
a2=tg.Spline16Resize(tg.width(), tg.height(),shift,0)
a3=tg.Spline16Resize(tg.width(), tg.height(),0,-shift)
a4=tg.Spline16Resize(tg.width(), tg.height(),0,shift)
blur=[<"blur", 0, 1.5, 1.4>]
a1b=a1.blur(blur)
a2b=a2.blur(blur)
a3b=a3.blur(blur)
a4b=a4.blur(blur)
tgb=tg.blur(blur)
CorrectTh=50
out=corrector(a,a,tgb,tg, a1b,a1, a2b,a2, a3b,a3, a4b,a4, Mode = 1, Th = CorrectTh)