CC

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Requirements:)
(Documentation update and add archived downloads section.)
 
(12 intermediate revisions by one user not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}}
+
{{FilterCat4|External_filters|Plugins|Restoration_filters|Rainbow & Dot Crawl Removal}}
{{Filter
+
{{Filter3
| {{Author/chiyo-clone}}  
+
|1={{Author/chiyo-clone}}  
| 2004/05/22
+
|2=2004/05/22
| [http://www.chiyoclone.net/dl/cc_20040522.lzh CC]
+
|3=[http://www.chiyoclone.net/dl/cc_20040522.lzh cc_20040522.lzh]
| Rainbow & Dot Crawl Removal
+
|4=Rainbow & Dot Crawl Removal
|
+
|5=[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
* YUY2
+
|6=}}
* YV12
+
 
| GPL
+
|}}
+
<br>
+
 
== 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.<br>
==== Requirements: ====
+
:- AviSynth 2.5.8 or later
+
:- Supported color formats: [[YUY2]], [[YV12]]
+
 
<br>
 
<br>
 +
== Requirements ==
 +
* [x86] [[AviSynth+]] or AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater]
 +
* Supported color formats: [[YUY2]], [[YV12]]
 
<br>
 
<br>
 
+
== [[Script variables|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| |clip| }}
::{{Par|y2|int|8}}
+
:::Input clip.
 +
<br>
 +
::{{Par2|y1|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.
+
 
 +
::::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
::::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.
+
::::Chroma thresholds that control how much cross-color is reduced. Higher values increase strength.
 +
::::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>
::{{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 [[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>
::{{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.  
+
:::Value that represents how much cross-luminance the chrominance signal has introduced.  
 
<br>
 
<br>
::{{Par|ylimit|bool|true}}
+
::{{Par2|ylimit|bool|true}}
:::
+
:::Luma limiter; saturates the result of the luminance calculation.
 +
:::If <code>ylimit=true</code>, it will saturate the result of the luminance calculation using the maximum and minimum values ±1 in the range of 4 pixels wide by 1 pixel high of the original image.
 
<br>
 
<br>
::{{Par|climit|bool|true}}
+
::{{Par2|climit|bool|true}}
:::
+
:::Chroma limiter; saturates the result of the chrominance calculation.
 +
:::If <code>climit=true</code>, the result of the color calculation will be saturated using the maximum and minimum values of the original image within a range of 7 pixels wide by 1 pixel high ±1.
 
<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 ==
   [http://www.chiyoclone.net/dl/cc_20040522.lzh 2004/05/55:]<br>
+
   2004/05/22:
   [http://www.chiyoclone.net/dl/cc_20040315.lzh 2004/03/15:]<br>
+
      - Optimize limiter
   [http://www.chiyoclone.net/dl/cc_20040306.lzh 2004/03/06:]<br>
+
      - Add chroma limiter "climit"<br>
   [http://www.chiyoclone.net/dl/cc_20031217.lzh 2003/12/16:]
+
   2004/03/15:
 +
      - Add limiter "ylimit"
 +
      - Add parameter "yc"<br>
 +
   2004/03/06:
 +
      - Add parameter "interlace"
 +
      - YV12 support
 +
      - AviSynth 2.5 support<br>
 +
   2003/12/17:
 
       - Add parameters y1,y2,c1,c2<br>
 
       - Add parameters y1,y2,c1,c2<br>
   [http://www.chiyoclone.net/dl/cc.lzh 2003/10/13:]
+
   2003/10/13:
 
       - Initial release
 
       - Initial release
 
<br>
 
<br>
 
+
== Archived Downloads ==
== Links ==
+
{| class="wikitable" border="1"; width="600px"
 +
|-
 +
!!width="100px"| Version
 +
!!width="150px"| Download
 +
!!width="150px"| Mirror
 +
|-
 +
!2004/05/22
 +
|[http://www.chiyoclone.net/dl/cc_20040522.lzh cc_20040522.lzh]
 +
|[https://web.archive.org/web/20070119192318if_/http://www.chiyoclone.net:80/cc_20040522.lzh cc_20040522.lzh]
 +
|-
 +
!2004/03/15
 +
|[http://www.chiyoclone.net/dl/cc_20040315.lzh cc_20040315.lzh]
 +
|[https://web.archive.org/web/20070302023549if_/http://www.chiyoclone.net:80/cc_20040315.lzh cc_20040315.lzh]
 +
|-
 +
!2004/03/06
 +
|[http://www.chiyoclone.net/dl/cc_20040306.lzh cc_20040306.lzh]
 +
|[https://web.archive.org/web/20070302061025if_/http://www.chiyoclone.net:80/cc_20040306.lzh cc_20040306.lzh]
 +
|-
 +
!2003/10/13
 +
|[http://www.chiyoclone.net/dl/cc.lzh cc.lzh]
 +
|[https://web.archive.org/web/20070302023458if_/http://www.chiyoclone.net:80/cc.lzh cc.lzh]
 +
|}
 +
* Mirror homepage: http://park14.wakwak.com/~natsume/
 +
<br>
 +
<br>
 +
-----------------------------------------------
 +
'''Back to [[External_filters#Rainbow_.26_Dot_Crawl_Removal|External Filters]] &larr;'''
 +
-----------------------------------------------

Latest revision as of 00:43, 23 May 2021

Abstract
Author chiyo-clone
Version 2004/05/22
Download cc_20040522.lzh
Category Rainbow & Dot Crawl Removal
License GPLv2
Discussion

Contents

[edit] 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.

[edit] Requirements


[edit] Syntax and Parameters

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


clip   =
Input clip.


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; saturates the result of the luminance calculation.
If ylimit=true, it will saturate the result of the luminance calculation using the maximum and minimum values ±1 in the range of 4 pixels wide by 1 pixel high of the original image.


bool  climit = true
Chroma limiter; saturates the result of the chrominance calculation.
If climit=true, the result of the color calculation will be saturated using the maximum and minimum values of the original image within a range of 7 pixels wide by 1 pixel high ±1.


[edit] 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)


[edit] 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


[edit] Archived Downloads

Version Download Mirror
2004/05/22 cc_20040522.lzh cc_20040522.lzh
2004/03/15 cc_20040315.lzh cc_20040315.lzh
2004/03/06 cc_20040306.lzh cc_20040306.lzh
2003/10/13 cc.lzh cc.lzh




Back to External Filters


Personal tools