apply_metrology_model — MEASURE1D apply op

• Data kinds: metrologymodel × image2d → table

• Call: import fullseye as fs; fs.ledger.apply_metrology_model(model, image, measure_length=6.0, sigma=1.0, threshold=0.05) -> 'list' (to call the implementation directly, import metrology; metrology.apply_metrology_model(model, image, measure_length=6.0, sigma=1.0, threshold=0.05) -> 'list'; from the registry, opsmeasure1d.get("apply_metrology_model"))

Usage

Measures subpixel edges along the normals of each metrology object's reference shape, refits the shape and returns the result (apply_metrology_model).

measure_length = search half-width along the normal [px], sigma = profile smoothing, threshold = minimum grey difference of edges to accept (in the image's grey units). Each result dict: type / edge_points (M,2) / amplitudes (M,) signed grey differences / score = mean |amplitude| / centroid / params (refitted shape; line:

row1,col1,row2,col2,angle_deg / circle: row,col,radius / ellipse: row,col,phi,ra>=rb /

rectangle: row,col,phi,l1>=l2) / rms = fit residual [px]. If there are not enough edge points to fit, params=None, rms=inf, and the reason goes into error (measurement of the other objects continues). phi of ellipses and rectangles is the orientation of the long axis (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_calipers_under_illusion — py -3.11 examples/poc_calipers_under_illusion.py

• poc_dimensional_inspection — py -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.