zoom_inset — ANNOTATE compose op

• Data kinds: image2d → image2d

• Call: import fullseye as fs; fs.ledger.zoom_inset(img, src_rect, dst_xy, factor=3, color='emphasis', width=2, connect=True, scheme='okabe_ito', style=None) (implementation को सीधे call करना हो तो import annotate; annotate.zoom_inset(img, src_rect, dst_xy, factor=3, color='emphasis', width=2, connect=True, scheme='okabe_ito', style=None), registry से लेना हो तो opsannotate.get("zoom_inset"))

उपयोग

बड़ा किया गया inset — मूल figure में frame और leader line जोड़ता है।

magnification np.repeat का nearest neighbour है (integer गुणा)। interpolation नहीं करता, ताकि guarantee रहे कि बड़ा चित्र "मूल pixels ही" है (smooth करने पर ऐसा लगेगा मानो कोई ऐसी संरचना बन गई जो थी ही नहीं)।

Parameters

src_rect : (x, y, w, h)

जिसे बड़ा करना है वह स्रोत।

dst_xy : (x, y)

inset रखने की जगह का ऊपर-बायाँ कोना।

factor : int

integer magnification (>= 1)।

connect : bool

True हो तो स्रोत frame और inset frame के संगत कोनों को 2 lines से जोड़ता है।

Raises

ValueError

factor 1 से कम या non-integer, स्रोत frame/inset image से बाहर निकलता है।

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

• figure_annotation family guide

पृष्ठभूमि guides (इस op के पीछे की physics और conventions)

• dataset_conventions — Training dataset के conventions — COCO / YOLO / VOC और visual inspection में सावधानियाँ

संदर्भ (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 करते हैं)

• annotate_gallery — py -3.11 examples/annotate_gallery.py

• poc_diabolo_model_and_vision — py -3.11 examples/poc_diabolo_model_and_vision.py

• poc_food_cutting_measure — py -3.11 examples/poc_food_cutting_measure.py

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

text_box · arrow · leader_line · label_points · crosshair · legend_box · color_bar · scale_bar

इसी category के (compose)

compare_frame · panel_grid


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

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