gen_measure_rectangle2 — MEASURE1D caliper op

• Data kinds: none → measurehandle (an op determined by its arguments alone — it takes no image or data input)

• Call: import fullseye as fs; fs.ledger.gen_measure_rectangle2(row, col, phi, length1, length2, shape) (to call the implementation directly, import measuring1d; measuring1d.gen_measure_rectangle2(row, col, phi, length1, length2, shape); from the registry, opsmeasure1d.get("gen_measure_rectangle2"))

Usage

Defines a rotated measurement rectangle (the profile is sampled at 1 px spacing along the major axis in direction phi) (gen_measure_rectangle2). Number of samples n = round(2*length1)+1; the start point lies -(n-1)/2 px from the center. length2 is the averaging width across the profile [px].

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_barcode_1d — py -3.11 examples/poc_barcode_1d.py

• poc_battery_electrode_breathing — py -3.11 examples/poc_battery_electrode_breathing.py

• poc_calipers_under_illusion — py -3.11 examples/poc_calipers_under_illusion.py

• poc_dimensional_inspection — py -3.11 examples/poc_dimensional_inspection.py

• poc_screw_thread_metrology — py -3.11 examples/poc_screw_thread_metrology.py

• poc_solar_limb_darkening — py -3.11 examples/poc_solar_limb_darkening.py

• poc_tree_ring_dendro — py -3.11 examples/poc_tree_ring_dendro.py

• poc_water_level — py -3.11 examples/poc_water_level.py

• poc_weld_bead_profile — py -3.11 examples/poc_weld_bead_profile.py

• poc_weld_radiograph_porosity — py -3.11 examples/poc_weld_radiograph_porosity.py

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

translate_measure · measure_pos · measure_pairs · fuzzy_measure_pairing

Same category (caliper)

gen_measure_arc · translate_measure · measure_pos · measure_pairs · fuzzy_measure_pairing


*Provenance: measuring1d.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.