Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|||||||
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 | Link |
|
Formerly davidh*****
![]() Join Date: Jan 2004
Posts: 2,817
|
quad - quadrilateral transform (split from New Utils thread due to bug report)
2019-01-14: quad is now superseded by warp
Download: quad.zip Last update: 2012-09-30 - ~10% speed increase, bicubic interpolation Last update: 2012-10-02 - another ~10% speed increase Last update: 2012-10-05 - 100% speed increase! Last update: 2012-11-01 - output levels bugfix quad is a quadrilateral transformation filter similar to vcmohan's reform, although (so far) quad doesn't crash and does a true quadrilateral transformation. It uses bicubic interpolation (can be switched off for speed purposes) and is multi-threaded.Minimum parameter requirements are 4 x,y pairs defining the corners of the target quadrilateral. The source quadrilateral can also be specified, if required. No source, sorry - it makes use of too many half-written libraries scattered around my hard drive. Code:
quad ==== An Avisynth plugin to perform quadrilateral transformations. Usage ===== quad(clip, tx0,ty0, tx1,tx1, tx2,ty2, tx3,ty3, [sx0,sy0, sx1,sy1, tx2,ty2, tx3,ty3, bool invert, bool normal, bool draft]) Parameters: ----------- tx0,ty0-tx3,ty3: the four corners of the target quadrilateral. sx0,sy0-sx3,sy3: the four corners of the source quadrilateral (default: clip's corners, clockwise from top left) invert: invert the transformation (transpose t and s) normal: specify that the coordinates are normalised to the range 0-1. draft: don't use spline16 interpolation Last edited by wonkey_monkey; 14th January 2019 at 20:43. Reason: updated version |
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|