Rainbow Smooth

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}} {{Filter | MOmonster | 18-07-07 | rainbow_smooth | Rainbow & Dot Crawl Removal | * YV12 | |}} <...")
 
m (Required Filters:)
Line 18: Line 18:
 
===== Required Filters: =====
 
===== Required Filters: =====
 
:*[[MaskTools2]] 2.0a48+
 
:*[[MaskTools2]] 2.0a48+
:* SmoothUV
+
:* [http://avisynth.nl/users/fizick/docs/english/externalfilters/smoothuv.htm SmoothUV]
 
<br>
 
<br>
  

Revision as of 14:13, 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.


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