Page 32 of 32

Re: DGDenoise

Posted: Thu Nov 08, 2018 12:30 am
by hydra3333
I seem to recall something about a custom avscompat.dll for vapoursynth ... is one needed ?

Re: DGDenoise

Posted: Thu Nov 08, 2018 5:49 am
by gonca
hydra3333 wrote: ↑
Thu Nov 08, 2018 12:30 am
I seem to recall something about a custom avscompat.dll for vapoursynth ... is one needed ?
For the normal DGIndexNV and DGDecodeNV no
For the CudaSynth versions one will be needed

Re: DGDenoise

Posted: Tue Jun 23, 2020 7:56 am
by zybex
Hello dear Donald.
Thank you for your wonderful plugins and filters, they are really useful and are used by me and many users around the world.

I ask you to refine the filter "DGDenoise", having made separate adjustment of parameters for Luma and Chroma in it, this will allow it to be used much better. In particular, I have the original video files, which for high-quality noise reduction without loss of detail, the current version of the same parameter values ​​for Luma and Chroma in the "DGDenoise" filter is not enough.

The current option for the "DGDenoise" filter looks like this:
DGDenoise (clip c, float strength, float blend, bool chroma, int searchw, int device)

I suggest you create new additional parameters:
L_strength # Luma strength
L_blend # Luma blend
L_searchw # Luma searchw
C_strength # Chroma strength
C_blend # Chroma blend
C_searchw # Chroma searchw

At the same time, it would be nice to make compatibility with the old parameter format so that if the values of the new parameters are not specified (separately for Luma and Chroma), then the old parameters would act if their values are indicated (strength, blend, chroma, searchw).

Now I have to resort to such a trick for separately adjusting the noise reduction parameters for Luma and Chroma:

lumadenoise = DGDenoise(strength=0.10, blend=0.5, chroma=false, searchw=9, device=255)
chromadenoise = DGDenoise(strength=0.12, blend=0, chroma=true, searchw=9, device=255)
lumadenoise.MergeChroma(chromadenoise)

But I would like to achieve the same result by setting the parameters in the "DGDenoise" filter in one line, for 1 time, this would be more correct, convenient and possibly faster.

Re: DGDenoise

Posted: Tue Jun 23, 2020 8:05 am
by Rocky
Yes I can do that. There are some other pending enhancement requests. I hope to get to it soon after getting DGDemux with MVC etc. out the door. Thank you for your suggestion and welcome to the forum, zybex!

Re: DGDenoise

Posted: Wed Jun 24, 2020 4:46 am
by hydra3333
:thumbsup:

Re: DGDenoise

Posted: Wed Jun 24, 2020 10:32 am
by zybex
Rocky wrote: ↑
Tue Jun 23, 2020 8:05 am
Yes I can do that.
OK, thanks.

Re: DGDenoise

Posted: Wed Oct 21, 2020 9:20 am
by Rocky
Gonna implement this today, zybex.

Re: DGDenoise

Posted: Wed Oct 21, 2020 1:03 pm
by Rocky
I slipped it into 2053 build 218, so re-download 2053 from the binaries area to get it.

You now have cstrength and cblend for chroma. For technical reasons, searchw applies to both luma and chroma.