Rainbow Smooth

From Avisynth wiki
Revision as of 02:10, 2 February 2014 by Reel.Deal (Talk | contribs)

Jump to: navigation, search
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