RemoveGrain v1.0b/DenoiseSharpen/DenoiseSharpen

From Avisynth wiki
Revision as of 05:14, 20 January 2014 by Reel.Deal (Talk | contribs)

Jump to: navigation, search

Back to DenoiseSharpen

Contents

Description

A spatial denoising and sharpening function. DenoiseSharpen has 22 valid modes but only 13 actually do any processing.


Requirements

- Progressive input only
- Supported color formats: YUY2, YV12


Syntax and Parameters

DenoiseSharpen (clip, int "mode", int "modeU", int "modeV", int "strength", int "strengthU", int "strengthV", bool "planar")


int  mode = 2
int  modeU = mode
int  modeV = modeU
Independently control the processing mode for each plane.
  • -1 : Bypass - input plane is trashed thus faster than mode 1
  • 0 : Copy - input plane is left intact
  • 1 :
  • 2 : Default
  • 3 :
  • 4 :
  • 5 :
  • 6 :
  • 7 :
  • 8 :
  • 9 :
  • 10 : Copy - input plane is left intact
  • 11 : Copy - input plane is left intact
  • 12 : Copy - input plane is left intact
  • 13 : Copy - input plane is left intact
  • 14 : Copy - input plane is left intact
  • 15 : Copy - input plane is left intact
  • 16 :
  • 17 :
  • 18 : Copy - input plane is left intact
  • 19 : Copy - input plane is left intact
  • 20 : Copy - input plane is left intact
  • 21 :
  • 22 :
By default if modeU is not set it defaults to the value of mode. If modeV is not set it defaults to the value of modeU


int  strength = 1
int  strengthU = strength
int  strengthV = strengthU
Independently control the strength for each plane.
  • 0 : Sharpen with the full length. This may create artifacts.
  • 1 : Sharpen with half the length. This may avoid artifacts.
  • 2 : Sharpen with 1/4 of the length. This value doesn't make much sense.
By default if strengthU is not set it defaults to the value of strength. If strengthV is not set it defaults to the value of strengthU


bool  planar = false
See SSETools Interleaved2Planar.


Examples

DenoiseSharpen with default values:

AviSource("Blah.avi")
DenoiseSharpen(mode=2, modeY=2, modeV=2, strength=1, strengthU=1, strengthV=1, planar=false)


Links





Back to DenoiseSharpen

Personal tools