DecombUCF
From Avisynth wiki
Abstract | |
---|---|
Author | tyottoenc |
Version | v3.13 |
Download | Script |
Category | IVTC & Decimation |
License | |
Discussion |
Contents |
Description
DecombUCF: Decomb Using Clean Field. This function removes noise generated in one field, such as BS/terrestrial digital video scene changes and moving scenes. (Used after reverse telecine)
If one field is dirty, Bob is used with a clean field, and if both are dirty, NR is applied.
Please refer to Clean_SC for frame replacement.
Requirements
- [x86] AviSynth+ or AviSynth 2.60
- [x64] AviSynth+
- Supported color formats: YV12
Required Plugins
Latest versions of the following filters are recommended unless stated otherwise.
Syntax and Parameters
- DecombUCF(clip s, float "y1", float "y2", float "y3", float "y4", float "y5", float "x1", float "x2", float "x3", float "x4", float "x5", float "off_t", float "off_b", int "th_mode", float "fd_thresh", float "namax_thresh", int "namax_diff", float "nrt1y", float "nrt2y", float "nrt2x", float "nrw", string "nr", int "chroma", int "debug", string "txt_file", int "frame_cache")
- clip =
- Input clip.
- clip =
- float y1 = 15
- float y2 = 20
- float y3 = 23
- float y4 = 45
- float y5 = 63
- float x1 = 20
- float x2 = 28
- float x3 = 36
- float x4 = 41
- float x5 = 50
- Diff threshold: (x=nmin, y=diff)
- float y1 = 15
- float off_t = 0.0
- Offset for diff threshold of top field (first field, top,diff<0).
- float off_t = 0.0
- float off_b = 0.0
- Offset for diff threshold of bottom field (second field, bottom, 0<diff).
- float off_b = 0.0
- int th_mode = 0
- Preset of diff threshold. You can also specify threshold by the parameters x1-x5 and y1-y5 (needs th_mode=0).
- [1-2:debug]
- [3-7:normal]
- [8-10:restricted]
- Preset of diff threshold. You can also specify threshold by the parameters x1-x5 and y1-y5 (needs th_mode=0).
- int th_mode = 0
- float fd_thresh = 128
- Threshold of FieldDiff.
fd_thresh = FieldDiff * 100 / (Width * Height)
- float fd_thresh = 128
- float namax_thresh = 82
- Upper limit of max noise for Noise detection (75-80-83). Disabled with
chroma=1
. - Range: 0 to 256
- Upper limit of max noise for Noise detection (75-80-83). Disabled with
- float namax_thresh = 82
- int namax_diff = 38
- If average noise >=
namax_thresh
, usenamax_diff
as diff threshold. Disabled withchroma=1
. - Range: 30 to 40
- If average noise >=
- int namax_diff = 38
- float nrt1y = 28.0
- Threshold for nr.
- Recommended values: 28-29-30
- float nrt1y = 28.0
- float nrt2y = 36.0
- Exclusion range.
- Recommended values: 36-36.5-37
- float nrt2y = 36.0
- float nrt2x = 53.5
- Exclusion range.
- Recommended values: 53-54-55
- float nrt2x = 53.5
- float nrw = 2.0
- Diff weight for nr threshold.
- Recommended values: 1-2
- float nrw = 2.0
- string nr = NOOP()
- Noise reduction filter to use; default none.
- string nr = NOOP()
- int chroma = 1
- Which planes to use for noise detection:
- 0 : Y
- 1 : UV
- 2 : YUV
- Which planes to use for noise detection:
- int chroma = 1
- int debug = 0
- Debug modes:
- 0 : none
- 1 : Multi
- 2 : FieldDiff
- 3 : Show Noise
- 4 : Output frame list to txt in format for ConditionalReader
- 5 : Output frame list & stacked [C]fields as jpg
- 6 : Execute formal bob using external frame list
- 7 : Execute formal bob & output frame list
- Debug modes:
- int debug = 0
- string txt_file = "nul"
- If you use debug 4,5,6,7 in DecombUCF(), you need to set txt_file.
- string txt_file = "nul"
- int frame_cache = 10
- Cache? (3-5-10)
- int frame_cache = 10
Examples
TODO
Changelog
Version Date Changes
v3.13 2015/05/08 - Latest release v3.09 2015/04/20 - Change preset threshold values v3.08 2015/04/15 - Bug fix of fd_thresh. Please note that the value of fd_thresh has changed. (Original *100/Width/Height) v3.07 2015/03/24 - Improvement of the NR function (to deal with the possibility of misjudgment of NR by scrolling of complex patterns, etc.)
External Links
Back to External Filters ←