morph_skiz — MV morphology op

• Data kinds: mask → mask

• Call: import fullseye as fs; fs.ledger.morph_skiz(region) (to call the implementation directly, import mvmorph; mvmorph.morph_skiz(region); from the registry, opsmv.get("morph_skiz"))

• HALCON equivalent: morph_skiz (the HALCON reference is a useful guide to its meaning and parameters)

• GPU: none (CPU reference implementation only)

Usage

Compute the boundaries of the zones of influence (SKIZ) of the components in Euclidean distance.

> The detailed description below is the original text — the summary and the headings are translated.

背景の各画素について最も近い連結成分(8 連結)の集合を求め、(1) 同距離の成分が 2 つ以上ある画素と、(2) 4 近傍の隣と集合が重ならない対のうち、自分の成分から遠い側(等しければ両方)の画素を境界にする。規則は対の両側を同じに扱うので、境界は像の上下・左右の反転と転置に対して対称(偶数幅の隙間では中央の 2 列、奇数幅では中央の 1 列)。その代わり線は 1 画素幅とは限らず、同距離の画素から 1 画素のひげ(端点)が出やすい(実写の金属組織 168 枚で、片側の規則の 265 本に対し 1,116 本)。1 画素幅の線や端点の数が要るなら、後段で細線化すること。連結成分が 1 つなら境界は無く、全部 False を返す(理由: 影響圏が 1 つで境界が無い)。空の入力(region が 0 要素)は ValueError。

Args:

region: 2-D の領域。

Returns:

region と同じ形の bool 配列。

Detailed usage guide

• machine_vision_classics family guide

References (sample data, literature)

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

Runnable examples (verified samples that actually call this op)

• machine_vision_tour — py -3.11 examples/machine_vision_tour.py

• poc_real_grain_skiz — py -3.11 examples/poc_real_grain_skiz.py

Ops the type connects to (they accept mask as input)

hit_or_miss_golay · hit_or_miss_seq · thickening_hit_miss · thickening_golay · thickening_seq · morph_hat · opening_seg · update_bg_esti

Same category (morphology)

golay_elements · hit_or_miss_golay · hit_or_miss_seq · thickening_hit_miss · thickening_golay · thickening_seq · morph_hat · opening_seg


*Provenance: mvmorph.py — MV 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.