Caf

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(redirect for convenient searching)
 
(caf (Chromatic Aberration Fixer.))
 
Line 1: Line 1:
#REDIRECT [[External_filters#Chroma_correction]]
+
{{FilterCat4|External_filters|Scripts|Restoration_filters|Chroma correction}}
{{FilterCat|External_filters|Restoration_filters|Chroma correction}}
+
{{Filter3
 +
|Torchlight
 +
|
 +
|3=[http://pastebin.com/raw.php?i=Mt2M4CBB caf.avsi]
 +
|4=Chroma Correction
 +
|5=
 +
|6=}}
 +
== Description ==
 +
[http://en.wikipedia.org/wiki/Chromatic_aberration Chromatic Aberration] Fixer.
 +
<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>
 +
*[[aWarpSharp2]]
 +
*[[MaskTools2]]
 +
<br>
 +
== [[Script variables|Syntax and Parameters]] ==
 +
:{{Template:FuncDef|caf (clip src, float "rx", float "ry", float "bx", float "by", int "warp", bool "clamp")}}
 +
<br>
 +
::{{Par2| |clip| }}
 +
:::Input clip.
 +
<br>
 +
::{{Par2|rx|float|-1.5}}
 +
::{{Par2|ry|float|rx}}
 +
::{{Par2|bx|float|-rx}}
 +
::{{Par2|by|float|bx}}
 +
:::{{Template:FuncDef3|rx}}/{{Template:FuncDef3|ry}} adjust how much to resize the red plane; {{Template:FuncDef3|bx}}/{{Template:FuncDef3|by}} is the same, but for blue.
 +
<br>
 +
::{{Par2|warp|int|4}}
 +
:::{{Template:FuncDef3|warp}} adjusts warpsharp strength on red/blue planes. 0 disables warping
 +
<br>
 +
::{{Par2|clamp|bool|true}}
 +
:::{{Template:FuncDef3|clamp}} sets whether the chroma (after converting back to YV12) should be limited by the original chroma; this prevents introducing chromatic aberration on, for example, hardsubbed text without chromatic aberration.
 +
<br>
 +
== Examples ==
 +
caf with default settings:
 +
[[AviSource]]("Blah.avi")
 +
caf()
 +
 
 +
<br>
 +
== Changelog ==
 +
Version      Date(D/M/Y)      Changes<br>
 +
              15/04/2014      - Inital release
 +
<br>
 +
== External Links ==
 +
<br>
 +
<br>
 +
-----------------------------------------------
 +
'''Back to [[External_filters#Chroma_correction|External Filters]] &larr;'''

Latest revision as of 06:37, 6 December 2015

Abstract
Author Torchlight
Version
Download caf.avsi
Category Chroma Correction
License
Discussion

Contents

[edit] Description

Chromatic Aberration Fixer.

[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

caf (clip src, float "rx", float "ry", float "bx", float "by", int "warp", bool "clamp")


clip   =
Input clip.


float  rx = -1.5
float  ry = rx
float  bx = -rx
float  by = bx
rx/ry adjust how much to resize the red plane; bx/by is the same, but for blue.


int  warp = 4
warp adjusts warpsharp strength on red/blue planes. 0 disables warping


bool  clamp = true
clamp sets whether the chroma (after converting back to YV12) should be limited by the original chroma; this prevents introducing chromatic aberration on, for example, hardsubbed text without chromatic aberration.


[edit] Examples

caf with default settings:

AviSource("Blah.avi")
caf()


[edit] Changelog

Version      Date(D/M/Y)      Changes
15/04/2014 - Inital release


[edit] External Links




Back to External Filters

Personal tools