measure1d op• Data kinds: image → feature
• Call: fullseye.apply(img, "m1_measure_pairs", a=0.5, b=0.5) (the 2-D model is one image plus two scalar knobs a,b∈[0,1])
• HALCON equivalent: measure_pairs (the HALCON reference is a useful guide to its meaning and parameters)

*The figure is the actual output on a synthetic 128×128 input. Left: input, right: output. Point clouds are drawn as a top-down scatter (brightness = z), 1-D series as a line plot, volumes as the maximum-intensity projection along z, videos as the middle frame, complex images as magnitude; return values that are not pictures are shown as the values themselves.*
Sweeping knob a (0.1 / 0.5 / 0.9, the other knob at its default):
▸ m1_measure_pairs: knob a sweep (docs site)
Sweeping knob b (0.1 / 0.5 / 0.9, the other knob at its default):
▸ m1_measure_pairs: knob b sweep (docs site)
Counts rising-to-falling edge pairs (the two ends of a bright object) along a caliper line through the centre (equivalent to HALCON measure_pairs: extracts pairs of straight edges perpendicular to a rectangle/arc).
a is the line orientation (theta = a*pi). Edge detection is the same as m1_measure_pos (sub-pixel detection of gradient peaks), and b (0 to 1) is a threshold relative to the maximum amplitude. The edges exceeding the threshold are scanned in order, and each rising → falling polarity sequence is counted as 1 pair (feature, integer value). 0.0 if there are fewer than 2 edges.
• gallery2d_contour_measure family guide
• measurement_uncertainty — Measurement uncertainty and calibration — what it takes to claim you are measuring
• 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.
The program below has been verified to run (same input as the figure). In Studio's help this block becomes buttons that load and run it on the spot.
m1_measure_pairs 0.50 0.50
▸ Load this pipeline · Load & run
• gallery2d_contour_measure — py -3.11 examples/gallery2d_contour_measure.py
• poc_dimensional_inspection — py -3.11 examples/poc_dimensional_inspection.py
feature as input)measure1d)m1_measure_projection · m1_measure_pos · m1_measure_thresh · m1_fuzzy_measure_pos
*Provenance: ops.py — 2D 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.