SmartSSIQ

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Changelog)
m (small corrections)
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}}
+
{{FilterCat4|External_filters|Scripts|Restoration_filters|Rainbow & Dot Crawl Removal}}
{{Filter
+
{{Filter3
 
| LB, foxyshadis
 
| LB, foxyshadis
| 2005-12-08
+
| 2014-02-23
| SmartSSIQ
+
| [http://avisynth.nl/images/SmartSSIQ.avsi SmartSSIQ.avsi]
 
| Rainbow & Dot Crawl Removal
 
| Rainbow & Dot Crawl Removal
 
|
 
|
* YV12
 
 
|
 
|
 
|}}
 
|}}
<br>
 
== Description ==
 
:This is a derainbowing script which works with [[SSIQ]]. The basic problem with SSIQ is that it can alter the color on the entire picture, which is a very bad thing.
 
:All we want to do is remove rainbows, while leaving everything else alone. To accomplish this, SSIQ is applied (at full strength) to the entire frame. An edge mask is created from the original video.
 
:And finally, using [[Overlay]] it will blend ONLY the de-rainbowed edges onto the original video.
 
==== Requirements: ====
 
:- AviSynth 2.5.8 or later
 
:- Supported color formats: [[YV12]]
 
  
===== Required Filters: =====
+
== Description ==
:*[[MaskTools2]] 2.0a48+
+
This is a derainbowing script which works with [[SSIQ]]. The basic problem with SSIQ is that it can alter the color on the entire picture, which is a very bad thing. All we want to do is remove rainbows, while leaving everything else alone. To accomplish this, SSIQ is applied (at full strength) to the entire frame. An edge mask is created from the original video. And finally, using [[Overlay]] it will blend ONLY the de-rainbowed edges onto the original video.
:* [[SSIQ]]
+
 
<br>
 
<br>
 +
<br>
 +
<span style="color:red">'''Note:'''</span> SmartSSIQ with default settings can cause slight discoloration on derainbowed areas.
 +
<br>
 +
<br>
 +
== Requirements ==
 +
* AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater]
 +
* Supported color formats: [[YV12]]
  
== Syntax and Parameters ==
+
=== Required Plugins ===
:{{Template:FuncDef|SmartSSIQ(clip input, int "strength")}}
+
Latest versions of the following filters are recommended unless stated otherwise.<br>
 +
*[[MaskTools2]]
 +
* [[SSIQ]]
 
<br>
 
<br>
::{{Par|strength|int|200}}
+
== [[Script variables|Syntax and Parameters]] ==
:::Range: 0 - 255
+
:{{Template:FuncDef|SmartSSIQ (''clip'' input, ''int'' "strength", ''bool'' "interlaced")}}
::::Processing strength. This value ultimately controls the opacity in [[overlay]].
+
<br>
::::''opacity = strength/255.0''   
+
::{{Par2|input|clip| }}
 +
:::Input clip.
 +
<br>
 +
::{{Par2|strength|int|200}}
 +
:::Processing strength; this value ultimately controls the ''opacity*'' in [[overlay]].
 +
:::Range: 0 to 255
 +
<br>
 +
:::''*opacity = strength/255.0''   
 +
<br>
 +
::{{Par2|interlaced|bool|false}}
 +
:::False means the input clip is [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|progressive]]; with true it's [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|interlaced]].
 +
:::<span style="color:red">'''Note:'''</span> this parameter was added as an after-thought, so use it with caution and only as a last resort.
 
<br>
 
<br>
  
 
== Examples ==
 
== Examples ==
 +
SmartSSIQ with default settings:
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
  SmartSSIQ()
+
  SmartSSIQ(strength=200, interlaced=false)
 
<br>
 
<br>
 
== Changelog ==
 
