F3kgrainPlus

From Avisynth wiki
Jump to: navigation, search
Abstract
Author reel.deal, 06_taro
Version v1.0.0
Download f3kgrainplus.avsi
Category Effects
License
Discussion

Contents

[edit] Description

Fast luma-adaptive grain generator for AviSynth+.

[edit] Requirements

[edit] Required Plugins

Latest version of the following plugins are recommended unless stated otherwise.


[edit] Syntax and Parameters

f3kgrainPlus (clip input, int "luma", int "chroma", int "mode", int "temp", int "adapt", float "sigma")


clip  input =
Input clip; all 8-16 bit Y/YUV colorspaces are supported, except YV411.


int  luma = 64
Luma grain strength; 0 disables processing, 4096 is the maximum value (heavy grain!).


int  chroma = 64
Chroma grain strength; 0 disables processing, 4096 is the maximum value (heavy and colorful grain!).


int  mode = 1
random_algo_grain mode:
  • 0 - old algorithm,
  • 1 - uniform distribution,
  • 2 - Gaussian(normal) distribution.


int  temp = 50
Temporal stabilization for grain (the higher, the more calm).
Range: 0 to 100
  • 0 = nervous
  • 50 = default (half and half)
  • 100 = static


int  adapt = 64
Brightness threshold for adaptive grain mask.
Range: -1 to 255
  • -1 = off
  • 0 = input
  • 64 = default
  • 255 = invert
The higher, the less grain in dark areas & the more grain in bright areas.


float  sigma = 1.0
Standard deviation of Gaussian distribution mode.


[edit] Examples

f3kgrainPlus with default settings:

AviSource("Blah.avi")
f3kgrainPlus(luma=64, chroma=64, mode=1, temp=50, adapt=64, sigma=1.0)


[edit] Changelog

Version      Date            Changes
1.0.0        2022/12/09      - Based on f3kgrain v0.4
                             - Add native high bitdepth support
                             - Use neo_f3kdb
                             - Remove dither dependency and lsb parameter
                             - Cosmetics


[edit] External Links




Back to External Filters

Personal tools