pointer op• 数据种类:image2d → image2d
• 调用:import annotate; annotate.arrow(img, p0, p1, color='emphasis', width=2, head_len=12.0, head_width=9.0, scheme='okabe_ito', style=None)(或 opsannotate.get("arrow"))
从 `p0 到 p1 的箭头(轴用 :func:imagedraw.draw_line`,箭头为填充)。
> 以下的详细说明为原文 —— 摘要与标题已翻译。
Parameters
----------
p0, p1 : (x, y)
起点・先端。x=col, y=row。
head_len, head_width : float
矢じりの長さ・幅[px]。`0` で線分のみ。軸より矢じりが長い短距離の
矢印では、矢じりを軸長の 8 割まで相似に縮める(そうしないと
矢じりの根元が起点の手前に来て、軸が逆向きに描かれる)。
style : dict or None
軸線を引く :func:imagedraw.draw_line への素通し引数(破線など)。
Returns
-------
ndarray
Raises
------
ValueError
端点が非有限/一致、負の太さ・矢じり寸法、両端とも画像の外。
• dataset_conventions — 学習データセット規約の知識 — COCO / YOLO / VOC と外観検査での落とし穴
• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。
• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。
• 算法的正典(作者・年份)与用途见上面的族使用指南。
• annotate_gallery — py -3.11 examples/annotate_gallery.py
image2d 作为输入)text_box · leader_line · label_points · crosshair · legend_box · color_bar · scale_bar · axes_frame
pointer)leader_line · label_points · crosshair
*Provenance: annotate.py — ANNOTATE 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.