pointer op• データ種: image2d × text → image2d
• 呼び出し: import annotate; annotate.leader_line(img, anchor_xy, target_xy, text=None, color='emphasis', width=2, cap='dot', cap_size=4, elbow=True, scheme='okabe_ito', style=None, **text_kw) (または opsannotate.get("leader_line"))
引き出し線 —— 注記の位置(`anchor_xy)から対象(target_xy`)へ。
`elbow=True` なら水平 → 斜めの 2 折れで引く(注記が本体に被りにくい)。
端点には `cap の印('dot'/'arrow'/'cross'/'none'`)を置く。
`text を渡すと anchor_xy 側に :func:text_box` を置く。
追加の `**text_kw は :func:text_box` へそのまま渡す。
Raises
------
ValueError
未知の `cap`、非有限な座標、線が画像の外。
• dataset_conventions — 学習データセット規約の知識 — COCO / YOLO / VOC と外観検査での落とし穴
• サンプルデータ カタログ(DL URL / ライセンス) — 2-D は skimage.data(BSD/public)+ 合成、3-D は実データ源(Stanford/PDS 等)の DL URL。
• 演算子の来歴・参考文献 — この op 族の元になった研究/手法の出典。
• アルゴリズムの正典(著者・年)と用途は上記ファミリ使い方ガイドに記載。
• annotate_gallery — py -3.11 examples/annotate_gallery.py
image2d を入力に取れる)text_box · arrow · label_points · crosshair · legend_box · color_bar · scale_bar · axes_frame
pointer)arrow · label_points · crosshair
*Provenance: annotate.py — ANNOTATE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.