FixChromaBleedingMod
From Avisynth wiki
(Difference between revisions)
Raffriff42 (Talk | contribs) (redirect for convenient searching) |
(add documentation) |
||
| Line 1: | Line 1: | ||
| − | + | {{FilterCat4|External_filters|Scripts|Restoration_filters|Chroma correction}} | |
| + | {{Filter3 | ||
| + | |ajordan, real.finder | ||
| + | | | ||
| + | |3=[http://pastebin.com/raw.php?i=gbmD61RF FixChromaBleedingMod.avsi] | ||
| + | |4=Chroma Correction | ||
| + | |5= | ||
| + | |6=[http://forum.doom9.org/showthread.php?t=77074#post1673932 Doom9 thread]}} | ||
| − | {{ | + | == Description == |
| + | A script to reduce color bleeding; based on [[FixChromaBleeding]]. | ||
| + | <br> | ||
| + | <br> | ||
| + | == Requirements == | ||
| + | * AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater] | ||
| + | * Supported color formats: [[YV12]] | ||
| + | === Required Plugins and Scripts === | ||
| + | Latest versions of the following filters are recommended unless stated otherwise.<br> | ||
| + | *[[ChromaShift]] | ||
| + | *[[ChromaShiftSP]] | ||
| + | *[[MaskTools2]] | ||
| + | <br> | ||
| + | == [[Script variables|Syntax and Parameters]] == | ||
| + | :{{Template:FuncDef|FixChromaBleedingMod (clip input, int "cxShift", int "cyShift", float "thr", float "strength", bool "f", float "opacity", bool "n", bool "xysh", bool "Bic")}} | ||
| + | <br> | ||
| + | ::{{Par2| |clip| }} | ||
| + | :::Input clip. | ||
| + | <br> | ||
| + | ::{{Par2|cxShift|int|-4}} | ||
| + | ::{{Par2|cyShift|int|-4}} | ||
| + | :::Horizontal and vertical chroma shift; vertical shift is ignored when <code>{{Template:FuncDef|sysh}}=false</code> (default). | ||
| + | <br> | ||
| + | ::{{Par2|thr|float|4.0}} | ||
| + | :::Saturation in mask clip. | ||
| + | <br> | ||
| + | ::{{Par2|strength|float|0.8}} | ||
| + | :::Saturation strength in clip to be merge with the original chroma. | ||
| + | <br> | ||
| + | ::{{Par2|f|bool|true}} | ||
| + | :::Set to true to enable fast processing on the mask clip (default). | ||
| + | <br> | ||
| + | ::{{Par2|opacity|float|1.0}} | ||
| + | :::Opacity strength when blending the original chroma with the corrected one. | ||
| + | <br> | ||
| + | ::{{Par2|n|bool|false}} | ||
| + | :::Set to true to blur the mask clip. | ||
| + | <br> | ||
| + | ::{{Par2|xysh|bool|false}} | ||
| + | :::Set to true enable vertical shifting via <tt>ChromaShiftSP</tt>. | ||
| + | <br> | ||
| + | ::{{Par2|Bic|bool|false}} | ||
| + | :::Set to true to scale the mask with [[BicubicResize]] instead of [[BilinearResize]]. | ||
| + | <br> | ||
| + | == Examples == | ||
| + | FixChromaBleedingMod with default settings: | ||
| + | [[AviSource]]("Blah.avi") | ||
| + | FixChromaBleedingMod(cxShift=-4, cyShift=-4, thr=4.0, strength=0.8, f=true, opacity=1.0, n=false, xysh=flase, Bic=false) | ||
| + | |||
| + | <br> | ||
| + | == Changelog == | ||
| + | Version Date(D/M/Y) Changes<br> | ||
| + | 1.35 30/04/2015 - [http://pastebin.com/gbmD61RF] (trick to fix chroma blend/bleed/halo) | ||
| + | 1.34 29/04/2015 - [http://pastebin.com/XmVym47E] | ||
| + | 1.32 09/04/2015 - [http://pastebin.com/puA4NrTj] | ||
| + | 1.3 22/03/2015 - [http://pastebin.com/y3JfEFdf] | ||
| + | 1.2 06/02/2014 - [http://pastebin.com/Y0RQYJNr] | ||
| + | 1.1 06/02/2014 - [http://pastebin.com/1GL9pfZ7] | ||
| + | 1.0 31/01/2014 - [http://pastebin.com/5PLa9RwJ] (initial release) | ||
| + | <br> | ||
| + | == External Links == | ||
| + | <br> | ||
| + | <br> | ||
| + | ----------------------------------------------- | ||
| + | '''Back to [[External_filters#Chroma_correction|External Filters]] ←''' | ||
Revision as of 15:45, 14 December 2015
| Abstract | |
|---|---|
| Author | ajordan, real.finder |
| Version | |
| Download | FixChromaBleedingMod.avsi |
| Category | Chroma Correction |
| License | |
| Discussion | Doom9 thread |
Contents |
Description
A script to reduce color bleeding; based on FixChromaBleeding.
Requirements
Required Plugins and Scripts
Latest versions of the following filters are recommended unless stated otherwise.
Syntax and Parameters
- FixChromaBleedingMod (clip input, int "cxShift", int "cyShift", float "thr", float "strength", bool "f", float "opacity", bool "n", bool "xysh", bool "Bic")
- clip =
- Input clip.
- clip =
- int cxShift = -4
- int cyShift = -4
- Horizontal and vertical chroma shift; vertical shift is ignored when
sysh=false(default).
- Horizontal and vertical chroma shift; vertical shift is ignored when
- int cxShift = -4
- float thr = 4.0
- Saturation in mask clip.
- float thr = 4.0
- float strength = 0.8
- Saturation strength in clip to be merge with the original chroma.
- float strength = 0.8
- bool f = true
- Set to true to enable fast processing on the mask clip (default).
- bool f = true
- float opacity = 1.0
- Opacity strength when blending the original chroma with the corrected one.
- float opacity = 1.0
- bool n = false
- Set to true to blur the mask clip.
- bool n = false
- bool xysh = false
- Set to true enable vertical shifting via ChromaShiftSP.
- bool xysh = false
- bool Bic = false
- Set to true to scale the mask with BicubicResize instead of BilinearResize.
- bool Bic = false
Examples
FixChromaBleedingMod with default settings:
AviSource("Blah.avi") FixChromaBleedingMod(cxShift=-4, cyShift=-4, thr=4.0, strength=0.8, f=true, opacity=1.0, n=false, xysh=flase, Bic=false)
Changelog
Version Date(D/M/Y) Changes
1.35 30/04/2015 - [1] (trick to fix chroma blend/bleed/halo) 1.34 29/04/2015 - [2] 1.32 09/04/2015 - [3] 1.3 22/03/2015 - [4] 1.2 06/02/2014 - [5] 1.1 06/02/2014 - [6] 1.0 31/01/2014 - [7] (initial release)
External Links
Back to External Filters ←