paper op• Data kinds: none → table (an op determined by its arguments alone — it takes no image or data input)
• Call: import annotate; annotate.annotate_dimension_layout(p0, p1, offset=20.0, extension=6.0, text_gap=8.0) (or opsannotate.get("annotate_dimension_layout"))
Returns a table (dict): the geometry of a dimension line (line, extension lines, text position) in closed form.
> The detailed description below is the original text — the summary and the headings are translated.
`n を p0→p1 の左法線(画面座標)として、寸法線は p + n*offset`、補助線は
`p から p + n*(offset+extension)、文字は寸法線の中点から n*text_gap`。
`offset` の符号で側を選ぶ。
Returns
-------
dict
``{"p0","p1","line":(q0,q1),"ext0","ext1","text_xy","normal",
"angle_deg","length_px"}``。
Raises
------
ValueError
2 点が一致(向きが無い)、非有限、offset が 0。
• figure_annotation family guide
• dataset_conventions — 学習データセット規約の知識 — COCO / YOLO / VOC と外観検査での落とし穴
• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).
• Operator provenance and references — the sources of the research/methods this op family came from.
• The canonical algorithm (author, year) and its uses are named in the family usage guide above.
• paper_figure — py -3.11 examples/paper_figure.py
table as input)—
paper)annotate_leader_layout · annotate_leader · annotate_markers · annotate_legend · annotate_dimension · annotate_angle_layout · annotate_angle · annotate_scale_bar_layout
*Provenance: annotate.py — ANNOTATE operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.