LUTDeCrawl

From Avisynth wiki
Revision as of 14:12, 6 March 2016 by Reel.Deal (Talk | contribs)
Jump to: navigation, search
Abstract
Author Scintilla
Version 10/3/08
Download LUTDeCrawl-20081003.avsi
Category Rainbow & Dot Crawl Removal
License
Discussion

Contents

Description

LUTDeCrawl, a dot crawl removal script by Scintilla.

Requirements

Required Plugins


Syntax and Parameters

LUTDeCrawl(clip input, int "ythresh", int "cthresh", int "maxdiff", int "scnchg", bool "usemaxdiff", bool "mask")


clip  input =
Input clip.


int  ythresh = 10
This determines how close the luma values of the pixel in the previous and next frames have to be for the pixel to be hit.
Higher values (within reason) should catch more dot crawl, but may introduce unwanted artifacts. Probably shouldn't be set above 20 or so.


int  cthresh = 10
This determines how close the chroma values of the pixel in the previous and next frames have to be for the pixel to be hit. Just as with ythresh.


int  maxdiff = 50
This is the maximum difference allowed between the luma values of the pixel in the CURRENT frame and in each of its neighbour frames (so, the upper limit to what fluctuations are considered dot crawl).
Lower values will reduce artifacts but may cause the filter to miss some dot crawl. Obviously, this should never be lower than ythresh. Meaningless if usemaxdiff = false.


int  scnchg = 25
Scene change detection threshold. Any frame with total luma difference between it and the previous/next frame greater than this value will not be processed.


bool  usemaxdiff = true
Whether or not to reject luma fluctuations higher than maxdiff.
Setting this to false is not recommended, as it may introduce artifacts; but on the other hand, it produces a 30% speed boost. Test on your particular source.


bool  mask = false
When set true, the function will return the mask instead of the image.
Use to find the best values of cthresh, ythresh, and maxdiff. (The scene change threshold, scnchg, is not reflected in the mask.


Examples

LUTDeCrawl with default settings:

AviSource("Blah.avi")
LUTDeCrawl(ythresh=10, cthresh=10, maxdiff=50, scnchg=25, usemaxdiff=true, mask=false)


Changelog

  10/3/08:
     - Is this thing on?




Back to External Filters


Personal tools