View Single Post
Old 19th February 2007, 13:00   #11  |  Link
Morte66
Flying Skull
 
Morte66's Avatar
 
Join Date: Jan 2005
Posts: 397
Quote:
Originally Posted by Fizick View Post
Yes, MVDegrain is very primitive (as all genious things)
about name: is is not MVDegrainMedian.
So this is why the docs include an example of motion compensation for external denoisers...
Code:
source=last
backward_vectors = source.MVAnalyse(isb = true, truemotion=true, delta = 1, idx = 1)
# we use explicit idx for more fast processing
forward_vectors = source.MVAnalyse(isb = false, truemotion=true, delta = 1, idx = 1)
forward_compensation = source.MVFlow(forward_vectors, idx=1, thSCD1=500) # or use MVCompensate 
backward_compensation = source.MVFlow(backward_vectors, idx=1, thSCD1=500) # or use MVCompensate 
# create interleaved 3 frames sequences
interleave(forward_compensation, source, backward_compensation) 
DeGrainMedian() # place your preferred temporal (spatial-temporal) denoiser here
return selectevery(3,1) # return filtered central (not-compensated) frames only
Morte66 is offline   Reply With Quote