vx_warp_affine — VX geometry op

• Data kinds: image2d × matrix → image2d

• Call: import fullseye as fs; fs.ledger.vx_warp_affine(image, matrix, *, interpolation, border, constant_value=0) (implementation को सीधे call करना हो तो import vxcore; vxcore.vx_warp_affine(image, matrix, *, interpolation, border, constant_value=0), registry से लेना हो तो opsvx.get("vx_warp_affine"))

उपयोग

affine transform (section 3.56)। inverse mapping: आउटपुट का pixel (x, y) इनपुट के (x0, y0) से लिया जाता है (REQ-0498): x0 = M[0,0]·x + M[0,1]·y + M[0,2], y0 = M[1,0]·x + M[1,1]·y + M[1,2]।

*matrix*: गणितीय क्रम का 2×3 (row 1 में x0 के coefficient a, b, c)। ★ specification का C declaration mat[3][2] = { {a,d}, {b,e}, {c,f} } है (transposed क्रम) -- C का array सीधे देने पर shape (3, 2) होता है, इसलिए रुक जाता है। *interpolation* (ज़रूरी): "nearest" / "bilinear"। *border* (ज़रूरी): "constant" (*constant_value* से भरा जाता है) / "undefined" (0 से भरा जाता है, मान specification में undefined है)।

Raises ValueError: 2-D U8 नहीं है / matrix finite 2×3 नहीं है / interpolation या border सूची में नहीं है।

उपयोग की विस्तृत guide

• openvx_ports family guide

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• (अभी कुछ नहीं)

वे अगले ops जिनसे type जुड़ता है (image2d को input के रूप में लेते हैं)

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

इसी category के (geometry)

vx_warp_perspective · vx_remap


*Provenance: vxcore.py — VX operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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