DeCross
From Avisynth wiki
(Difference between revisions)
m (→Syntax and Parameters: typo) |
m (author) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{FilterCat5|External_filters|Plugins|Plugins_x64|Restoration_filters|Rainbow & Dot Crawl Removal}} |
{{Filter3 | {{Filter3 | ||
− | | {{Author/minamina}} | + | |1={{Author/minamina}}, {{Author/dubhater}}, {{Author/Asd-g}} |
− | | | + | |2=v2.0.0 |
− | | [ | + | |3=[https://github.com/Asd-g/AviSynth-DeCross/releases DeCross-2.0.0.7z] |
− | | Rainbow & Dot Crawl Removal | + | |4=Rainbow & Dot Crawl Removal |
− | | [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | + | |5=[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] |
|6=[http://forum.doom9.org/showthread.php?t=107316 Doom9 Thread]}} | |6=[http://forum.doom9.org/showthread.php?t=107316 Doom9 Thread]}} | ||
− | + | ||
== Description == | == Description == | ||
− | DeCross is a cross color reduction | + | DeCross is a spatio-temporal cross color (rainbow) reduction filter. DeCross must be used right after the source filter, before any field matching or deinterlacing. The luma channel is returned unchanged. |
+ | |||
+ | DeCross is based on CrossColor, an AviUtl plugin by [http://web.archive.org/web/20090212234323/http://latch-up.hp.infoseek.co.jp/aviutl.html Shou.] | ||
<br> | <br> | ||
<br> | <br> | ||
− | |||
− | |||
− | |||
− | * [[ | + | == Requirements == |
+ | * [x86] [[AviSynth+]] or [http://sourceforge.net/projects/avisynth2/ AviSynth 2.60] | ||
+ | * [x64] [[AviSynth+]] | ||
+ | * Supported color formats: [[YV12]], [[YV16]] | ||
+ | <br> | ||
+ | * [https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads Microsoft Visual C++ 2019 Redistributable Package (x86 / x64)] | ||
+ | :<span style="color:red">***</span> <tt>vc_redist.x86.exe</tt> is required for <tt>DeCross-x86</tt> | ||
+ | :<span style="color:red">***</span> <tt>vc_redist.x64.exe</tt> is required for <tt>DeCross-x64</tt> | ||
<br> | <br> | ||
− | |||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
:{{Template:FuncDef|DeCross (''clip'', ''int'' "ThresholdY", ''int'' "Noise", ''int'' "Margin", ''bool'' "Debug")}} | :{{Template:FuncDef|DeCross (''clip'', ''int'' "ThresholdY", ''int'' "Noise", ''int'' "Margin", ''bool'' "Debug")}} | ||
<br> | <br> | ||
::{{Par2| |clip| }} | ::{{Par2| |clip| }} | ||
− | :::Input clip. | + | :::Input clip. It must have constant format and dimensions and it must be YUV420P8 or YUV422P8. |
<br> | <br> | ||
::{{Par2|ThresholdY|int|30}} | ::{{Par2|ThresholdY|int|30}} | ||
− | :::Edge detection threshold; | + | :::Edge detection threshold; smaller values will detect and filter more edges. |
:::Range: 0 - 255 | :::Range: 0 - 255 | ||
<br> | <br> | ||
::{{Par2|Noise|int|60}} | ::{{Par2|Noise|int|60}} | ||
+ | :::Luma difference thresholh; smaller values will filter more conservatively. | ||
:::Anything equal to or greater than this value is considered as noise. | :::Anything equal to or greater than this value is considered as noise. | ||
:::Range: 0 - 255 | :::Range: 0 - 255 | ||
<br> | <br> | ||
::{{Par2|Margin|int|1}} | ::{{Par2|Margin|int|1}} | ||
− | :::Expands the edge mask left and right. | + | :::Expands the edge mask to the left and right by margin pixels.. |
:::Range: 0 - 4 | :::Range: 0 - 4 | ||
<br> | <br> | ||
::{{Par2|Debug|bool|false}} | ::{{Par2|Debug|bool|false}} | ||
− | :::Shows the area where the filter is being applied; useful for seeing the effects of ThresholdY and Margin | + | :::Shows the area where the filter is being applied; useful for seeing the effects of <code>ThresholdY</code> and <code>Margin</code>. |
− | < | + | |
+ | <br> | ||
== Examples == | == Examples == | ||
DeCross with all default values: | DeCross with all default values: | ||
[[AviSource]]("Blah.avi") | [[AviSource]]("Blah.avi") | ||
DeCross(ThresholdY=30, Noise=60, Margin=1, Debug=false) | DeCross(ThresholdY=30, Noise=60, Margin=1, Debug=false) | ||
+ | |||
<br> | <br> | ||
== Changelog == | == Changelog == | ||
− | + | 2020/05/15 v2.0.0 | |
+ | - Move project to GitHub<br> | ||
+ | 2019/06/07 | ||
+ | - Backport DeCross from VapourSynth port by Dubhater | ||
+ | - Add YV16 and drop YUY2 support | ||
+ | - x64 version | ||
+ | - Compiled with Microsoft Visual Studio C++ 2019 | ||
+ | - Author: Asd<br> | ||
+ | 2004/02/01 v0.0.02 | ||
- Fixed a problem were DeCross could not be loaded using AviSynth 2.0.x and LoadPluginEx.<br> | - Fixed a problem were DeCross could not be loaded using AviSynth 2.0.x and LoadPluginEx.<br> | ||
− | 2003/12/26 | + | 2003/12/26 v0.0.01 |
- Initial Release. | - Initial Release. | ||
<br> | <br> | ||
− | + | == Archived Downloads == | |
+ | {| class="wikitable" border="1"; width="600px" | ||
+ | |- | ||
+ | !!width="100px"| Version | ||
+ | !!width="150px"| Download | ||
+ | !!width="150px"| Mirror | ||
+ | |- | ||
+ | !v0.0.02 | ||
+ | |[http://nullinfo.s21.xrea.com/data/DeCross0002.zip DeCross0002.zip] | ||
+ | |[https://web.archive.org/web/20160314013456/http://nullinfo.s21.xrea.com/data/DeCross0002.zip DeCross0002.zip] | ||
+ | |- | ||
+ | !v0.0.01 | ||
+ | |[http://nullinfo.s21.xrea.com/data/DeCross0001.zip DeCross0001.zip] | ||
+ | |[https://web.archive.org/web/20200520175313if_/http://nullinfo.s21.xrea.com/data/DeCross0001.zip DeCross0001.zip] | ||
+ | |} | ||
+ | <br> | ||
==External Links == | ==External Links == | ||
− | *[ | + | *[https://github.com/Asd-g/AviSynth-DeCross GitHub] - Source code repository. |
+ | *[https://github.com/dubhater/vapoursynth-decross GitHub] - Source code repository (VapourSynth version). | ||
+ | *[https://forum.doom9.org/showthread.php?p=786144 Doom9 Forum] - Use DeCross before or after IVTC? | ||
<br> | <br> | ||
<br> | <br> | ||
----------------------------------------------- | ----------------------------------------------- | ||
'''Back to [[External_filters#Rainbow_.26_Dot_Crawl_Removal|External Filters]] ←''' | '''Back to [[External_filters#Rainbow_.26_Dot_Crawl_Removal|External Filters]] ←''' |
Latest revision as of 19:17, 19 June 2020
Abstract | |
---|---|
Author | minamina, dubhater , Asd-g |
Version | v2.0.0 |
Download | DeCross-2.0.0.7z |
Category | Rainbow & Dot Crawl Removal |
License | GPLv2 |
Discussion | Doom9 Thread |
Contents |
[edit] Description
DeCross is a spatio-temporal cross color (rainbow) reduction filter. DeCross must be used right after the source filter, before any field matching or deinterlacing. The luma channel is returned unchanged.
DeCross is based on CrossColor, an AviUtl plugin by Shou.
[edit] Requirements
- [x86] AviSynth+ or AviSynth 2.60
- [x64] AviSynth+
- Supported color formats: YV12, YV16
- *** vc_redist.x86.exe is required for DeCross-x86
- *** vc_redist.x64.exe is required for DeCross-x64
[edit] Syntax and Parameters
- DeCross (clip, int "ThresholdY", int "Noise", int "Margin", bool "Debug")
- clip =
- Input clip. It must have constant format and dimensions and it must be YUV420P8 or YUV422P8.
- clip =
- int ThresholdY = 30
- Edge detection threshold; smaller values will detect and filter more edges.
- Range: 0 - 255
- int ThresholdY = 30
- int Noise = 60
- Luma difference thresholh; smaller values will filter more conservatively.
- Anything equal to or greater than this value is considered as noise.
- Range: 0 - 255
- int Noise = 60
- int Margin = 1
- Expands the edge mask to the left and right by margin pixels..
- Range: 0 - 4
- int Margin = 1
- bool Debug = false
- Shows the area where the filter is being applied; useful for seeing the effects of
ThresholdY
andMargin
.
- Shows the area where the filter is being applied; useful for seeing the effects of
- bool Debug = false
[edit] Examples
DeCross with all default values:
AviSource("Blah.avi") DeCross(ThresholdY=30, Noise=60, Margin=1, Debug=false)
[edit] Changelog
2020/05/15 v2.0.0 - Move project to GitHub
2019/06/07 - Backport DeCross from VapourSynth port by Dubhater - Add YV16 and drop YUY2 support - x64 version - Compiled with Microsoft Visual Studio C++ 2019 - Author: Asd
2004/02/01 v0.0.02 - Fixed a problem were DeCross could not be loaded using AviSynth 2.0.x and LoadPluginEx.
2003/12/26 v0.0.01 - Initial Release.
[edit] Archived Downloads
Version | Download | Mirror |
---|---|---|
v0.0.02 | DeCross0002.zip | DeCross0002.zip |
v0.0.01 | DeCross0001.zip | DeCross0001.zip |
[edit] External Links
- GitHub - Source code repository.
- GitHub - Source code repository (VapourSynth version).
- Doom9 Forum - Use DeCross before or after IVTC?
Back to External Filters ←