DeBarrel
From Avisynth wiki
(Difference between revisions)
(V. C. Mohan's plugins are GPLv3 according to his site: http://www.avisynth.nl/users/vcmohan/index.html) |
(→Requirements) |
||
Line 17: | Line 17: | ||
<br> | <br> | ||
== Requirements == | == Requirements == | ||
− | * | + | * AviSynth+ r2347 or greater |
− | + | ||
− | + | ||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == |
Revision as of 06:53, 18 June 2018
Abstract | |
---|---|
Author | V.C.Mohan |
Version | 30 Dec 2016 |
Download | movePlus.7z |
Category | External filters |
License | GPLv3 |
Discussion | Original DeBarrel plugin, movePlus |
Contents |
Description
Barrel type and pin cushion type of distortion caused by camera lenses makes straight lines appear as curved lines and this is corrected and for a Full description click me.
Requirements
- AviSynth+ r2347 or greater
Syntax and Parameters
- Barrel (clip, float "a", float "b", float "c", bool "pin", bool "test", float "ea", float "eb", float "ec",, int "nsteps", int "frame", int "color",float "vh",bool "ind",float "ya",float "yb",float "yc", float "yea", float "yeb", float "yec", bool "ypin",)
- clip =
- Input clip.
- clip =
- a float = 0.005
- distortion coefficient a .
- a float = 0.005
- b float = 0.005
- distortion coefficient b .
- b float = 0.005
- c float = 0.005
- distortion coefficient c .
- c float = 0.005
- pin bool = false
- Is distortion pin cushion type?.
- pin bool = false
- test bool = false
- Is this a test run?
- test bool = false
- ea float = a
- distortion coefficient a at end step of test run.Value required only if test is true
- ea float = a
- eb float = b
- distortion coefficient b at end step of test run.Value required only if test is true.
- eb float = b
- ec float = c
- distortion coefficient c at end step of test run.Value required only if test is true.
- ec float = c
- nsteps int = 20
- number of steps parameters a, b, c to reach values ea, eb and ec in test run..
- nsteps int = 20
- frame int = 0
- frame number to be used in test run.
- frame int = 0
- color int = 0
- color value as rrggbb to be used to mark distortion pattern in test run.
- color int = 0
- vh float = 1.0
- in case of cinemascope or other cases wherein width or height is elongated ratio of vertical to horizontal over normal.
- vh float = 1.0
- ind bool = false
- Does horizontal and vertical distortions have independent coefficients?.
- ind bool = false
- ya float = a
- distortion coefficient for vertical ya (in case ind = true)
- ya float = a
- yb float = b
- distortion coefficient for vertical yb (in case ind = true).
- yb float = b
- yc float = c
- distortion coefficient for vertical yc (in case ind = true).
- yc float = c
- yea float = a
- distortion coefficient at end step for vertical yea (in case ind = true and test = true)
- yea float = a
- yeb float = b
- distortion coefficient at end step for vertical yeb (in case ind = true and test = true).
- yeb float = b
- yec float = c
- distortion coefficient at end step for vertical yc (in case ind = true and test = true).
- yec float = c
- ypin bool = false
- if vertical distortions have independent distortions, is it pin cushion type?.
- ypin bool = false
Examples
## This is some example code to test for an image with independent distortions. Avisource("example.avi").converttoRGB32() Barrel(test=true,pin=false, ind = true,a= 0.05,b= 0.011,c= 0.001, ea = .02, eb=0.012,ec= 0.001, ya= 0.1, yb= 0.011,yc= 0.001, yea= 0.01, yeb= 0.005, yec = 0.005 , ypin = true, color = $ffffff)
## This is another example. Avisource("example.avi").converttoYV12() Barrel(a = 0.005, b = 0.0015, c = 0.0025,pin = false))
Back to External Filters ←