blob_seeds — BLOB split op

Data kinds: image2dlabels2d

Call: import blob2d; blob2d.blob_seeds(distance: 'Any', h: 'float', connectivity: 'int' = 8) -> 'np.ndarray' (or opsblob.get("blob_seeds"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

h-maxima の種。**`hdistance` と同じ単位の絶対値**。

「高さ `h` 以上そびえている極大」だけを残し、連結成分に番号を振って返す。

融合した塊を割るときの種として使う。

**既存の `fs.op.xsk2_h_maxima と違う点**(poc_cell_counting` が

記録した穴):

• あちらは入力を `[0, 1]` に切り詰めるので、生の距離マップを渡すと

壊れる(2 px も 20 px も 1.0 になる)。ここは切り詰めない。

• あちらの `h0.05 + 0.3a` = 正規化画像に対する比なので、

画像に大きい物体が 1 つ入るだけで小さい物体側の実効 `h` が上がる

(実測で下限が 0.42 → 0.80 px へ動いた)。ここは画素(または物理単位)。

速さ: 再構成は連結成分ごとの外接箱の中でだけ回す。背景を通る

伝播が消えるので、512x512 に 200 個の円で 237.7 ms → 15.3 ms(15.5 倍)

結果は全画素一致(2026-09-06 実測)。

Parameters

----------

distance : array_like

2-D の実数場。ふつうは :func:blob_distance の出力。

h : float

そびえの高さ。`distance` と同じ単位で、0 より大きいこと

大きくすると種が減る(= 割りすぎが減り、割り残しが増える)。

connectivity : {4, 8}

極大の連結の取り方。

Returns

-------

numpy.ndarray

`int32` のラベル画像(背景 0、種 1..n)。

Detailed usage guide

blob_analysis 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)

• (none yet)

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

blob_features · blob_select · blob_select_largest · blob_split · blob_region · blob_boundaries · blob_overlay

Same category (split)

blob_distance · blob_split


*Provenance: blob2d.py — BLOB 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.