apply op• Data kinds: metrologymodel → metrologymodel
• Call: import fullseye as fs; fs.ledger.align_metrology_model(model, drow=0.0, dcol=0.0) -> 'dict' (to call the implementation directly, import metrology; metrology.align_metrology_model(model, drow=0.0, dcol=0.0) -> 'dict'; from the registry, opsmeasure1d.get("align_metrology_model"))
> This operator's description has not been translated yet. The original text follows as it is.
計測モデルの全オブジェクトを平行移動して整列(align_metrology_model)。
全オブジェクトの位置に `(drow, dcol)` [px] を足した 新しいモデル を返す
(入力の dict は書き換えない)。`line は両端点 (row1, col1)・(row2, col2)`
が動き、`circle / rect / ellipse は中心 (row, col)` が動く。半径・
半辺長・`phi・n` は変えない ―― 回転とスケールは扱わない。
• `drow, dcol`: 変位 [px]。既定 0(写しを作るだけになる)。
• 型は検証しない。`add_metrology_object_generic` で積んだ未知型は
`params[0]/params[1]` を row/col とみなして動かす。
• 返り値: `{"objects": [...]}(metrologymodel` 型)。
典型例: 形状マッチングや基準マークの検出で得た位置ずれをここで
モデルに反映し、`apply_metrology_model` を掛ける。傾いたワークには使えない
(参照形状の法線が実物の法線からずれ、探索半幅 `measure_length` の外に出る)。
• subpixel_measuring family guide
• 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.
• poc_dimensional_inspection — py -3.11 examples/poc_dimensional_inspection.py
metrologymodel as input)add_metrology_object_line_measure · add_metrology_object_circle_measure · add_metrology_object_rectangle2_measure · add_metrology_object_ellipse_measure · add_metrology_object_generic · apply_metrology_model
apply)*Provenance: metrology.py — MEASURE1D 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.