FixChromaBleedingMod
From Avisynth wiki
(Difference between revisions)
m (→Syntax and Parameters: typo) |
(a bit more info) |
||
Line 2: | Line 2: | ||
{{Filter3 | {{Filter3 | ||
|AmjadSONY | |AmjadSONY | ||
− | | | + | |1.35 |
|3=[http://pastebin.com/raw.php?i=gbmD61RF FixChromaBleedingMod.avsi] | |3=[http://pastebin.com/raw.php?i=gbmD61RF FixChromaBleedingMod.avsi] | ||
|4=Chroma Correction | |4=Chroma Correction | ||
Line 29: | Line 29: | ||
::{{Par2|cxShift|int|-4}} | ::{{Par2|cxShift|int|-4}} | ||
::{{Par2|cyShift|int|-4}} | ::{{Par2|cyShift|int|-4}} | ||
− | :::Horizontal and vertical chroma shift; vertical shift is ignored when <code>{{Template:FuncDef|sysh}}=false</code> (default). | + | :::Horizontal and vertical chroma shift; vertical shift is ignored when <code>{{Template:FuncDef|sysh}}=false</code> (default). |
+ | :::*When <code>{{Template:FuncDef|sysh}}=false</code>, positive values shift chroma to the right, negative values shift to left. | ||
+ | :::*When <code>{{Template:FuncDef|sysh}}=true</code>, positive values shift chroma to the left/up, negative values shift right/down. | ||
<br> | <br> | ||
::{{Par2|thr|float|4.0}} | ::{{Par2|thr|float|4.0}} | ||
− | ::: | + | :::Masking threshold, higher values treat more areas as color bleed. |
<br> | <br> | ||
::{{Par2|strength|float|0.8}} | ::{{Par2|strength|float|0.8}} | ||
Line 38: | Line 40: | ||
<br> | <br> | ||
::{{Par2|f|bool|true}} | ::{{Par2|f|bool|true}} | ||
− | :::Set to true to enable fast processing on the mask clip (default). | + | :::Set to <tt>true</tt> to enable fast processing on the mask clip (default). |
<br> | <br> | ||
::{{Par2|opacity|float|1.0}} | ::{{Par2|opacity|float|1.0}} | ||
Line 44: | Line 46: | ||
<br> | <br> | ||
::{{Par2|n|bool|false}} | ::{{Par2|n|bool|false}} | ||
− | :::Set to true to blur the mask clip. | + | :::Set to <tt>true</tt> to blur the mask clip. |
<br> | <br> | ||
::{{Par2|xysh|bool|false}} | ::{{Par2|xysh|bool|false}} | ||
− | :::Set to true | + | :::Set to <tt>true</tt> to shift chroma with <tt>[[ChromaShiftSP]]</tt>. |
<br> | <br> | ||
::{{Par2|Bic|bool|false}} | ::{{Par2|Bic|bool|false}} | ||
− | :::Set to true to scale the mask with [[BicubicResize]] instead of [[BilinearResize]]. | + | :::Set to <tt>true</tt> to scale the mask with [[BicubicResize]] instead of [[BilinearResize]]. This parameter is ignored when <code>{{Template:FuncDef|f}}=true</code>. |
<br> | <br> | ||
Revision as of 15:04, 15 December 2015
Abstract | |
---|---|
Author | AmjadSONY |
Version | 1.35 |
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).- When
sysh=false
, positive values shift chroma to the right, negative values shift to left. - When
sysh=true
, positive values shift chroma to the left/up, negative values shift right/down.
- When
- Horizontal and vertical chroma shift; vertical shift is ignored when
- int cxShift = -4
- float thr = 4.0
- Masking threshold, higher values treat more areas as color bleed.
- float thr = 4.0
- float strength = 0.8
- Saturation strength in clip to be merged 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 to shift chroma with ChromaShiftSP.
- bool xysh = false
- bool Bic = false
- Set to true to scale the mask with BicubicResize instead of BilinearResize. This parameter is ignored when
f=true
.
- Set to true to scale the mask with BicubicResize instead of BilinearResize. This parameter is ignored when
- 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 ←