translate_measure — MEASURE1D caliper op

• Data kinds: measurehandle → measurehandle

• Call: import fullseye as fs; fs.ledger.translate_measure(measure, drow, dcol) (implementation को सीधे call करना हो तो import measuring1d; measuring1d.translate_measure(measure, drow, dcol), registry से लेना हो तो opsmeasure1d.get("translate_measure"))

उपयोग

measurement object को translate करता है (translate_measure)।

rows / cols में (drow, dcol) [px] जोड़कर shallow copy लौटाता है (input की dict नहीं बदलती)। gen_measure_rectangle2 का origin और gen_measure_arc का center भी उतना ही खिसकाया जाता है, इसलिए दोनों सिरों के विस्तार (_extended_coords) की geometry नहीं खिसकती। phi / dir / angles / radius / width / spacing जैसे के तैसे रहते हैं -- rotation या radius में बदलाव नहीं होता।

• measure: gen_measure_rectangle2 / gen_measure_arc की dict। rows / cols वाली कोई भी dict भी चलती है (बाकी keys जैसी की तैसी गुज़रती हैं)।

• drow, dcol: displacement [px]। दशमलव चल सकता है।

• shape (image का आकार) दोबारा नहीं जाँचा जाता, इसलिए image से बाहर जाने पर भी exception नहीं उठता, बस measure_pos किनारे के मानों से extrapolate करता है।

• return value: उसी संरचना की dict (measurehandle type)।

सामान्य उपयोग: registration से मिला workpiece का खिसकाव measuring line पर लागू करके फिर measure_pos / measure_pairs चलाएँ। झुकाव बदलता हो तो gen_measure_rectangle2 को नए phi से फिर से बनाएँ।

उपयोग की विस्तृत guide

• subpixel_measuring family guide

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• poc_dimensional_inspection — py -3.11 examples/poc_dimensional_inspection.py

वे अगले ops जिनसे type जुड़ता है (measurehandle को input के रूप में लेते हैं)

measure_pos · measure_pairs · fuzzy_measure_pairing

इसी category के (caliper)

gen_measure_rectangle2 · gen_measure_arc · measure_pos · measure_pairs · fuzzy_measure_pairing


*Provenance: measuring1d.py — MEASURE1D operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.