Jaded-Encoding-Thaumaturgy / vs-denoise

VapourSynth denoising, regression, and motion compensation functions
MIT License
18 stars 6 forks source link

Fix temporal_degrain to pass sad_mode and use REPAIR for post processing #99

Closed adworacz closed 1 year ago

adworacz commented 1 year ago

Finally got some free time, and after a lot of comparison with my original TemporalDegrain2 implementation, I nailed down the primary sources of differences between the two.

Essentially, sad_mode wasn't being passed in to the original MVTools preset like it used to, and the post processing denoiser was flipped to use (strong) DFTTest instead of the previous (much much lighter) Repair/RemoveGrain.

There's still some very small differences, but it seems to be due to some defaults buried deep down in the MVTools implementation, as well as a minor difference in the FFT3DFilter parameters.

But with this, the two outputs are pretty pretty darn close, and are good enough in my book.

Setsugennoao commented 1 year ago

Thanks!