mg262
28th January 2005, 10:04
I'm trying to filter a animation DVD to remove slow left-to-right camera wobble -- by slow I mean typically around 2 pixels movement in 50 frames. I've tried using Depan(Stabilize) with a cut-off around 2Hz and dxmax around 2, but it doesn't help. I've also tried DeShaker, which hasn't been any more successful -- although in this case I'm less sure what I should have done to the parameters.
I think the problem may be that between successive frames the movement is so small as to be unnoticeable. (The overall effect is still very noticeable and distracting, even on a TV.) Maybe I could fix the problem by massive horizontal resampling before DePan, but there has to be a better solution? Any ideas would be very much appreciated!
Edit 2:
Well this does something:
i = bicubicresize(692*4, 568)
mdata=DePanEstimate(i, log = "depanlog.txt")
DePanStabilize(i,data=mdata, dxmax = 8, dymax = 0, prev = 1, next = 1)
bicubicresize(692, 568)
but if anything it makes it worse. (Especially when a character taking up a fair amount of the screen moves left, and the screen lurches right. This could probably be fixed by masking with white noise or something. But the initial wobble is still a problem...)
I think the problem may be that between successive frames the movement is so small as to be unnoticeable. (The overall effect is still very noticeable and distracting, even on a TV.) Maybe I could fix the problem by massive horizontal resampling before DePan, but there has to be a better solution? Any ideas would be very much appreciated!
Edit 2:
Well this does something:
i = bicubicresize(692*4, 568)
mdata=DePanEstimate(i, log = "depanlog.txt")
DePanStabilize(i,data=mdata, dxmax = 8, dymax = 0, prev = 1, next = 1)
bicubicresize(692, 568)
but if anything it makes it worse. (Especially when a character taking up a fair amount of the screen moves left, and the screen lurches right. This could probably be fixed by masking with white noise or something. But the initial wobble is still a problem...)