vx_magnitude — VX gradient op

• Data kinds: image2d × image2d → image2d

• Call: import fullseye as fs; fs.ledger.vx_magnitude(gx, gy) (to call the implementation directly, import vxcore; vxcore.vx_magnitude(gx, gy); from the registry, opsvx.get("vx_magnitude"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

勾配の大きさ(3.31 節)。REQ-0270 の概念定義をそのまま: `z = uint16(sqrt(double(uint32(x·x) + uint32(y·y))) + 0.5)`、

`mag = z > 32767 ? 32767 : z`。入力・出力とも S16。

Raises `ValueError`: S16 の 2-D でない / 形が違う。

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_phase · vx_table_lookup · vx_histogram · vx_nonmax_suppression · vx_warp_affine · vx_warp_perspective · vx_remap

Same category (gradient)

vx_sobel3x3 · vx_phase


*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.