== Changelog ==
  [http://forum.doom9.org/showpost.php?p=748304&postcount=26 2005/12/08]
+
Version          Date            Author            Changes<br>
      - Changed syntax to use [[MaskTools2]].
+
2014/02/23        2014/02/23      Reel.Deal          - Luma is not processed; prevents minor artifacts.
      - Now uses the AviSynth version of [[SSIQ]].
+
                                                      - Add "interlaced" parameter.<br>
      - Other changes.<br>
+
[http://forum.doom9.org/showpost.php?p=748304&postcount=26 2005/12/08]     2005/12/08      foxyshadis        - Changed syntax to use [[MaskTools2]].
  [http://forum.doom9.org/showthread.php?t=98267 2005/08/05:]
+
                                                      - Now uses the AviSynth version of [[SSIQ]].
      - Original SmartSSIQ that uses the VirtualDub version of [http://web.archive.org/web/20111217010427/http://www.doki.ca/filters/ SSIQ].     
+
                                                      - Tweak edge mask and remove UnsharpMask<br>
 +
[http://forum.doom9.org/showthread.php?t=98267 2005/08/05]     2005/08/05      LB                - Original SmartSSIQ that uses the VirtualDub version of [http://web.archive.org/web/20111217010427/http://www.doki.ca/filters/ SSIQ].     
 
<br>
 
<br>
  
==Links==
+
==External Links==
 
*[http://forum.doom9.org/showthread.php?t=98267 Doom9 Forum] - Original SmartSSIQ discussion.
 
*[http://forum.doom9.org/showthread.php?t=98267 Doom9 Forum] - Original SmartSSIQ discussion.
 
*[http://forum.doom9.org/showthread.php?p=748304#post748304 Doom9 Forum] - Updated SmartSSIQ discussion.
 
*[http://forum.doom9.org/showthread.php?p=748304#post748304 Doom9 Forum] - Updated SmartSSIQ discussion.
 +
<br>
 +
<br>
 +
-----------------------------------------------
 +
'''Back to [[External_filters#Rainbow_.26_Dot_Crawl_Removal|External Filters]] &larr;'''
 +
-----------------------------------------------

Latest revision as of 14:11, 6 March 2016

Abstract
Author LB, foxyshadis
Version 2014-02-23
Download SmartSSIQ.avsi
Category Rainbow & Dot Crawl Removal
License
Discussion

Contents

[edit] Description

This is a derainbowing script which works with SSIQ. The basic problem with SSIQ is that it can alter the color on the entire picture, which is a very bad thing. All we want to do is remove rainbows, while leaving everything else alone. To accomplish this, SSIQ is applied (at full strength) to the entire frame. An edge mask is created from the original video. And finally, using Overlay it will blend ONLY the de-rainbowed edges onto the original video.

Note: SmartSSIQ with default settings can cause slight discoloration on derainbowed areas.

[edit] Requirements

  • AviSynth 2.5.8 or greater
  • Supported color formats: YV12

[edit] Required Plugins

Latest versions of the following filters are recommended unless stated otherwise.


[edit] Syntax and Parameters

SmartSSIQ (clip input, int "strength", bool "interlaced")


clip  input =
Input clip.


int  strength = 200
Processing strength; this value ultimately controls the opacity* in overlay.
Range: 0 to 255


*opacity = strength/255.0


bool  interlaced = false
False means the input clip is progressive; with true it's interlaced.
Note: this parameter was added as an after-thought, so use it with caution and only as a last resort.


[edit] Examples

SmartSSIQ with default settings:

AviSource("Blah.avi")
SmartSSIQ(strength=200, interlaced=false)


[edit] Changelog

Version           Date            Author             Changes
2014/02/23 2014/02/23 Reel.Deal - Luma is not processed; prevents minor artifacts. - Add "interlaced" parameter.
2005/12/08 2005/12/08 foxyshadis - Changed syntax to use MaskTools2. - Now uses the AviSynth version of SSIQ. - Tweak edge mask and remove UnsharpMask
2005/08/05 2005/08/05 LB - Original SmartSSIQ that uses the VirtualDub version of SSIQ.


[edit] External Links




Back to External Filters


Personal tools