SSIQ

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m
(reformat and other small changes)
Line 1: Line 1:
{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}}
+
{{FilterCat4|External_filters|Plugins|Restoration_filters|Rainbow & Dot Crawl Removal}}
{{Filter
+
{{Filter3
 
| {{Author/Myrsloik}}  
 
| {{Author/Myrsloik}}  
 
| v1.1
 
| v1.1
| [http://avisynth.nl/users/warpenterprises/files/ssiq_20070304.zip SSIQ]
+
| [http://avisynth.nl/users/warpenterprises/files/ssiq_20070304.zip ssiq_20070304.zip]
 
| Rainbow & Dot Crawl Removal
 
| Rainbow & Dot Crawl Removal
|
 
* RGB32
 
* YUY2
 
* YV12
 
 
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
 
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
 
|}}
 
|}}
 
<br>
 
<br>
 
== Description ==
 
== Description ==
:SSIQ is an AviSynth conversion of the VirtualDub filter [http://www.doki.ca/filters/ Smart Smoother IQ version 0.6.]
+
SSIQ is an AviSynth conversion of the VirtualDub filter [http://www.doki.ca/filters/ Smart Smoother IQ v0.6]. In addition to RGB32 support where it produces identical output to the VirtualDub version, it also accepts YUY2 and YV12 without doing any internal colorspace conversions. For YUY2 and YV12 the chroma is first resized up to full resolution and then back in the end. The advantage of doing that is that you get a small speed increase and almost completely identical output. SSIQ is purely spatial.
:In addition to RGB32 support where it produces identical output to the VirtualDub version, it also accepts YUY2 and YV12 without doing any internal colorspace conversions.  
+
:For YUY2 and YV12 the chroma is first resized up to full resolution and then back in the end.  
+
:The advantage of doing that is that you get a small speed increase and almost completely identical output.
+
:SSIQ is purely spatial.
+
 
<br>
 
<br>
 
==== Orginal Description: ====
 
==== Orginal Description: ====
:This filter performs structure-preserving smoothing (blurring) on the I/Q (chrominance or colour) information of the image, leaving Y (luminance) intact.  
+
This filter performs structure-preserving smoothing (blurring) on the I/Q (chrominance or colour) information of the image, leaving Y (luminance) intact. It was created in an attempt to reduce the appearance of "rainbows" (cross-colour artifacts) near lines in some cel animation. It is based on Donald Graft's [http://rationalqm.us/smooth.html Smart Smoother filter], which operates in RGB space.
:It was created in an attempt to reduce the appearance of "rainbows" (cross-colour artifacts) near lines in some cel animation.  
+
:It is based on Donald Graft's [http://neuron2.net/smooth.html Smart Smoother filter], which operates in RGB space.
+
 
<br>
 
<br>
==== Requirements: ====
+
<br>
:- AviSynth 2.5.8 or later
+
== Requirements ==
:- Supported color formats: [[RGB32]], [[YUY2]], [[YV12]]
+
* AviSynth 2.5.8 or later
 +
* Supported color formats: [[RGB32]], [[YUY2]], [[YV12]]
 
<br>
 
<br>
  
== Syntax and Parameters ==
+
== [[Script variables|Syntax and Parameters]] ==
:{{Template:FuncDef|SSIQ(int "diameter", int "strength", bool "interlaced")}}
+
:{{Template:FuncDef|SSIQ (clip, int "diameter", int "strength", bool "interlaced")}}
 
<br>
 
<br>
::{{Par|diameter|int|11}}
+
::{{Par2| |clip| }}
 +
:::Input clip.
 +
<br>
 +
::{{Par2|diameter|int|11}}
 
:::Determines the size of the area over which blurring is possible. The bigger it is the slower the filter runs.
 
:::Determines the size of the area over which blurring is possible. The bigger it is the slower the filter runs.
::::Valid diameters are: 3,5,7,9,11.
+
:::Valid diameters are: 3,5,7,9,11
 
<br>
 
<br>
::{{Par|strength|int|200}}
+
::{{Par2|strength|int|200}}
 
:::Determines how much blurring is done. Use the lowest amount that removes the unwanted noise/artifacts.
 
:::Determines how much blurring is done. Use the lowest amount that removes the unwanted noise/artifacts.
::::Range: 1 - 300
+
:::Range: 1 - 300
 
<br>
 
<br>
::{{Par|interlaced:|bool|false}}
+
::{{Par2|interlaced:|bool|false}}
 
:::Set this if your source video is interlaced.
 
:::Set this if your source video is interlaced.
 
<br>
 
<br>
 
== Examples ==
 
== Examples ==
 +
SSIQ with default settings:
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
  SSIQ()
+
  SSIQ(diameter=11, strength=200, interlaced=false)
 
<br>
 
<br>
 
== Changelog ==
 
== Changelog ==
Line 52: Line 47:
 
<br>
 
<br>
 
== Credits ==
 
== Credits ==
Originally created by Tim Parks and optimized by Mark DeNies. Less than optimal AviSynth conversion by Fredrik Mellbin.
+
Originally created by Tim Parks and optimized by Mark DeNies. Less than optimal AviSynth conversion by Fredrik Mellbin.<br>
 +
<br>
 +
<br>
 +
-----------------------------------------------
 +
'''Back to [[External_filters#Rainbow_.26_Dot_Crawl_Removal|External Filters]] &larr;'''
 +
-----------------------------------------------

Revision as of 11:51, 24 December 2014

Abstract
Author Myrsloik
Version v1.1
Download ssiq_20070304.zip
Category Rainbow & Dot Crawl Removal
License GPLv2
Discussion


Contents

Description

SSIQ is an AviSynth conversion of the VirtualDub filter Smart Smoother IQ v0.6. In addition to RGB32 support where it produces identical output to the VirtualDub version, it also accepts YUY2 and YV12 without doing any internal colorspace conversions. For YUY2 and YV12 the chroma is first resized up to full resolution and then back in the end. The advantage of doing that is that you get a small speed increase and almost completely identical output. SSIQ is purely spatial.

Orginal Description:

This filter performs structure-preserving smoothing (blurring) on the I/Q (chrominance or colour) information of the image, leaving Y (luminance) intact. It was created in an attempt to reduce the appearance of "rainbows" (cross-colour artifacts) near lines in some cel animation. It is based on Donald Graft's Smart Smoother filter, which operates in RGB space.

Requirements

  • AviSynth 2.5.8 or later
  • Supported color formats: RGB32, YUY2, YV12


Syntax and Parameters

SSIQ (clip, int "diameter", int "strength", bool "interlaced")


clip   =
Input clip.


int  diameter = 11
Determines the size of the area over which blurring is possible. The bigger it is the slower the filter runs.
Valid diameters are: 3,5,7,9,11


int  strength = 200
Determines how much blurring is done. Use the lowest amount that removes the unwanted noise/artifacts.
Range: 1 - 300


bool  interlaced: = false
Set this if your source video is interlaced.


Examples

SSIQ with default settings:

AviSource("Blah.avi")
SSIQ(diameter=11, strength=200, interlaced=false)


Changelog

 Version 1.1:
     - Fixed an off by one error and in the process probably also made the YV12 and YUY2 modes slightly faster.


Credits

Originally created by Tim Parks and optimized by Mark DeNies. Less than optimal AviSynth conversion by Fredrik Mellbin.



Back to External Filters


Personal tools