fullseye

annotate_outline_layout — ANNOTATE paper op

使い方

table(dict)を返す: 2 値マスクの境界ループ(画素の辺に沿う閉多角形)と重心。

輪郭は :func:contours_xld._trace_mask_boundaries(外側 + 穴、成分ごと)。 多角形の面積はマスクの画素数と厳密に一致する。

Returns

dict {"contours": [(K,2) の (x,y)], "centroid": (x,y), "area": int, "bbox": (x,y,w,h), "n_loops": int}

Raises

ValueError mask が 2-D でない、真の画素が無い、非有限。

詳しい使い方ガイド

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

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

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

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

同カテゴリ(paper)

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


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

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