F3kgrainPlus

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FilterCat5|External_filters|Scripts|Adjustment_filters|Effects|Deep_color_tools}} {{Filter3 |1={{Author/06_taro}} |2=v0.4 |3=[https://github.com/Reel-Deal/AviSynthPlus-Scrip...")
 
m (typo)
 
Line 1: Line 1:
 
{{FilterCat5|External_filters|Scripts|Adjustment_filters|Effects|Deep_color_tools}}
 
{{FilterCat5|External_filters|Scripts|Adjustment_filters|Effects|Deep_color_tools}}
 
{{Filter3
 
{{Filter3
|1={{Author/06_taro}}
+
|1=reel.deal, {{Author/06_taro}}
|2=v0.4
+
|2=v1.0.0
 
|3=[https://github.com/Reel-Deal/AviSynthPlus-Scripts/blob/main/f3kgrainplus.avsi f3kgrainplus.avsi]
 
|3=[https://github.com/Reel-Deal/AviSynthPlus-Scripts/blob/main/f3kgrainplus.avsi f3kgrainplus.avsi]
 
|4=Effects
 
|4=Effects

Latest revision as of 18:47, 9 December 2022

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