annotate_markers — ANNOTATE paper op

データ種: image2dimage2d

呼び出し: import annotate; annotate.annotate_markers(img, points, labels=None, start=1, radius=9.0, color='emphasis', text_color=None, font_size=11, scheme='okabe_ito', font_path=None, min_contrast=2.0) (または opsannotate.get("annotate_markers"))

使い方

画像(image2d)を返す: 番号(または短い文字)入りの丸いマーカーを各点に置く。

:func:annotate_legend と同じ `start / labels` を渡せば、図中の番号と

凡例の番号が必ず一致する。

Parameters

----------

points : (N, 2)

(x, y)。画像の外の点は ValueError。

labels : sequence of str or None

None なら `start` から連番。

radius : float

円の半径[px]。文字が入らなければ ValueError。

Raises

------

ValueError

点が空・非有限・画像外、labels の数不一致、文字が円に入らない、

文字色と円色のコントラスト不足。

詳しい使い方ガイド

figure_annotation ファミリ ガイド

背景知識ガイド(この op の手前にある物理・規約)

dataset_conventions — 学習データセット規約の知識 — COCO / YOLO / VOC と外観検査での落とし穴

参考(サンプルデータ・文献)

• サンプルデータ カタログ(DL URL / ライセンス) — 2-D は skimage.data(BSD/public)+ 合成、3-D は実データ源(Stanford/PDS 等)の DL URL。

• 演算子の来歴・参考文献 — この op 族の元になった研究/手法の出典。

• アルゴリズムの正典(著者・年)と用途は上記ファミリ使い方ガイドに記載。

実行できる例(この op を実際に呼ぶ検証済みサンプル)

paper_figurepy -3.11 examples/paper_figure.py

型が繋がる次の op(image2d を入力に取れる)

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

同カテゴリ(paper)

annotate_leader_layout · annotate_leader · annotate_legend · annotate_dimension_layout · annotate_dimension · annotate_angle_layout · annotate_angle · annotate_scale_bar_layout


*Provenance: annotate.py — ANNOTATE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。*

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