F3kgrain

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m
m (Requirements)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{FilterCat4|External_filters|Scripts|Adjustment_filters|Effects}}
+
{{FilterCat5|External_filters|Scripts|Adjustment_filters|Effects|Deep_color_tools}}
 
{{Filter3
 
{{Filter3
 
|{{Author/06_taro}}
 
|{{Author/06_taro}}
 
|v0.4
 
|v0.4
|3=[//www.nmm-hd.org/upload/get~ElhZlazJbsQ/f3kgrain_v0.4.avsi f3kgrain_v0.4.avsi]
+
|3=[http://web.archive.org/web/20131111114900/http://www.nmm-hd.org/upload/get~ElhZlazJbsQ/f3kgrain_v0.4.avsi f3kgrain_v0.4.avsi]
 
|4=Effects
 
|4=Effects
 
|5=
 
|5=
Line 12: Line 12:
 
<br>
 
<br>
 
== Requirements ==
 
== Requirements ==
* [http://forum.doom9.org/showthread.php?t=168764 AviSynth 2.6.0 Alpha5] or later
+
* [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6]
 +
* [x64]: [[AviSynth+]]
 
* [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only  
 
* [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only  
 
* Supported color formats: [[YV12]], [[YV16]], [[YV24]]
 
* Supported color formats: [[YV12]], [[YV16]], [[YV24]]
Line 18: Line 19:
 
==== Required Plugins ====
 
==== Required Plugins ====
 
Latest version of the following plugins are recommended unless stated otherwise.<br>
 
Latest version of the following plugins are recommended unless stated otherwise.<br>
*[//forum.doom9.org/showpost.php?p=1386559&postcount=3 Dither]
+
*[[Dither_tools|Dither]]
*[//forum.doom9.org/showthread.php?t=161411 f3kdb v1.5.1] (v2.0pre2 is still considered experimental)
+
*[[f3kdb]]
 
*[[MaskTools2]]
 
*[[MaskTools2]]
*<strike>[[RemoveGrain v1.0b/RemoveGrain|RemoveGrain]] - part of the [[RemoveGrain v1.0b]] package.</strike>
 
 
*[[RgTools]] - recommended drop-in replacement for RemoveGrain!
 
*[[RgTools]] - recommended drop-in replacement for RemoveGrain!
 
<br>
 
<br>
Line 93: Line 93:
 
|-
 
|-
 
|v0.4
 
|v0.4
|[//www.nmm-hd.org/upload/get~ElhZlazJbsQ/f3kgrain_v0.4.avsi f3kgrain_v0.4.avsi]
+
|<strike>[//www.nmm-hd.org/upload/get~ElhZlazJbsQ/f3kgrain_v0.4.avsi f3kgrain_v0.4.avsi]</strike>
 
|[//web.archive.org/web/20131111114900/http://www.nmm-hd.org/upload/get~ElhZlazJbsQ/f3kgrain_v0.4.avsi f3kgrain_v0.4.avsi]
 
|[//web.archive.org/web/20131111114900/http://www.nmm-hd.org/upload/get~ElhZlazJbsQ/f3kgrain_v0.4.avsi f3kgrain_v0.4.avsi]
 
|-
 
|-
Line 101: Line 101:
 
|-
 
|-
 
|v0.2
 
|v0.2
|[//www.nmm-hd.org/newbbs/bbc_download.php?p=5707 f3kgrain_v0.2.avsi]
+
|<strike>[//www.nmm-hd.org/newbbs/bbc_download.php?p=5707 f3kgrain_v0.2.avsi]</strike>
 
|[//web.archive.org/web/20140704144337/https://www.nmm-hd.org/newbbs/bbc_download.php?p=5707 f3kgrain_v0.2.avsi]
 
|[//web.archive.org/web/20140704144337/https://www.nmm-hd.org/newbbs/bbc_download.php?p=5707 f3kgrain_v0.2.avsi]
 
|-
 
|-

Latest revision as of 18:15, 10 September 2020

Abstract
Author 06_taro
Version v0.4
Download f3kgrain_v0.4.avsi
Category Effects
License
Discussion NMM-HD Thread - [Chinese]

Contents

[edit] Description

Another 8/16-bit luma adaptive grain generator.

[edit] Requirements

[edit] Required Plugins

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


[edit] Syntax and Parameters

f3kgrain (clip input, int "luma", int "chroma", int "mode", int "temp", int "adapt", float "sigma", bool "lsb")


clip  input =
Input clip.


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.


bool  lsb =
Is the input clip normal 8-bit or stacked 16-bit? If lsb=true output clip will be stacked 16-bit.
By default the input clip's width is divided by the height, if is greater than 1.2 then it's set to false otherwise is set to true.


[edit] Examples

f3kgrain with default settings:

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


[edit] Changelog

Version      Date            Changes
v0.4 2012-05-21 - Add support for 8-bit YV16/YV24 - Add support for setting sigma(standard deviation) of Gaussian distribution v0.3 2012-04-06 - Add support for 16-bit input and output, need dither.dll v1.15.0 or newer v0.2 2012-03-14 - Synchronize argument names with parameter names of f3kdb v1.5.0 v0.1 2012-03-02 - First release


[edit] Archived Downloads

Version Download Mirror
v0.4 f3kgrain_v0.4.avsi f3kgrain_v0.4.avsi
v0.3
v0.2 f3kgrain_v0.2.avsi f3kgrain_v0.2.avsi
v0.1


[edit] External Links




Back to External Filters

Personal tools