vx_warp_perspective — VX geometry op

• Data kinds: image2d × matrix → image2d

• Call: import fullseye as fs; fs.ledger.vx_warp_perspective(image, matrix, *, interpolation, border, constant_value=0) (to call the implementation directly, import vxcore; vxcore.vx_warp_perspective(image, matrix, *, interpolation, border, constant_value=0); from the registry, opsvx.get("vx_warp_perspective"))

Usage

Perspective transform (Section 3.57). Inverse mapping: x0 = M[0]·(x, y, 1), y0 = M[1]·(x, y, 1), z0 = M[2]·(x, y, 1), output (x, y) = input (x0/z0, y0/z0) (REQ-0508). Pixels with z0 = 0 are filled as outside.

*matrix*: 3×3 in mathematical order (the specification's C declaration mat[3][3] is in transposed order). The other arguments are the same as vx_warp_affine.

Raises ValueError: not a 2-D U8 / matrix is not a finite 3×3 / interpolation or border not in the list.

Detailed usage guide

• openvx_ports family guide

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• (none yet)

Ops the type connects to (they accept image2d as input)

vx_sobel3x3 · vx_magnitude · vx_phase · vx_table_lookup · vx_histogram · vx_nonmax_suppression · vx_warp_affine · vx_remap

Same category (geometry)

vx_warp_affine · vx_remap


*Provenance: vxcore.py — VX operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.