MiniDeen

From Avisynth wiki
Revision as of 02:05, 2 October 2021 by Reel.Deal (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Abstract
Author dubhater, msg7086
Version beta 2
Download MiniDeen_r6.zip
Category Spatial Denoisers
License MIT for AviSynth+ interface
Discussion Doom9 Forum


Contents

Description

MiniDeen is a spatial denoising filter. It replaces every pixel with the average of its neighbourhood.

This is a port of the "a2d" method from the AviSynth plugin Deen, version beta 2. This is a dual interface port of the VapourSynth plugin MiniDeen by Dubhater.

Requirements


Syntax and Parameters

MiniDeen (clip, int "radius", int "thrY", int "thrUV", int "Y", int "U", int "V")


clip   =
A clip to process. It must have constant format and it must be 8..16 bit with integer samples.


int  radius = 1
Size of the neighbourhood (spatial radius).
  • 1 : 3x3
  • 2 : 5x5
  • 3 : 7x7
  • 4 : 9x9
  • 5 : 11x11
  • 6 : 13x13
  • 7 : 15x15


int  thrY = 10
int  thrUV = 12
Only pixels that differ from the center pixel by less than the threshold will be included in the average. Must be between 2 and 255.
The threshold is scaled internally according to the bit depth.
Smaller values will filter more conservatively.


int  Y = 3
int  U = 3
int  V = 3
Whether a plane is to be filtered.
  • 1 : Do not touch, leaving garbage data
  • 2 : Copy from origin
  • 3 : Process



Examples

  • MiniDeen with default settings:
AviSource("Blah.avi")
MiniDeen(radius=1, thrY=10, thrUV=12, Y=3, U=3, V=3)


Changelog

Version      Date            Changes
r6 2020/03/09 - VapourSynth: remove plugin version from VS namespace (unintended behavior) Use minideen.MiniDeen() now. r5 2020/03/09 - Fix incorrect pixel type check r4 2019/09/11 - Use SIMD as much as possible, improving speed. r3 2019/09/11 - Fix memory misalignment issue on legacy AVS. r1 2019/07/12 - Initial release


Archived Downloads

See GitHub release section.


External Links

  • GitHub - MiniDeen for VapourSynth by Dubhater.




Back to External Filters

Personal tools