FFTQuiver
From Avisynth wiki
(Difference between revisions)
(documentation update with correct plugin (needs work)) |
|||
Line 4: | Line 4: | ||
{{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 --> | + | |2=<!-- version --> 9 May 2016 |
− | |3=<!-- URL --> [http://www.avisynth.nl/users/vcmohan/ | + | |3=<!-- URL --> [http://www.avisynth.nl/users/vcmohan/FFTQuiver/FFTQuiver_2_6.zip FFTQuiver_2_6.zip] |
|4=<!-- category -->External filters | |4=<!-- category -->External filters | ||
|5=<!-- license -->[https://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | |5=<!-- license -->[https://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | ||
Line 12: | Line 12: | ||
<br> | <br> | ||
== Description == | == Description == | ||
− | + | 4 Functions for frequency domain customizable filtering in one or two dimensions. [http://www.avisynth.nl/users/vcmohan/FFTQuiver/FFTQuiver.htm Full Description] | |
− | + | <br> | |
+ | [[FFTQuiver]] plugin has two main functions: F1Quiver, F2Quiver. To visualize the frequency spectra and correctly specify filters, two supporting functions are also included. These are F1QTest and F2QTest. These have identical parameters with the processing functions for ease of scripting. | ||
+ | |||
+ | *F1Quiver and F1QTest transforms image data row by row into one dimensional spatial frequency domain. | ||
+ | *F2Quiver and F2QTest as the name implies converts whole of image through a 2d transform into spatial frequency domain. | ||
+ | |||
+ | These functions have a large number of cascadable frequency domain Gaussian and Butterworth filters for image processing.F1Quiver has a custom filter facility also. Homomorphic filtering can also be done with these functions. | ||
+ | |||
+ | *For AviSynth+ see [[FQPlus]], includes high bit depth colorspace support and 64-bit. | ||
<br> | <br> | ||
== Requirements == | == Requirements == | ||
− | * AviSynth+ | + | * [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6] |
− | + | * Supported color formats: [[YUY2]], [[Y8]], [[YV12]], [[YV16]], [[YV24]] | |
+ | <br> | ||
+ | ===Runtime dependencies=== | ||
+ | The following are required, FFTQuiver will not run or load without them. | ||
+ | * [http://www.fftw.org/install/windows.html FFTW 3.3.5] (<code>'''fftw-3.3.5-dll32.zip'''</code>) | ||
+ | :<span style="color:red">***</span> 32-bit <tt>[[libfftw3f-3.dll]]</tt> needs to be in the search path (<tt>C:\Windows\SysWOW64</tt> 64-bit OS or <tt>C:\windows\system32</tt> 32-bit OS) | ||
<br> | <br> | ||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == |
Latest revision as of 02:22, 1 June 2020
Abstract | |
---|---|
Author | V.C.Mohan |
Version | 9 May 2016 |
Download | FFTQuiver_2_6.zip |
Category | External filters |
License | GPLv2 |
Discussion |
Contents |
[edit] Description
4 Functions for frequency domain customizable filtering in one or two dimensions. Full Description
FFTQuiver plugin has two main functions: F1Quiver, F2Quiver. To visualize the frequency spectra and correctly specify filters, two supporting functions are also included. These are F1QTest and F2QTest. These have identical parameters with the processing functions for ease of scripting.
- F1Quiver and F1QTest transforms image data row by row into one dimensional spatial frequency domain.
- F2Quiver and F2QTest as the name implies converts whole of image through a 2d transform into spatial frequency domain.
These functions have a large number of cascadable frequency domain Gaussian and Butterworth filters for image processing.F1Quiver has a custom filter facility also. Homomorphic filtering can also be done with these functions.
- For AviSynth+ see FQPlus, includes high bit depth colorspace support and 64-bit.
[edit] Requirements
[edit] Runtime dependencies
The following are required, FFTQuiver will not run or load without them.
- FFTW 3.3.5 (
fftw-3.3.5-dll32.zip
)
- *** 32-bit libfftw3f-3.dll needs to be in the search path (C:\Windows\SysWOW64 64-bit OS or C:\windows\system32 32-bit OS)
[edit] Syntax and Parameters
- F1Quiver (clip, int "Array of values", bool "morph", bool "rescale", float "gamma", int "frad", bool "uv")
- clip =
- Input clip
- clip =
- int 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
- int Array of values = #,#,#,#
- bool custom = false
- Is filter of custom design?
- bool custom = false
- bool morph = false
- Whether homomorphic filtering is to be done?
- bool morph = false
- bool uv = false
- Whether Planar U and V planes also to be filtered
- bool uv = false
- F2Quiver (clip, int "Array of values", bool "morph", bool "rescale", int "frad", bool "uv")
- clip =
- Input clip
- clip =
- int Array of values = #,#,#,...
- Sets of integers. For F2Quiver at least one set must be specified.
- int Array of values = #,#,#,...
- bool morph = false
- Is this a homomorphic process?
- bool morph = false
- bool rescale = false
- Is rescaling the output required?
- bool rescale = false
- float gamma = 0.05
- Gamma value to be used for spectral display scaling
- float gamma = 0.05
- int gamma = 32
- Filter radial length
- int gamma = 32
- boolean uv = false
- Are u and v planes of YUV444 to be filtered?
- boolean uv = false
[edit] 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 ←