FFTQuiver

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Requirements: AviSynth 2.6)
Line 1: Line 1:
  
{{FilterCat4|External_filters|Plugins|<!-- category -->TODO|<!-- category -->TODO}}
+
{{FilterCat4|External_filters|Plugins|<!-- category --> Denoisers|<!-- category --> TODO}}
  
 
{{Filter3
 
{{Filter3
|1=<!-- author -->[http://www.avisynth.nl/users/vcmohan/ V.C.Mohan]
+
|1=<!-- author --> [http://www.avisynth.nl/users/vcmohan/ V.C.Mohan]
|2=<!-- version -->1.0.0.0.0
+
|2=<!-- version --> 19 Mar 2017
|3=<!-- download 2.5.8 version URL -->2.5.8 version[http://www.avisynth.nl/users/vcmohan/FFTQuiver/FFTQuiver.zip FFTQuiver] 2.6.0 alpha5 version URL -->[http://www.avisynth.nl/users/vcmohan/FFTQuiver/FFTQuiver_2_6.zip FFTQuiver]
+
|3=<!-- URL --> [http://www.avisynth.nl/users/vcmohan/FQPlus/FQPlus.7z FQPlus.7z]
 
|4=<!-- category -->External filters
 
|4=<!-- category -->External filters
|5=<!-- license -->[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
+
|5=<!-- license -->[https://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
|6=<!-- discussion URL -->[ Announced FFTQuiver plugin]}}
+
|6=<!-- discussion URL --> }}
  
 
<br>
 
<br>
 
== Description ==
 
== Description ==
 
<!-- a one-sentence description -->
 
<!-- a one-sentence description -->
Regular periodic noise is filtered in 1D frequency domain by F1Quiver and in 2D frequency domain by F2Quiver functions of this plugin and a full description is at  [http://www.avisynth.nl/users/vcmohan/FFTQuiver/FFTQuiver.html click me].
+
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. [http://www.avisynth.nl/users/vcmohan/FQPlus/FQPlus.html Full Description]
 
<br>
 
<br>
 
<br>
 
<br>
 
== Requirements ==
 
== Requirements ==
* <!-- Avisynth version -->AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ 2.6.0] or greater
+
* AviSynth+ r2347 or greater
* <!-- source video: progressive]
+
* [http://www.fftw.org/install/windows.html libfftw3f-3.dll, FFTw3.dll, or fftw.dll]
* <!-- color formats -->Supported color formats:  [[YUY2]], [[YV12]], <span style="color:red">*</span>[[YV16]], <span style="color:red">*</span>[[YV24]], <span style="color:red">*</span>[[YV411]], <span style="color:red">*</span>[[Y8]]
+
: <span style="color:red">*</span> Not available in AviSynth 2.5.8.
+
* <!-- CPU/GPU -->
+
* <!-- binaries -->
+
* <!-- dependent plugins -->[http://www.avisynth.nl/users/vcmohan/libfftw3f-3.zip libfftw3f-3.dll] or [http://www.fftw.org fftw3-3.dll]
+
<br>
+
"F1Quiver", "ci*[custom]b[test]b[row]i[erow]i[gamma]f[morph]b";
+
<br>  "F2Quiver", "ci*[test]b[morph]b[rescale]b[gamma]f[mfact]i[frad]i";
+
  
 +
<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|<!-- 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")}}
Line 56: Line 49:
 
== Examples ==
 
== Examples ==
 
<!-- example code block: 1st char in each line = space -->
 
<!-- example code block: 1st char in each line = space -->
## This is some example code to remove noise from an image.
+
:F1Quiver
imagereader("C:\avi_plugins\varianslim\theoin.jpg", end = 10)
+
 
converttoyv16()
+
  F1Quiver(25,100,34,0,42,0, 54,100, custom = true)
  f1=F1Quiver(last, test = true)
+
 
f1a=F1Quiver (37,100,38,0,40,0, 44,100,test =true,row = 155, erow=250,custom = true,gamma =0.2 )  
+
  F1Quiver(5,39,200,1, uv = true)
  #F1Quiver(5,39,200,1,test = true, gamma = 0.2)
+
 
stackHorizontal(f1,f1a)
+
:F2Quiver
<br>F2 example
+
  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)
# test with no filter
+
 
f2t1=f2Quiver(test = true)
+
#Following demonstrates filters that can be designed
+
  #F2Quiver(5,5,60,-35,20,1,2,120,60,8,4,1,70,80,4,3,4,40,42,18,test = true,gamma=0.04)
+
f2t=F2Quiver(3,4,35,44,12,test = true)
+
# process
+
f2=F2Quiver(3,4,35,44,12)
+
#f2=F2Quiver(4,4,38,42,18,test = true,morph =false,gamma=0.04)
+
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters|External Filters]] &larr;'''
 
'''Back to [[External_filters|External Filters]] &larr;'''

Revision as of 04:54, 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

FnQuiver (clip, int array "", bool "test", bool "morph ",float gamma",Effect_specific_parameters")


clip   =
Input clip.


  int array = none
Array of integer sets specifying frequency domain filters .May not specify for test mode.


test  bool = false
If true display power spectrum and designed filters .


morph  bool = false
Is homomorphic filtering intended? .


gamma  float = 0.05
scaling for spectral display .


refer_specific_function  * = ?
See detailed description of functions.




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