FFTQuiver

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Syntax and Parameters)
Line 22: Line 22:
 
<br>
 
<br>
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
:{{Template:FuncDef|<!-- function name -->FnQuiver (''clip'', ''<!-- par 1 type -->int array'' "<!-- par 1 name -->", ''<!-- par 2 type -->bool'' "<!-- par 2 name -->test", ''<!-- par 3 type -->bool'' "<!-- par 3 name -->morph ",''<!-- par 4 type -->float'' <!-- par 4 name -->gamma",''<!-- par n type -->Effect_specific_parameters")}}
+
:{{Template:FuncDef| F1Quiver (clip, int "Array of values", bool "morph", bool "rescale", float "gamma", int "frad", bool "uv")}}
 
<br>
 
<br>
 
::{{Par2| |clip| }}
 
::{{Par2| |clip| }}
:::Input clip.      
+
::: Input clip.
 
<br>
 
<br>
::{{Par2|<!-- par 1 type -->int array|<!-- par 1 name -->|<!-- par 1 default value -->none}}
+
::{{Par2|Array of values|bool|#,#,#,#}}
:::<!-- par 1 description -->Array of integer sets specifying frequency domain filters .May not specify for test mode.  
+
::: Sets of integers. For "custom" pairs of frequency and percentage amplitude must follow. Each standard filter has a set of 4 values
 
<br>
 
<br>
::{{Par2|<!-- par 2 type -->bool|<!-- par 2 name -->test|<!-- par 2 default value -->false}}
+
::{{Par2|custom|bool|false}}
:::<!-- par 2 description -->If true display power spectrum and designed filters .
+
::: Is filter of custom design?
 
<br>
 
<br>
::{{Par2|<!-- par 3 type -->bool|<!-- par 3 name -->morph|<!-- par 3 default value -->false}}
+
::{{Par2|morph|bool|false}}
:::<!-- par 3 description -->Is homomorphic filtering intended? .
+
::: Whether homomorphic filtering is to be done?
 +
<br>
 +
::{{Par2|uv|bool|false}}
 +
::: Whether Planar U and V planes also to be filtered.
 
<br>
 
<br>
::{{Par2|<!-- par 4 type -->float|<!-- par 4 name -->gamma|<!-- par 3 default value -->0.05}}
 
:::<!-- par 3 description -->scaling for spectral display .
 
  
 +
:{{Template:FuncDef| F2Quiver (clip, int "Array of values", bool "morph", bool "rescale", int "frad", bool "uv")}}
 +
<br>
 +
::{{Par2| |clip| }}
 +
::: Input clip.
 +
<br>
 +
::{{Par2|Array of values|bool|#,#,#,...}}
 +
::: Sets of integers. For F2Quiver at least one set must be specified.
 +
<br>
 +
::{{Par2|morph|bool|false}}
 +
::: Is this a homomorphic process?
 +
<br>
 +
::{{Par2|rescale|bool|false}}
 +
::: Is rescaling the output required?
 +
<br>
 +
::{{Par2|gamma|float|0.05}}
 +
::: Gamma value to be used for spectral display scaling.
 
<br>
 
<br>
::{{Par2|<!-- par n type -->*|<!-- par n name -->refer_specific_function|<!-- par n default value -->?}}
+
::{{Par2|gamma|int|32}}
:::<!-- par n description -->See detailed description of functions.  
+
::: Filter radial length.
 
<br>
 
<br>
 +
::{{Par2|uv|boolean|false}}
 +
::: Are u and v planes of YUV444 to be filtered?
  
 
<br>
 
<br>

Revision as of 05:18, 18 June 2018


Abstract
Author V.C.Mohan
Version 19 Mar 2017
Download FQPlus.7z
Category External filters
License GPLv2
Discussion


Contents

Description

Regular frequency interference on images. These can be attenuated with either 1D or 2D frequency filters. Frequency spectral displays enable to find such interference and design correcting filters. Full Description

Requirements


Syntax and Parameters

F1Quiver (clip, int "Array of values", bool "morph", bool "rescale", float "gamma", int "frad", bool "uv")


clip   =
Input clip.


bool  Array of values = #,#,#,#
Sets of integers. For "custom" pairs of frequency and percentage amplitude must follow. Each standard filter has a set of 4 values


bool  custom = false
Is filter of custom design?


bool  morph = false
Whether homomorphic filtering is to be done?


bool  uv = false
Whether Planar U and V planes also to be filtered.


F2Quiver (clip, int "Array of values", bool "morph", bool "rescale", int "frad", bool "uv")


clip   =
Input clip.


bool  Array of values = #,#,#,...
Sets of integers. For F2Quiver at least one set must be specified.


bool  morph = false
Is this a homomorphic process?


bool  rescale = false
Is rescaling the output required?


float  gamma = 0.05
Gamma value to be used for spectral display scaling.


int  gamma = 32
Filter radial length.


boolean  uv = false
Are u and v planes of YUV444 to be filtered?



Examples

F1Quiver
F1Quiver(25,100,34,0,42,0, 54,100, custom = true)
F1Quiver(5,39,200,1, uv = true)
F2Quiver
F2Quiver(5,5,60,-35,20,1,2,120,60,8,4,1,70,80,4,3,4,40,42,18,morph=false,gamma=0.04)



Back to External Filters

Personal tools