RgTools

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Filters)
(Requirements: AVX2 comments)
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Denoisers|Spatial-Temporal Denoisers}}
+
{{FilterCat|External_filters|Plugins|Denoisers}}
[[Category:Plugins]]
+
 
{{Filter3
 
{{Filter3
| {{Author/tp7}}
+
| {{Author/tp7}}, {{Author/pinterf}}
| v0.92.1
+
| v0.96
|[http://github.com/tp7/RgTools/releases/download/0.92.1/RgTools-x86.zip RgTools-x86.zip]
+
|[http://github.com/pinterf/RgTools/releases RgTools-0.96.7z]
[http://github.com/tp7/RgTools/releases/download/0.92.1/RgTools-x64.zip RgTools-x64.zip]
+
| Denoisers  
| Spatial-Temporal Denoisers  
+
 
| [http://opensource.org/licenses/MIT MIT] but binaries are [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
 
| [http://opensource.org/licenses/MIT MIT] but binaries are [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
|}}
+
|6=[http://forum.doom9.org/showthread.php?t=169832 Doom9 Thread]
<br>
+
}}
 +
 
 
== Description ==
 
== Description ==
:RgTools is a modern rewrite of [[RemoveGrain_v1.0b/RemoveGrain/RemoveGrain| RemoveGrain]], [[RemoveGrain_v1.0b/Repair/Repair| Repair]], [[RemoveGrain v1.0b/RemoveGrain/BackwardClense|BackwardClense]], [[RemoveGrain v1.0b/RemoveGrain/Clense| Clense]], [[RemoveGrain v1.0b/RemoveGrain/ForwardClense|ForwardClense]] and [[VerticalCleaner]] all in a single dynamically linked plugin. In addition, RgTools is backward compatible with the original plugins.
+
<tt>RgTools</tt> is a modern rewrite of <tt>[[RgTools/RemoveGrain|RemoveGrain]]</tt>, <tt>[[RgTools/Repair|Repair]]</tt>, <tt>[[RgTools/BackwardClense|BackwardClense]]</tt>, <tt>[[RgTools/Clense|Clense]]</tt>, <tt>[[RgTools/ForwardClense|ForwardClense]]</tt> and <tt>[[RgTools/VerticalCleaner| VerticalCleaner]]</tt> all in a single plugin. <tt>RgTools</tt> is ''mostly'' backward compatible with the original plugins, incompatibilities mainly come from deprecated parameters in the original filters, read filter documentation for full details. Some routines might be slightly less efficient than original, some are faster. Output of some <tt>RemoveGrain</tt> modes are not exactly identical to the original due to some ''minor rounding differences''; these differences will not affect your output in any significant way (it might make it better)[http://forum.doom9.org/showpost.php?p=1697604&postcount=865]. Other functions should be identical.
:Some routines might be slightly less efficient than original, some are faster. Output of some RemoveGrain modes are not exactly identical to the original due to some minor rounding differences. Other functions should be identical.
+
<br>
 
<br>
 
<br>
 
 
== Requirements ==
 
== Requirements ==
:- [http://forum.doom9.org/showthread.php?t=168764 AviSynth 2.6.0 Alpha5] or later
+
* [http://sourceforge.net/projects/avisynth2/ AviSynth 2.6.0] or greater
:- x64 version requires [http://forum.doom9.org/showthread.php?t=168856 AviSynth+ r1576] or later
+
* x64 version requires [http://forum.doom9.org/showthread.php?t=168856 AviSynth+ r1576] or later
:- Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
+
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]; YUV(A) and planar RGB(A) 10-16 bits and float on Avisynth+ r2290-
 +
* AVX2 support requires Avisynth+ (also OS dependent, AVX2 needs at least Windows7 SP1)
 
<br>
 
<br>
:- [http://www.microsoft.com/en-us/download/details.aspx?id=30679 Microsoft Visual C++ 2012 Redistributable Package]
+
* [http://www.microsoft.com/en-us/download/details.aspx?id=53587 Microsoft Visual C++ 2015 Redistributable Package (x86 / x64)]
 +
:<span style="color:red">***</span> <tt>vcredist_x86.exe</tt> is required for <tt>RgTools-x86</tt>
 +
:<span style="color:red">***</span> <tt>vcredist_x64.exe</tt> is required for <tt>RgTools-x64</tt>
 
<br>
 
<br>
  
Line 26: Line 27:
 
{{PluginFilterTable2}}
 
{{PluginFilterTable2}}
 
{{PluginFilterRow|RgTools|BackwardClense|
 
{{PluginFilterRow|RgTools|BackwardClense|
Used for cleansing at sharp scene changes. BackwardClense is for the last frame of a scene.
+
Modified version of <tt>Clense</tt> that works on current and previous frames.
 
| [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
| [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
}}
 
}}
 
{{PluginFilterRow|RgTools|Clense|
 
{{PluginFilterRow|RgTools|Clense|
Clense is a strong temporal cleaner.
+
Temporal median of three frames.
 
| [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
| [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
}}
 
}}
 
{{PluginFilterRow|RgTools|ForwardClense|
 
{{PluginFilterRow|RgTools|ForwardClense|
Used for cleansing at sharp scene changes. ForwardClense is for the first frame of a new scene.
+
Modified version of <tt>Clense</tt> that works on current and next frames.
 
| [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
| [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
}}
 
}}
 
{{PluginFilterRow|RgTools|Repair|
 
{{PluginFilterRow|RgTools|Repair|
Repairs unwanted artifacts from (''but not limited to'') RemoveGrain. Rapair includes 24 modes.
+
Repairs unwanted artifacts from (''but not limited to'') <tt>RemoveGrain</tt>, includes 24 modes.
 
| [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
| [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
}}
 
}}
 
{{PluginFilterRow|RgTools|RemoveGrain|
 
{{PluginFilterRow|RgTools|RemoveGrain|
Purely spatial denoising function that includes 24 different modes.
+
Purely spatial denoising function, includes 24 modes.
 
| [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
| [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
}}
 
}}
 
{{PluginFilterRow|RgTools|VerticalCleaner|
 
{{PluginFilterRow|RgTools|VerticalCleaner|
A fast vertical median.
+
A very fast vertical median, it only has 2 modes.
 
| [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
| [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
}}
 
}}
 
|}
 
|}
 
<br>
 
<br>
 
<br>
 
 
 
== Changelog ==
 
== Changelog ==
 
  Version      Date            Changes<br>
 
  Version      Date            Changes<br>
 +
v0.96        06/09/2017      - RemoveGrain: AVX2. Available when Avisynth+ reports AVX2 usability
 +
                                Can be disabled with new parameter: optAvx2=false
 +
                              - Clense, ForwardClense, BackwardClense: ignore planar colorspace checking when planar=true. Like in RemoveGrain and Repair.
 +
                              - Fix: Mode 11 and 13 for 32 bit float colorspaces (which worked like mode 10 and 12)
 +
 +
v0.95        03/14/2017      - Fix: RemoveGrain Mode 20: overflow at 14 and 16 bit depths in SSE4 (stripes)
 +
                              - Repair: error on unaligned frames (unaligned crop) instead of access violation error
 +
 +
v0.94        01/26/2017      - Clense: new parameter (from v0.9): bool reduceflicker (default false)
 +
                              - Clense: dummy compatibility parameters: bool planar, int cache
 +
                              - autoregister filter MT modes as NICE_FILTER for Avisynth+
 +
                                except for Clense: when reduceflicker is true, MULTI_INSTANCE MT mode is reported
 +
                              - alignment check in Repair and RemoveGrain (anti-unaligned crop measures) 
 +
 +
v0.93        11/27/2016      - Same functionality as 0.92.1
 +
                              - New bit depths 10, 12, 14, 16 bits and 32 bit float
 +
                              - New formats: Planar RGB, Planar RGBA and YUVA support
 +
                              - Use aligned loads if possible, internally
 +
                              - 10+ bit formats require SSE4 for fast processing
 +
                              - XP Support
 +
                              - Built with VS2015, requires Visual Studio Redistributable Update 3 or newer
 +
                              - Of course it works with classic Avisynth for 8 bit videos.<br>
 
  v0.92.1      02/10/2014      - Planar parameter added to VerticalCleaner registration function. It worked before but apparently not.<br>
 
  v0.92.1      02/10/2014      - Planar parameter added to VerticalCleaner registration function. It worked before but apparently not.<br>
 
  v0.92        02/10/2014      - Planar parameter added to VerticalCleaner for compatibility with QTGMC.
 
  v0.92        02/10/2014      - Planar parameter added to VerticalCleaner for compatibility with QTGMC.
Line 65: Line 85:
 
                                 variations of Clense implemented.
 
                                 variations of Clense implemented.
 
<br>
 
<br>
 +
 
== Archived Downloads ==
 
== Archived Downloads ==
 
{| class="wikitable" border="1"; width="400px"
 
{| class="wikitable" border="1"; width="400px"
Line 96: Line 117:
 
*[http://forum.doom9.org/showthread.php?t=169832 Doom9] - RgTools discussion.
 
*[http://forum.doom9.org/showthread.php?t=169832 Doom9] - RgTools discussion.
 
*[http://github.com/tp7/RgTools GitHub] - Source code repository.
 
*[http://github.com/tp7/RgTools GitHub] - Source code repository.
<br>
+
*[http://github.com/pinterf/RgTools GitHub] - Source code repository v0.93-.
 
<br>
 
<br>
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters#Spatio-Temporal_Denoisers|External Filters]] &larr;'''
 
'''Back to [[External_filters#Spatio-Temporal_Denoisers|External Filters]] &larr;'''

Revision as of 17:19, 9 June 2017

Abstract
Author tp7, pinterf
Version v0.96
Download RgTools-0.96.7z
Category Denoisers
License MIT but binaries are GPLv2
Discussion Doom9 Thread

Contents

Description

RgTools is a modern rewrite of RemoveGrain, Repair, BackwardClense, Clense, ForwardClense and VerticalCleaner all in a single plugin. RgTools is mostly backward compatible with the original plugins, incompatibilities mainly come from deprecated parameters in the original filters, read filter documentation for full details. Some routines might be slightly less efficient than original, some are faster. Output of some RemoveGrain modes are not exactly identical to the original due to some minor rounding differences; these differences will not affect your output in any significant way (it might make it better)[1]. Other functions should be identical.

Requirements

  • AviSynth 2.6.0 or greater
  • x64 version requires AviSynth+ r1576 or later
  • Supported color formats: Y8, YV12, YV16, YV24, YV411; YUV(A) and planar RGB(A) 10-16 bits and float on Avisynth+ r2290-
  • AVX2 support requires Avisynth+ (also OS dependent, AVX2 needs at least Windows7 SP1)


*** vcredist_x86.exe is required for RgTools-x86
*** vcredist_x64.exe is required for RgTools-x64


Filters

Filter Description Color format
BackwardClense

Modified version of Clense that works on current and previous frames.

Y8, YV12, YV16, YV24, YV411
Clense

Temporal median of three frames.

Y8, YV12, YV16, YV24, YV411
ForwardClense

Modified version of Clense that works on current and next frames.

Y8, YV12, YV16, YV24, YV411
Repair

Repairs unwanted artifacts from (but not limited to) RemoveGrain, includes 24 modes.

Y8, YV12, YV16, YV24, YV411
RemoveGrain

Purely spatial denoising function, includes 24 modes.

Y8, YV12, YV16, YV24, YV411
VerticalCleaner

A very fast vertical median, it only has 2 modes.

Y8, YV12, YV16, YV24, YV411


Changelog

Version      Date            Changes
v0.96 06/09/2017 - RemoveGrain: AVX2. Available when Avisynth+ reports AVX2 usability Can be disabled with new parameter: optAvx2=false - Clense, ForwardClense, BackwardClense: ignore planar colorspace checking when planar=true. Like in RemoveGrain and Repair. - Fix: Mode 11 and 13 for 32 bit float colorspaces (which worked like mode 10 and 12) v0.95 03/14/2017 - Fix: RemoveGrain Mode 20: overflow at 14 and 16 bit depths in SSE4 (stripes) - Repair: error on unaligned frames (unaligned crop) instead of access violation error v0.94 01/26/2017 - Clense: new parameter (from v0.9): bool reduceflicker (default false) - Clense: dummy compatibility parameters: bool planar, int cache - autoregister filter MT modes as NICE_FILTER for Avisynth+ except for Clense: when reduceflicker is true, MULTI_INSTANCE MT mode is reported - alignment check in Repair and RemoveGrain (anti-unaligned crop measures) v0.93 11/27/2016 - Same functionality as 0.92.1 - New bit depths 10, 12, 14, 16 bits and 32 bit float - New formats: Planar RGB, Planar RGBA and YUVA support - Use aligned loads if possible, internally - 10+ bit formats require SSE4 for fast processing - XP Support - Built with VS2015, requires Visual Studio Redistributable Update 3 or newer - Of course it works with classic Avisynth for 8 bit videos.
v0.92.1 02/10/2014 - Planar parameter added to VerticalCleaner registration function. It worked before but apparently not.
v0.92 02/10/2014 - Planar parameter added to VerticalCleaner for compatibility with QTGMC. Same behavior as in RemoveGrain.
v0.91 11/30/2013 - Planar parameter is added to RemoveGrain and Repair. It allows to skip any colorspace checks whatsoever, making the filter always assume that planar input is passed.
v0.9 11/26/2013 - Initial release - 24 modes of RemoveGrain, 24 modes of Repair, both modes of VerticalCleaner, and three variations of Clense implemented.


Archived Downloads

Version Download Source Code
v0.92.1 RgTools-x86.zip

RgTools-x64.zip

0.92.1.zip
v0.92 RgTools-x86.zip

RgTools-x64.zip

0.92.zip
v0.91 RgTools-x86.zip

RgTools-x64.zip

0.91.zip
v0.9 RgTools-x86.zip

RgTools-x64.zip

0.9.zip


External Links

  • Doom9 - RgTools discussion.
  • GitHub - Source code repository.
  • GitHub - Source code repository v0.93-.




Back to External Filters

Personal tools