CC

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m
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}}
 
::{{Par|y1|int|8}}
 
::{{Par|y2|int|8}}
 
::{{Par|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}}
 
::{{Par|c1|int|12}}
 
::{{Par|c2|int|112}}
 
::{{Par|c2|int|112}}
 
:::Range: 0 - 256
 
:::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. It's recommended to use higher values with c2.
+
::::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.
 
<br>
 
<br>
 
::{{Par|interlaced|bool|true}}
 
::{{Par|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}}
 
::{{Par|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}}
 
::{{Par|ylimit|bool|true}}
Line 45: Line 49:
 
:::
 
:::
 
<br>
 
<br>
 
  
 
== Examples ==
 
== Examples ==

Revision as of 17:44, 25 November 2013

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")


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


c1 int = 12
c2 int = 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.


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


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


ylimit bool = true


climit bool = true


Examples

AviSource("Blah.avi")
cc()


Changelog

  2004/05/55:
2004/03/15:
2004/03/06:
2003/12/16: - Add parameters y1,y2,c1,c2
2003/10/13: - Initial release


Links

Personal tools