From Avisynth wiki
Jump to: navigation, search
Author LB, foxyshadis
Version 2014-02-23
Download SmartSSIQ.avsi
Category Rainbow & Dot Crawl Removal


[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:

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