Rainbow Smooth

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Description)
(Format)
Line 1: Line 1:
 
{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}}
 
{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}}
{{Filter
+
{{Filter2
 
| MOmonster  
 
| MOmonster  
| 18-07-07
+
| 2007/07/18
| rainbow_smooth
+
| [http://avisynth.nl/images/Rainbow_smooth.avsi rainbow_smooth.avsi]
 
| Rainbow & Dot Crawl Removal
 
| Rainbow & Dot Crawl Removal
|
 
* YV12
 
 
|
 
|
 
|}}
 
|}}
 
<br>
 
<br>
 
== Description ==
 
== Description ==
:Rainbow_smooth is a small spatial derainbowing function. It uses SmoothUV to smooth out chroma and edge masking to reduce the colour bleeding.
+
:rainbow_smooth is a small spatial derainbowing function. It uses [[SmoothUV/SmoothUV|SmoothUV]] to smooth out chroma and edge masking to reduce the colour bleeding.
==== Requirements: ====
+
<br>
 +
== Requirements ==
 
:- AviSynth 2.5.8 or later
 
:- AviSynth 2.5.8 or later
 +
:- [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only
 
:- Supported color formats: [[YV12]]
 
:- Supported color formats: [[YV12]]
:- [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only
 
  
===== Required Filters: =====
+
==== Required Plugins: ====
 
:*[[MaskTools2]] 2.0a48+
 
:*[[MaskTools2]] 2.0a48+
:* [http://avisynth.nl/users/fizick/docs/english/externalfilters/smoothuv.htm SmoothUV]
+
:* [[SmoothUV]]
 
<br>
 
<br>
 
 
== Syntax and Parameters ==
 
== Syntax and Parameters ==
:{{Template:FuncDef|rainbow_smooth (clip orig, int "radius", "lthresh", "hthresh")}}
+
:{{Template:FuncDef|rainbow_smooth (''clip'' orig, ''int'' "radius", ''int'' "lthresh", ''int'' "hthresh")}}
 
<br>
 
<br>
::{{Par|radius|int|3}}
+
::{{Par2|orig|clip| }}
:::Range: 0 - 7
+
::::Input clip.
::::The smoothing radius of SmoothUV.
+
 
<br>
 
<br>
::{{Par|lthresh|int|0}}
+
::{{Par2|radius|int|3}}
::{{Par|hthresh|int|220}}
+
:::Range: 1 to 7
:::Range: 0 - 255
+
::::The smoothing radius of [[SmoothUV/SmoothUV|SmoothUV]].
::::The low and high smoothing threshold.
+
<br>
:::::Use smaller values for safer processing. Masking is only used for hthresh, so if you set lthresh greater than hthresh, lthresh will be the overall thresh and no masking will be used (fastest).
+
::{{Par2|lthresh|int|0}}
:::::If you set lthresh to 0, you disable the basic chroma smoothing and use only the chroma-smoothing on edges.
+
::{{Par2|hthresh|int|220}}
 +
:::Range: 0 to 255
 +
::::The low and high smoothing thresholds of [[SmoothUV/SmoothUV|SmoothUV]].
 +
:::::Use smaller values for safer processing. Masking is only used for {{Template:FuncDef|hthresh}},  
 +
:::::so if you set {{Template:FuncDef|lthresh}} greater than {{Template:FuncDef|hthresh}}, {{Template:FuncDef|lthresh}} will be the overall threshold and no masking will be used (fastest).
 +
:::::If you set {{Template:FuncDef|lthresh}} to 0, you disable the basic chroma smoothing and use only the chroma-smoothing on edges.
 
<br>
 
<br>
 
 
== Examples ==
 
== Examples ==
 +
rainbow_smooth with default settings:
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
  rainbow_smooth()
+
  rainbow_smooth(radius=3, lthresh=0, hthresh=220)
 
<br>
 
<br>
 
== Changelog ==
 
== Changelog ==
  18/07/07:
+
Version        Date            Changes<br>
      - Initial release
+
2007/07/18      2007/07/18      - Initial release
 
<br>
 
<br>
 
==Links==
 
==Links==
 
:[http://forum.doom9.org/showthread.php?t=128003 Doom9 Forum] - Rainbow_smooth discussion.
 
:[http://forum.doom9.org/showthread.php?t=128003 Doom9 Forum] - Rainbow_smooth discussion.

Revision as of 02:10, 2 February 2014

Abstract
Author MOmonster
Version 2007/07/18
Download rainbow_smooth.avsi
Category Rainbow & Dot Crawl Removal
License


Contents

Description

rainbow_smooth is a small spatial derainbowing function. It uses SmoothUV to smooth out chroma and edge masking to reduce the colour bleeding.


Requirements

- AviSynth 2.5.8 or later
- Progressive input only
- Supported color formats: YV12

Required Plugins:


Syntax and Parameters

rainbow_smooth (clip orig, int "radius", int "lthresh", int "hthresh")


clip  orig =
Input clip.


int  radius = 3
Range: 1 to 7
The smoothing radius of SmoothUV.


int  lthresh = 0
int  hthresh = 220
Range: 0 to 255
The low and high smoothing thresholds of SmoothUV.
Use smaller values for safer processing. Masking is only used for hthresh,
so if you set lthresh greater than hthresh, lthresh will be the overall threshold and no masking will be used (fastest).
If you set lthresh to 0, you disable the basic chroma smoothing and use only the chroma-smoothing on edges.


Examples

rainbow_smooth with default settings:

AviSource("Blah.avi")
rainbow_smooth(radius=3, lthresh=0, hthresh=220)


Changelog

Version         Date            Changes
2007/07/18 2007/07/18 - Initial release


Links

Doom9 Forum - Rainbow_smooth discussion.
Personal tools