CC

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Syntax and Parameters)
Line 20: Line 20:
  
 
== Syntax and Parameters ==
 
== Syntax and Parameters ==
:{{Template:FuncDef|cc(clip, int "y1", int "y2", int "c1", int "c2", bool "interlaced", float "yc", bool "ylimit", bool "climit")}}
+
:{{Template:FuncDef|cc (''clip'', ''int'' "y1", ''int'' "y2", ''int'' "c1", ''int'' "c2", ''bool'' "interlaced", ''float'' "yc", ''bool'' "ylimit", ''bool'' "climit")}}
 
<br>
 
<br>
::{{Par|y1|int|8}}
+
::{{Par2|y1|int|8}}
::{{Par|y2|int|8}}
+
::{{Par2|y2|int|8}}
 
:::Range: 0 - 256
 
:::Range: 0 - 256
  
 
::::y1 and y2 are both luma thresholds that control how much cross-luminance is reduced. Higher values increase strength.
 
::::y1 and y2 are both luma thresholds that control how much cross-luminance is reduced. Higher values increase strength.
 
<br>
 
<br>
::{{Par|c1|int|12}}
+
::{{Par2|c1|int|12}}
::{{Par|c2|int|112}}
+
::{{Par2|c2|int|112}}
 
:::Range: 0 - 256
 
:::Range: 0 - 256
  
Line 35: Line 35:
 
::::The value of c1 should always be less than c2. For c2 it's recommended to use higher values.
 
::::The value of c1 should always be less than c2. For c2 it's recommended to use higher values.
 
<br>
 
<br>
::{{Par|interlaced|bool|true}}
+
::{{Par2|interlaced|bool|true}}
  
 
::::When set to false, input will be treated as progressive. This only applies to YV12.
 
::::When set to false, input will be treated as progressive. This only applies to YV12.
 
<br>
 
<br>
::{{Par|yc|float|2.0}}
+
::{{Par2|yc|float|2.0}}
  
 
::::yc is the value that represents how much cross-luminance the chrominance signal has introduced.  
 
::::yc is the value that represents how much cross-luminance the chrominance signal has introduced.  
 
<br>
 
<br>
::{{Par|ylimit|bool|true}}
+
::{{Par2|ylimit|bool|true}}
 
:::Luma limiter
 
:::Luma limiter
 
<br>
 
<br>
::{{Par|climit|bool|true}}
+
::{{Par2|climit|bool|true}}
 
:::Chroma limiter
 
:::Chroma limiter
 
<br>
 
<br>

Revision as of 19:48, 12 January 2014

Abstract
Author chiyo-clone
Version 2004/05/22
Download CC
Category Rainbow & Dot Crawl Removal
Requirements
  • YUY2
  • YV12
License GPLv2
Discussion


Contents

Description

Noise reduction filter which reduces cross-color (rainbows) and cross-luminance (dot crawl) artifacts. It works by temporally blending only static parts of a frame.

Requirements:

- AviSynth 2.5.8 or later
- Supported color formats: YUY2, YV12



Syntax and Parameters

cc (clip, int "y1", int "y2", int "c1", int "c2", bool "interlaced", float "yc", bool "ylimit", bool "climit")


int  y1 = 8
int  y2 = 8
Range: 0 - 256
y1 and y2 are both luma thresholds that control how much cross-luminance is reduced. Higher values increase strength.


int  c1 = 12
int  c2 = 112
Range: 0 - 256
c1 and c2 are both chroma thresholds that control how much cross-color is reduced. Higher values increase strength.
The value of c1 should always be less than c2. For c2 it's recommended to use higher values.


bool  interlaced = true
When set to false, input will be treated as progressive. This only applies to YV12.


float  yc = 2.0
yc is the value that represents how much cross-luminance the chrominance signal has introduced.


bool  ylimit = true
Luma limiter


bool  climit = true
Chroma limiter


Examples

AviSource("Blah.avi")
cc()


Changelog

  2004/05/22:
     - Optimize limiter
     - Add chroma limiter "climit"
2004/03/15: - Add limiter "ylimit" - Add parameter "yc"
2004/03/06: - Add parameter "interlace" - YV12 support - AviSynth 2.5 support
2003/12/17: - Add parameters y1,y2,c1,c2
2003/10/13: - Initial release





Back to External Filters


Personal tools