Log in

View Full Version : MSU Denoiser via Avisynth


rkalwaitis
27th May 2010, 09:10
I was hoping that someone had experience with utilizing MSU Denoise via avisynth and could possibly help me with the syntax used in the call of the filter. I am not having a problem loading the Virtual Dub plugin, but rather changing the settings of the functions of the plugin. Ive used the examples on the homepage and seem to be doing something wrong.

LoadVirtualDubPlugin("..\VirtualDub\plugins\MSUDenoiser251.vdf", "MSUDenoiser", 1)
clip = AviSource("video.avi")
clip.ConvertToRGB32.MSUDenoiser(algorithm, gpuMode, correction, shotDetection)


So I can not set the algorithm or gpuMode etc. A simple MSUDenoiser() works, but I am unable to change them.

Parameters:

algorithm:
0 — MSU Denoiser;
1 — Bilateral, small region (fast);
2 — Bilateral, medium;
3 — Bilateral, big region (best quality);
gpuMode — if set to 0, CPU is used; GPU otherwise;
correction — manual correction for automatic mode (50 corresponds to no correction);
shotDetection — careful scene change processing (for MSU Denoiser algorithm only).

So hopefully someone has experience with the filter and can give me a hand or tell me its a waste of time :) thanks in advance.:thanks:

mgh
1st June 2010, 17:50
The way which works normally for virtualdub filters is as follows:
load your video in virtualdub, put the settings as you want.
File-save processing settings- save as yoursetting.vcf
open it in notepad,you will see two lines related to the filter


VirtualDub.video.filters.Add("MSU Denoiser v. 1.6.2");
VirtualDub.video.filters.instance[0].Config(30, "20.000000");

Put the contents of the brackets after Config as arguments for your virtualdub plugin in the avisynth script
You will find that the arguments may not be in the same orders as in the dialog box for the plugin. After a couple of trials, you should be easily able to identify the order of the parameters when you use the plugin with avisynth.

rkalwaitis
2nd June 2010, 14:44
:thanks: Ill give it a whirl. Thanks for taking the time to respond to my query.

sinz718
17th August 2010, 05:23
I have this problem too, I get msu_LogoRemover to work but I can't set any commands.
Here is how far I get:
LoadVirtualDubPlugin("C:\VirtualDub-1.8.8\plugins\MSU_LogoRemover.vdf ", "MSULogoRemover", 1)
clip = AviSource("/...church.avi")
clip.ConvertToRGB32.MSULogoRemover()
MSULogoRemover()

It works with avsp but I need to control (dialtions, treshold, read logo mask, removal:blur) Can anyone help figure this out with me? I need it for my current project, information is not on there site. Also I would just use Vdub to add to job list but that renders the filter useless because it resets itself and ends up trying to remove the whole .avi file.