SmoothUV2

From Avisynth wiki
Revision as of 03:39, 19 May 2020 by Reel.Deal (Talk | contribs)

Jump to: navigation, search
Abstract
Author dubhater, asd-g
Version v2.1.0
Download SmoothUV2-2.1.0.7z
Category Spatial Denoisers
License GPLv2
Discussion

Contents

Description

SmoothUV2 is a spatial derainbow filter. This filter performs structure-preserving smoothing (blurring) on the U/V (chrominance or colour) information of the image, leaving Y (luminance) intact. It was created in an attempt to reduce the appearance of "rainbows" (cross-colour artifacts) near lines in some cel animation.


This version is a port of the VapourSynth version, changes to the original SmoothUV:

  • Only SmoothUV() implemented
  • "fields" parameter renamed to "interlaced"
  • Additional colorspace support
  • x64 bit version


Requirements


Syntax and Parameters

SmoothUV (clip, int "radius", int "threshold", bool "interlaced")


clip   =
A clip to process. It must have constant format and it must be 8 bit YUV.


int  radius = 3
Radius. Must be between 1 and 7.
Larger values smooth more.
Default: 3


int  threshold = 270
Threshold. Must be between 0 and 450.
Larger values smooth more.
Default: 270


bool  field =
Determine if the frame is interlaced.
Default: auto detect based on Is.FiledBased().
False is for progressive input, true is for interlaced input.


Examples

SmoothUV with default settings:

AviSource("Blah.avi")
SmoothUV(radius=3, threshold=270)


Changelog

Version      Date            Changes


External Links

  • GitHub - Source code repository.




Back to External Filters

Personal tools