difference — 2D nary op

• Data kinds: region × region → region

• Call: यह op 2 inputs लेता है, इसलिए इसे fullseye.apply से नहीं चलाया जा सकता (वह एक-image model है)। g = fullseye.FullseyeGraph(); g.add("out", "difference", ["$in1", "$in2"], a=0.5, b=0.5); g.run({"$in1": img1, "$in2": img2}, terminal="out") ($ से शुरू होने वाले नाम बाहर से दिए जाने वाले inputs हैं)

• HALCON समकक्ष: difference (अर्थ और parameters समझने के लिए HALCON reference उपयोगी है)

उपयोग

2 regions का difference (पहले में हैं पर दूसरे में नहीं, ऐसे pixels)। HALCON के difference के समकक्ष। क्रम मायने रखता है (घटाने वाले और घटाए जाने वाले को बदलने पर अलग परिणाम)। a, b का उपयोग नहीं होता।

संदर्भ (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 के स्रोत।

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

• (अभी कुछ नहीं)

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

identity · reg_erode · reg_dilate · reg_open · reg_close · fill_holes · select_largest · remove_small

इसी category के (nary)

add_image · sub_image · mult_image · div_image · abs_diff_image · max_image · min_image · bit_and


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

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