Selur
spamming old Newbie
Dabei seit: 13.03.2002
Beiträge: 10.932
|
|
Zitat: |
Quantified Motion Filter: adaptive motion filter for Avisynth
Hi all,
I've played a little (maybe more than that in fact) with the "new" built-in conditional functions inside Avisynth 2.5.1 and later. This script is one of the four different scripts that I made which use these conditional functions: the purpose is very simple, but it proved its strength on the different test clips that I gave it.
What does it do?
It splits the provided video clip into 3 motion levels: low motion, medium motion and high motion, using a (very) simple motion estimation algorithm. Then, it applies different user-defined filters for each motion level, allowing you to do some adaptive smoothing/sharpening (or anything else you want).
Features:
+ adaptive filtering according to motion
+ 3 motions levels (low, medium and high) for 3 different user-defined filters
+ built-in scene change detection algorithm for better motion estimation
+ use of chroma channels for better motion estimation (optional)
+ many user-defined parameters for tweaking
+ detailed debug information display for better tweaking experience (optional)
- YV12 input only! (use ConvertToYV12() when needed)
- Avisynth 2.5.2 or later recommended!
How can I use it?
You just need to define 3 user-defined at the beginning of the script, called Low_Motion_Filter, Medium_Motion_Filter and High_Motion_Filter, which you put your selected filters for each motion level in. Look at the examples provided with the release if needed.
What's this debug thing?
I have a few things to add about debug=true (a parameter which displays debug information over the video clip). When using debug=true, you should always look at the video clip (for instance inside VirtualDubMod) sequentially and in the right order (from past to future). Why? Because my scene change detection doesn't work on a 1-frame basis, but on a 5-frame basis. I won't go into the details here but if you want any information I'll be happy to answer.
What's next?
I've coded 3 other scripts which use the conditional functions:
- Continuous Motion Filter: this script is an adaptive motion filter, but with only one motion level. Inside this motion level, limited by min and max threshold values (user defined parameters), the parameters used inside the filters are scaled linearly on each frame between min and max values (user-defined parameters).
- Full Motion Filter: this script is the "son" of QMF and CMF. It uses 3 motion levels (like QMF), and inside these 3 motion levels the parameters used inside the filters are scaled linearly on each frame (like CMF).
- Scene Change Cleaner: this script is only designed for bad PAL anime sources, and its purpose is to clean the bad blended scene changes that occur all the time. It works quite good.
If someone wants to see one of these filters, feel free to ask for it.
Quantified Motion Filter v1.3 (21/06/2003)
I'd be happy to have some feedback if anyone is interested. Thanks in advance.
HomiE FR |
Quelle: bei doom9.org im Forum
Hat sich schonmal jemand damit beschäftigt?
Hört sich eigentlich recht interessant und vielversprechend an.
Cu Selur
__________________ Hybrid
|
|