CC: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
Syntax and Parameters
Documentation update and add archived downloads section.
 
(5 intermediate revisions by the same 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_20040522.lzh]
|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
 
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
|}}
<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>
<br>
<br>
== Requirements: ==
== Requirements ==
:- AviSynth 2.5.8 or later
* [x86] [[AviSynth+]] or AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater]
:- Supported color formats: [[YUY2]], [[YV12]]
* Supported color formats: [[YUY2]], [[YV12]]
<br>
<br>
== Syntax and Parameters ==
== [[Script variables|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>
::{{Par2| |clip| }}
:::Input clip.
<br>
<br>
::{{Par2|y1|int|8}}
::{{Par2|y1|int|8}}
Line 39: Line 39:
<br>
<br>
::{{Par2|yc|float|2.0}}
::{{Par2|yc|float|2.0}}
 
:::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; saturates the result of the luminance calculation.
::::Luma limiter
:::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>
::{{Par2|climit|bool|true}}
::{{Par2|climit|bool|true}}
 
:::Chroma limiter; saturates the result of the chrominance calculation.
::::Chroma limiter
:::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.
cc with default values:
  [[AviSource]]("Blah.avi")
  [[AviSource]]("Blah.avi")
  cc(y1=8, y2=8, c1=12, c2=112, interlaced=true, yc=2.0, ylimit=true, climit=true)
  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/22:]
   2004/05/22:
       - Optimize limiter
       - Optimize limiter
       - Add chroma limiter "climit"<br>
       - Add chroma limiter "climit"<br>
   [http://www.chiyoclone.net/dl/cc_20040315.lzh 2004/03/15:]
   2004/03/15:
       - Add limiter "ylimit"
       - Add limiter "ylimit"
       - Add parameter "yc"<br>
       - Add parameter "yc"<br>
   [http://www.chiyoclone.net/dl/cc_20040306.lzh 2004/03/06:]
   2004/03/06:
       - Add parameter "interlace"
       - Add parameter "interlace"
       - YV12 support
       - YV12 support
       - AviSynth 2.5 support<br>
       - AviSynth 2.5 support<br>
   [http://www.chiyoclone.net/dl/cc_20031217.lzh 2003/12/17:]
   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 ==
{| 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>
<br>
<br>

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

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


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.


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


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