Skip to content

f_Deform

rasberry edited this page Jan 28, 2025 · 3 revisions

Deform

Usage

 Warps an image using a mapping function
 -cx (x,y)                    Coordinates of center in pixels
 -cp (x,y)                    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 neighbor)

 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