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.