SmartSSIQ
From Avisynth wiki
(Difference between revisions)
m (→Syntax and Parameters) |
m (small corrections) |
||
(10 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{FilterCat4|External_filters|Scripts|Restoration_filters|Rainbow & Dot Crawl Removal}} |
− | {{ | + | {{Filter3 |
| LB, foxyshadis | | LB, foxyshadis | ||
− | | | + | | 2014-02-23 |
− | | SmartSSIQ | + | | [http://avisynth.nl/images/SmartSSIQ.avsi SmartSSIQ.avsi] |
| Rainbow & Dot Crawl Removal | | Rainbow & Dot Crawl Removal | ||
| | | | ||
− | |||
| | | | ||
|}} | |}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == | + | == 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. | |
− | + | <br> | |
+ | <br> | ||
+ | <span style="color:red">'''Note:'''</span> SmartSSIQ with default settings can cause slight discoloration on derainbowed areas. | ||
+ | <br> | ||
<br> | <br> | ||
+ | == Requirements == | ||
+ | * AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater] | ||
+ | * Supported color formats: [[YV12]] | ||
− | == | + | === Required Plugins === |
− | + | Latest versions of the following filters are recommended unless stated otherwise.<br> | |
+ | *[[MaskTools2]] | ||
+ | * [[SSIQ]] | ||
<br> | <br> | ||
− | + | == [[Script variables|Syntax and Parameters]] == | |
− | ::: | + | :{{Template:FuncDef|SmartSSIQ (''clip'' input, ''int'' "strength", ''bool'' "interlaced")}} |
− | ::::Processing strength | + | <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 == | ||
− | + | 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> | ||
+ | |||
+ | ==External Links== | ||
+ | *[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. | ||
+ | <br> | ||
<br> | <br> | ||
− | + | ----------------------------------------------- | |
− | + | '''Back to [[External_filters#Rainbow_.26_Dot_Crawl_Removal|External Filters]] ←''' | |
+ | ----------------------------------------------- |
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
[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.
- clip input =
- int strength = 200
- 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.
- Note: this parameter was added as an after-thought, so use it with caution and only as a last resort.
- bool interlaced = false
[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
- Doom9 Forum - Original SmartSSIQ discussion.
- Doom9 Forum - Updated SmartSSIQ discussion.
Back to External Filters ←