Reformer
From Avisynth wiki
(Difference between revisions)
(→Syntax and Parameters) |
(→Examples) |
||
Line 84: | Line 84: | ||
== Examples == | == Examples == | ||
<!-- example code block: 1st char in each line = space --> | <!-- example code block: 1st char in each line = space --> | ||
− | + | Script example: | |
− | + | ColorBars().ConvertToRGB32() | |
− | + | bg = blankclip(last) | |
− | + | Reform(bg, resize= "lanczos",leftx = 100,rightx = 400, ytop = 200, ybot = 480,ltopx=200,ltopy=150, rbotx = 500, rboty = 400) | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<br> | <br> | ||
----------------------------------------------- | ----------------------------------------------- | ||
'''Back to [[External_filters|External Filters]] ←''' | '''Back to [[External_filters|External Filters]] ←''' |
Revision as of 21:09, 18 June 2018
Abstract | |
---|---|
Author | V.C.Mohan |
Version | 9 Apr 2018 |
Download | movePlus.7z |
Category | External filters |
License | GPLv2 |
Discussion | Reformer plugin |
Contents |
Description
Reform uses matrix algebra for transformations. Reform has two modes viz: rectangle to quadrilateral and quadrilateral to rectangle. Lanczos or cubic or linear or nearest point interpolation methods can be opted. Full Description
Requirements
- AviSynth+ r2347 or later
Syntax and Parameters
- Reform (clip, clip, string "resize", float "ltopx", float "ltopy", float "lbotx", float "lboty", float "rtopx", float "rtopy", float "rbotx", float "rboty", float "leftx", float "rightx", float "ytop", float "ybot", bool "qr", bool "norm")
- clip =
- Clip to be skewed into quadrilateral or deskewed into rectangle
- clip =
- clip =
- Clip to be used as background
- clip =
- string resize = "cubic"
- Radius of grid to use
- "lanczos"
- "cubic"
- "line"
- "point"
- Radius of grid to use
- string resize = "cubic"
- float ltopx = 0
- Q left top x coordinate
- float ltopx = 0
- float ltopy = 0
- Q left top y coordinate
- float ltopy = 0
- float lbotx = 0
- Q left bottom x coordinate
- float lbotx = 0
- float lboty = frame height - 1
- Q left bottom y coordinate
- float lboty = frame height - 1
- float rtopx = frame width - 1
- Q right top x coordinate
- float rtopx = frame width - 1
- float rtopy = 0
- Q right top y coordinate
- float rtopy = 0
- float rbotx = frame width - 1
- Q right bottom x coordinate
- float rbotx = frame width - 1
- float rboty = frame height - 1
- Q right bottom y coordinate
- float rboty = frame height - 1
- float leftx = 0
- R left x coordinate
- float leftx = 0
- float rightx = frame width - 1
- R right x coordinate
- float rightx = frame width - 1
- float ytop = 0
- R top y coordinate
- float ytop = 0
- float ybot = frame height - 1
- R bottom y coordinate
- float ybot = frame height - 1
- bool qr = true
- R bottom y coordinate
- true = q to r
- false = r to q
- R bottom y coordinate
- bool qr = true
- bool norm = false
- Whether normalised coordinates are specified?
- true = normalized
- false = real
- Whether normalised coordinates are specified?
- bool norm = false
Examples
Script example:
ColorBars().ConvertToRGB32() bg = blankclip(last) Reform(bg, resize= "lanczos",leftx = 100,rightx = 400, ytop = 200, ybot = 480,ltopx=200,ltopy=150, rbotx = 500, rboty = 400)
Back to External Filters ←