gradient opimage2d × image2d → image2dimport fullseye as fs; fs.ledger.vx_magnitude(gx, gy) (実装を直接呼ぶなら import vxcore; vxcore.vx_magnitude(gx, gy)、台帳から引くなら opsvx.get("vx_magnitude"))勾配の大きさ(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 でない / 形が違う。
py -3.11 examples/gallery_openvx_spec_values.pyimage2d を入力に取れる)vx_sobel3x3 · vx_phase · vx_table_lookup · vx_histogram · vx_nonmax_suppression · vx_warp_affine · vx_warp_perspective · vx_remap
gradient)Provenance: vxcore.py — VX operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.