area_opening_attr — SEGMENTATION graph op

• Data kinds: image2d → table

• Call: import fullseye as fs; fs.ledger.area_opening_attr(image, threshold: 'float' = 16.0, *, attribute: 'str' = 'area', connectivity: 'int' = 4) -> 'Dict[str, object]' (implementation को सीधे call करना हो तो import seggraph; seggraph.area_opening_attr(image, threshold: 'float' = 16.0, *, attribute: 'str' = 'area', connectivity: 'int' = 4) -> 'Dict[str, object]', registry से लेना हो तो opssegmentation.get("area_opening_attr"))

उपयोग

attribute opening (Salembier et al. 1998): component tree के node में से attribute < threshold वालों को हटाता है, और हर pixel को "attribute ≥ threshold वाले सबसे निकट ancestor" का मान देता है।

attribute = "area" (pixel count; skimage के area_opening जैसा, "threshold से कम area वाली चमकीली संरचनाएँ हटाएँ") या "diameter" (bounding rectangle की लंबी भुजा, skimage का diameter_opening)। दोनों 2-valued set के increasing attributes हैं, इसलिए परिणाम algebraic opening है = idempotent, anti-extensive और increasing। component के अंदर के maximum पर निर्भर "height" set का attribute नहीं है (h-maxima की तरह) और idempotent नहीं होती, इसलिए शामिल नहीं की गई (measured: 2nd बार में values बदल गए)। लौटाता है: image (opening का परिणाम), n_nodes_kept / n_nodes, removed (जिन pixels का value घटा उनकी संख्या)।

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

• halcon_segmentation family guide

पृष्ठभूमि guides (इस op के पीछे की physics और conventions)

• graph_hierarchy_and_thresholds — Graph, hierarchy और threshold theorems से segmentation — क्या exact है, और partition कहाँ टूटता है

संदर्भ (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_graph_hierarchy_segmentation — py -3.11 examples/poc_graph_hierarchy_segmentation.py

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

class_ndim_norm

इसी category के (graph)

graph_cut_binary · alpha_expansion · statistical_region_merging · max_tree · quasi_flat_zones · alpha_tree · hierarchical_watershed · ultrametric_contour_map


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

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