CC

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Syntax and Parameters)
(Syntax and Parameters)
Line 3: Line 3:
 
| {{Author/chiyo-clone}}  
 
| {{Author/chiyo-clone}}  
 
| 2004/05/22
 
| 2004/05/22
| [http://www.chiyoclone.net/dl/cc_20040522.lzh CC]
+
| [http://www.chiyoclone.net/dl/cc_20040522.lzh cc_20040522.lzh]
 
| Rainbow & Dot Crawl Removal
 
| Rainbow & Dot Crawl Removal
 
|
 
|
Line 13: Line 13:
 
== Description ==
 
== 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.
 
: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: ====
+
<br>
 +
== Requirements: ==
 
:- AviSynth 2.5.8 or later
 
:- AviSynth 2.5.8 or later
 
:- Supported color formats: [[YUY2]], [[YV12]]
 
:- Supported color formats: [[YUY2]], [[YV12]]
 
<br>
 
<br>
<br>
 
 
 
== 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")}}
Line 26: Line 25:
 
:::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.
+
::::Luma thresholds that control how much cross-luminance is reduced. Higher values increase strength.
 
<br>
 
<br>
 
::{{Par2|c1|int|12}}
 
::{{Par2|c1|int|12}}
Line 32: Line 31:
 
:::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.
+
::::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.
+
::::The value of {{Template:FuncDef|c1}} should always be less than {{Template:FuncDef|c2}}. For {{Template:FuncDef|c2}} it's recommended to use higher values.
 
<br>
 
<br>
 
::{{Par2|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 [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|progressive]]. This only applies to YV12.
 
<br>
 
<br>
 
::{{Par2|yc|float|2.0}}
 
::{{Par2|yc|float|2.0}}
  
::::yc is the value that represents how much cross-luminance the chrominance signal has introduced.  
+
::::Value that represents how much cross-luminance the chrominance signal has introduced.  
 
<br>
 
<br>
 
::{{Par2|ylimit|bool|true}}
 
::{{Par2|ylimit|bool|true}}
:::Luma limiter
+
 
 +
::::Luma limiter
 
<br>
 
<br>
 
::{{Par2|climit|bool|true}}
 
::{{Par2|climit|bool|true}}
:::Chroma limiter
+
 
 +
::::Chroma limiter
 
<br>
 
<br>
  
 
== Examples ==
 
== Examples ==
 +
cc with default values.
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
  cc()
+
  cc(y1=8, y2=8, c1=12, c2=112, interlaced=true, yc=2.0, ylimit=true, climit=true)
 
<br>
 
<br>
 
== Changelog ==
 
== Changelog ==

Revision as of 20:06, 12 January 2014

Abstract
Author chiyo-clone
Version 2004/05/22
Download cc_20040522.lzh
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
Luma thresholds that control how much cross-luminance is reduced. Higher values increase strength.


int  c1 = 12
int  c2 = 112
Range: 0 - 256
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
Value that represents how much cross-luminance the chrominance signal has introduced.


bool  ylimit = true
Luma limiter


bool  climit = true
Chroma limiter


Examples

cc with default values.

AviSource("Blah.avi")
cc(y1=8, y2=8, c1=12, c2=112, interlaced=true, yc=2.0, ylimit=true, climit=true)


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