threshold_triangle — SEGMENTATION threshold op

• Data kinds: image2d → table

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

उपयोग

triangle method (Zack–Rogers–Latt 1977): peak (b_p, h_p) और लंबी tail वाले छोर की bin (b_e, 0) को जोड़ने वाली line से बीच की bin (b, h_b) तक की sign वाली लंबवत दूरी जिस bin पर अधिकतम है, वही threshold है (line के नीचे धनात्मक)। लौटाता है: threshold (उस bin का केंद्र), mask = image > threshold, bin, distance (हर bin की दूरी, सीमा के बाहर nan)। छोर की ऊँचाई 0 और tail का पक्ष चुनने का तरीका skimage / ImageJ जैसी ही परिपाटी है (मूल स्रोत की पुष्टि बाकी)।

उपयोग की विस्तृत 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 · fisher_lda_score

इसी category के (threshold)

threshold_isodata · threshold_kittler · threshold_kapur


*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.