SmartSSIQ
From Avisynth wiki
(Difference between revisions)
m (→Changelog) |
(Update) |
||
Line 2: | Line 2: | ||
{{Filter | {{Filter | ||
| LB, foxyshadis | | LB, foxyshadis | ||
− | | | + | | 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. | ||
− | = | + | <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]] | ||
− | |||
− | + | ==== 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> | ||
− | ::{{ | + | ::{{Par2|input|clip| }} |
− | :::Range: 0 | + | ::::Input clip. |
− | ::::Processing strength | + | <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 == | ||
− | + | Version Date Author Changes<br> | |
− | + | 2014/02/23 2014/02/23 Reel.Deal - Luma is not processed; prevents minor artifacts. | |
− | + | - Add "interlaced" parameter.<br> | |
− | + | [http://forum.doom9.org/showpost.php?p=748304&postcount=26 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<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]] ←''' | ||
+ | ----------------------------------------------- |
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 |
|
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:
- MaskTools2 2.0a48+
- SSIQ
Syntax and Parameters
- SmartSSIQ (clip input, int "strength", bool "interlaced")
- clip input =
- Input clip.
- clip input =
- int strength = 200
- Range: 0 to 255
- Processing strength; this value ultimately controls the opacity* in overlay.
- Range: 0 to 255
- int strength = 200
- *opacity = strength/255.0
- bool interlaced = false
- False means the input clip is progressive; with true it's interlaced.
- bool interlaced = false
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
- Doom9 Forum - Original SmartSSIQ discussion.
- Doom9 Forum - Updated SmartSSIQ discussion.
Back to External Filters ←