Skip to content

f_Deform

rasberry edited this page Jan 11, 2024 · 1 revision

Deform

Usage

 Warps an image using a mapping function
 -cx (number) (number)        Coordinates of center in pixels
 -cp (number)[%] (number)[%]  Coordinates of center by proportion (default 50% 50%)
 -e (number)                  (e) Power Exponent (default 2.0)
 -m (mode)                    Choose mode (default Polynomial)
 --sampler (name)             Use given (registered) sampler (defaults to nearest pixel)

 Available Modes
 1. Polynomial                x^e/w, y^e/h
 2. Inverted                  n/x, n/y; n = (x^e + y^e)

Examples

rock shell
Default Deform-rock-1 Deform-shell-1
-e 2.5 Deform-rock-2 Deform-shell-2
-m 2 Deform-rock-3 Deform-shell-3