pointer op• データ種: image2d × pairs → image2d
• 呼び出し: import annotate; annotate.label_points(img, points, labels=None, color='reference', font_size=12, pad=3, marker_size=0, scheme='okabe_ito', allow_overlap=False, **text_kw) (または opsannotate.get("label_points"))
点群に番号や値を振る。重なりを避けて置く(避けられなければ例外)。
Parameters
----------
points : (N,2)
(x,y) の点列。
labels : sequence or None
各点の文字。None なら 1 始まりの番号。
marker_size : int
0 より大きければ各点に十字マーカーも打つ。
allow_overlap : bool
True なら重なりを許して最初の候補に置く(既定は False = 例外)。
Returns
-------
ndarray
Raises
------
ValueError
点が空 / 非有限 / labels の数が合わない / どの候補位置でも
既存のラベルと重なる(`allow_overlap=False` のとき)。
• 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 · leader_line · crosshair · legend_box · color_bar · scale_bar · axes_frame
pointer)arrow · leader_line · crosshair
*Provenance: annotate.py — ANNOTATE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.