SmartSSIQ

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Changelog)
(Update)
Line 2: Line 2:
 
{{Filter
 
{{Filter
 
| 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
 
|
 
|
Line 14: Line 14:
 
: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.
 
: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.
 
:And finally, using [[Overlay]] it will blend ONLY the de-rainbowed edges onto the original video.
==== Requirements: ====
+
<br>
 +
:<span style="color:red">'''Note:'''</span> SmartSSIQ with default settings can cause slight discoloration on derainbowed areas.
 +
<br>
 +
== Requirements ==
 
:- AviSynth 2.5.8 or later
 
:- AviSynth 2.5.8 or later
 
:- Supported color formats: [[YV12]]
 
:- Supported color formats: [[YV12]]
:- [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only
 
  
===== Required Filters: =====
+
==== Required Filters: ====
 
:*[[MaskTools2]] 2.0a48+
 
:*[[MaskTools2]] 2.0a48+
 
:* [[SSIQ]]
 
:* [[SSIQ]]
 
<br>
 
<br>
 
 
== Syntax and Parameters ==
 
== Syntax and Parameters ==
:{{Template:FuncDef|SmartSSIQ(clip input, int "strength")}}
+
:{{Template:FuncDef|SmartSSIQ (''clip'' input, ''int'' "strength", ''bool'' "interlaced")}}
 
<br>
 
<br>
::{{Par|strength|int|200}}
+
::{{Par2|input|clip| }}
:::Range: 0 - 255
+
::::Input clip.
::::Processing strength. This value ultimately controls the opacity in [[overlay]].
+
<br>
::::''opacity = strength/255.0''   
+
::{{Par2|strength|int|200}}
 +
:::Range: 0 to 255
 +
::::Processing strength; this value ultimately controls the ''opacity*'' in [[overlay]].
 +
<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]].
 
<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>
      - Tweak edge mask. Removed UnsharpMask<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>
  
Line 49: Line 58:
 
*[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>
 +
<br>
 +
-----------------------------------------------
 +
'''Back to [[External_filters#Rainbow_.26_Dot_Crawl_Removal|External Filters]] &larr;'''
 +
-----------------------------------------------

Revision as of 14:28, 23 February 2014

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


Contents

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.


Requirements

- AviSynth 2.5.8 or later
- Supported color formats: YV12

Required Filters:


Syntax and Parameters

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


clip  input =
Input clip.


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


*opacity = strength/255.0


bool  interlaced = false
False means the input clip is progressive; with true it's interlaced.


Examples

SmartSSIQ with default settings:

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


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.


Links





Back to External Filters


Personal tools