Jaded-Encoding-Thaumaturgy / vs-denoise

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

Fluxsmooth params should be scaled based on bit depth. #103

Closed adworacz closed 4 months ago

adworacz commented 8 months ago

https://github.com/Jaded-Encoding-Thaumaturgy/vs-denoise/blob/a5b4ce8fd565b1e33657e7010727dbde54886934/vsdenoise/prefilters.py#L79-L80

I literally just ran into this issue, where the fluxsmooth plugin appears useless on high bit depth (16) content. Turns out there's a known "issue" on this: https://github.com/dubhater/vapoursynth-fluxsmooth/issues/3

Looks like simply scaling the threshold params based on bit depth works fine in my testing.