feature op• Data kinds: voxel → sdf
• Call: import fullseye as fs; fs.ledger.edt_jfa(seed_bool, device='cpu') (to call the implementation directly, import match3d; match3d.edt_jfa(seed_bool, device='cpu'); from the registry, ops3d.get("edt_jfa"))
• Return value through the ledger: fullseye.ledger.edt_jfa(...) returns **only the declared out type sdf** (the underlying function also returns auxiliary values). When you need what was dropped, use fullseye.ledger.edt_jfa.raw(...) or call match3d.edt_jfa directly.
• GPU: this op has a GPU path (device="cuda")
3-D Euclidean distance transform via the Jump Flooding Algorithm (GPU). Each voxel → the distance to its nearest seed.
> The detailed description below is the original text — the summary and the headings are translated.
実測で scipy EDT と厳密一致(max|err|=0、N≤160・JFA+2)。scipy(C 実装)は小さい N では
速いが、GPU-JFA は N≥96 で追い抜く(RTX5090 実測 96→2.6× / 128→4.7×)。全 voxel 並列で
GPU 常駐でき、chamfer を CPU 往復なしの全 GPU パイプラインにするのが本質。末尾の step=1 を
2 パス(JFA+2)にして大 N の近似誤差も消す。返り値 距離場 (D,H,W) の torch tensor。
引数 `seed_bool は (D,H,W)` の bool(True=seed、距離 0)。返り値は **torch float32
tensor** `(D,H,W)(device 上、numpy ではない。台帳経由 fs.ledger.edt_jfa` では
numpy に変換される)。距離は voxel 中心間のユークリッド距離(voxel 単位)。
seed が 1 つも無いと全 voxel が 1e6 に飽和する(例外は出ない)。26 方向 × log2(max(D,H,W))
段のジャンプなので、メモリは `(3,D,H,W)` float32 が数枚分。
用途: `signed_distance_field(両側)、match_chamfer_3d(edt="jfa")`。CPU 版は
`scipy.ndimage.distance_transform_edt(~seed)` と同じ値。
• 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.
• diff_features — py -3.11 examples_3d/diff_features.py
sdf as input)sdf_to_occupancy · fuse_to_voxel · integrate · extract_surface_points · query_distance · sdf_union · sdf_intersect · sdf_subtract
feature)sobel3d · hessian3d · curvature_maps · vol_frangi · vol_local_std · vol_local_thickness · vol_orientation_coherence · vol_euler_number
*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.