MiniDeen

From Avisynth wiki
Revision as of 18:18, 23 March 2020 by Reel.Deal (talk | contribs)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Abstract
Author dubhater, msg7086
Version beta 2
Download MiniDeen_r6.zip
Category Spatial Denoisers
License MIT for AviSynth+ interface
Discussion Doom9 Forum


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


deen (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.


  • GitHub - MiniDeen for VapourSynth by Dubhater.




Back to External Filters