morph_close3d — 3D morphology op

Data kinds: voxelvoxel

Call: import fullseye as fs; fs.ledger.morph_close3d(vol, r=1, device='cpu', se='cube') (to call the implementation directly, import match3d; match3d.morph_close3d(vol, r=1, device='cpu', se='cube'); from the registry, ops3d.get("morph_close3d"))

GPU: this op has a GPU path (device="cuda")

Usage

3-D closing = dilation → erosion. Fills the dark structures (gaps and cavities) smaller than the structuring element.

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

`morph_erode3d(morph_dilate3d(vol, r, ...), r, ...)。出力は入力以上(close >= vol`)で、

SE(一辺 `2r+1` の cube か半径 r の ball)より小さい暗い穴・亀裂・面の隙間が周囲の

明るさで埋まり、大きな暗領域は残る(等冪)。境界外は dilation で −∞、erosion で +∞ 扱い

なので端が勝手に埋まることはない。`se は "cube"/"ball"(他は ValueError)、device` は

cube+torch のときだけ有効。返り値 `(D,H,W)` float32 numpy。

用途: `close − volmorph_blackhat3d`(小さな暗構造の抽出)。点群 splat の表面の

穴埋め、`signed_distance_field` 前の占有の穴埋め。

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.

Runnable examples (verified samples that actually call this op)

morphology_3dpy -3.11 examples_3d/morphology_3d.py

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

voxel_to_mips · voxel_to_mesh · signed_distance_field · to_points · sobel3d · hessian3d · curvature_maps · edt_jfa

Same category (morphology)

morph_dilate3d · morph_erode3d · morph_open3d · morph_gradient3d · morph_tophat3d · morph_blackhat3d


*Provenance: match3d.py — 3D 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.