warp_tps_image — SHAPE2D morph op

• Data kinds: image2d × pairs × pairs → image2d

• Call: import fullseye as fs; fs.ledger.warp_tps_image(img, src_pts, dst_pts, lam=0.0, order=1) (implementation को सीधे call करना हो तो import imagemorph; imagemorph.warp_tps_image(img, src_pts, dst_pts, lam=0.0, order=1), registry से लेना हो तो opsshape2d.get("warp_tps_image"))

उपयोग

thin-plate spline से img के src_pts को dst_pts तक ले जाने वाला smooth warp।

output coordinates → input coordinates का inverse mapping TPS (dst→src) fit करके, पूरे output grid पर evaluate करके sample करता है। lam=0 पर control points पर सटीक मेल (features सही जगह उतरते हैं), lam>0 पर deformation smooth होता है। piecewise affine से अधिक smooth, पर सभी pixels × control points के kernel evaluation की लागत।

arguments और return value warp_piecewise_affine जैसे ही हैं।

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

• shape_description_2d 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 करते हैं)

• shape2d_morph_descriptor_tour — py -3.11 examples/shape2d_morph_descriptor_tour.py

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

warp_piecewise_affine · blend · morph · morph_sequence

इसी category के (morph)

add_frame_corners · warp_piecewise_affine · blend · morph · morph_sequence


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

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