PinCushion
Function
This warp is useful to do a lens correction to do a proper match move.
It distorts the corners of the image in and out to mimic lens distortion.
You can push the values below 0 as well.
Parameters
|
Type
|
Defaults
|
Function
|
oversampling |
int
|
1 |
The actual number of samples per pixel
equals this number squared. For better antialiasing, increase the
number. |
x,yFactor |
float
|
0, 0 |
The amount of distortion. |
Synopsis
image PinCushion( image,
int oversampling,
float xFactor,
float yFactor
);
Script
image = PinCushion(
image,
oversampling,
xFactor,
yFactor
);
Command Line
shake -pincushion oversampling xfactor yfactor
|