apply_metrology_model — MEASURE1D apply op

Data kinds: metrologymodel × image2dtable

Call: import metrology; metrology.apply_metrology_model(model, image, measure_length=6.0, sigma=1.0, threshold=0.05) -> 'list' (or opsmeasure1d.get("apply_metrology_model"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

各計測オブジェクトの参照形状の法線に沿ってサブピクセルエッジを測り、形状を

再フィットして結果を返す(apply_metrology_model)。

`measure_length = 法線方向の探索半幅 [px]、sigma` = プロファイル平滑化、

`threshold` = 採用するエッジの最小グレー差(画像のグレー単位)。

各結果 dict: `type / edge_points (M,2) / amplitudes` (M,) 符号つきグレー差 /

`score = 平均 |振幅| / centroid / params`(再フィット形状; 直線は

row1,col1,row2,col2,angle_deg / 円は row,col,radius / 楕円は row,col,phi,ra>=rb /

矩形は row,col,phi,l1>=l2)/ `rms` = フィット残差 [px]。エッジ点が足りず

フィットできない場合は `params=None, rms=inf, error` に理由を入れる

(他オブジェクトの計測は続行)。楕円・矩形の `phi` は長軸(ra / l1)の向き。

Detailed usage guide

subpixel_measuring family guide

References (sample data, literature)

• 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.

Runnable examples (verified samples that actually call this op)

poc_dimensional_inspectionpy -3.11 examples/poc_dimensional_inspection.py

Ops the type connects to (they accept table as input)

Same category (apply)

align_metrology_model


*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.