Rainbow Smooth

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Required Filters:)
m (Syntax and Parameters)
Line 26: Line 26:
 
::{{Par|radius|int|3}}
 
::{{Par|radius|int|3}}
 
:::Range: 0 - 7
 
:::Range: 0 - 7
::::The smoothing radius.
+
::::The smoothing radius of SmoothUV.
 
<br>
 
<br>
 
::{{Par|lthresh|int|0}}
 
::{{Par|lthresh|int|0}}
Line 35: Line 35:
 
:::::If you set lthresh to 0, you disable the basic chroma smoothing and use only the chroma-smoothing on edges.
 
:::::If you set lthresh to 0, you disable the basic chroma smoothing and use only the chroma-smoothing on edges.
 
<br>
 
<br>
 +
 
== Examples ==
 
== Examples ==
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")

Revision as of 14:45, 21 November 2013

Abstract
Author MOmonster
Version 18-07-07
Download rainbow_smooth
Category Rainbow & Dot Crawl Removal
Requirements
  • YV12
License
Discussion


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
- Supported color formats: YV12
Required Filters:


Syntax and Parameters

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


radius int = 3
Range: 0 - 7
The smoothing radius of SmoothUV.


lthresh int = 0
hthresh int = 220
Range: 0 - 255
The low and high smoothing threshold.
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).
If you set lthresh to 0, you disable the basic chroma smoothing and use only the chroma-smoothing on edges.


Examples

AviSource("Blah.avi")
rainbow_smooth()


Changelog

  18/07/07:
     - Initial release


Links

Doom9 Forum - Rainbow_smooth discussion.
Personal tools