Jaded-Encoding-Thaumaturgy/vs-denoise

BM3Ds: Certain frame properties get removed

Closed this issue · 2 comments

With BM3DCuda (and presumably, the core BM3D class in general), certain frame properties get removed at the end of the process. I've verified the same happens with DPIR (see Jaded-Encoding-Thaumaturgy/lvsfunc#158). I have not yet verified what the exact cause is, but a temporary workaround is to simply copy the props of the input clip to the output clip.

After talking about this with Setsu in our PMs, we determined it's probably the RGB conversion. This should be double-checked in multiple functions and fixed if possible.

Just a note - Full Range content is broken as well, even when setting the range_in parameter properly.

It looks like the BM3D functions don't carry through the input's range properly.