vol_wall_thickness — 3D probe op

• 数据种类:voxel → signal

• 调用: import fullseye as fs; fs.ledger.vol_wall_thickness(vol, p0, p1, sigma=1.0, threshold=0.1, spacing=None)(要直接调用实现,import volprobe; volprobe.vol_wall_thickness(vol, p0, p1, sigma=1.0, threshold=0.1, spacing=None);从台账取用则 ops3d.get("vol_wall_thickness"))

• 经台账调用的返回值: fullseye.ledger.vol_wall_thickness(...) 只返回声明的 out 类型 signal 的值(底层函数还会返回辅助信息)。需要被丢弃的部分时,使用 fullseye.ledger.vol_wall_thickness.raw(...),或直接调用 volprobe.vol_wall_thickness。

用法

沿探针 p0 -> p1 的壁厚 —— 工业 CT 计量本身。

> 以下的详细说明为原文 —— 摘要与标题已翻译。

Runs vol_edge_probe (all polarities) and pairs consecutive opposite-polarity edges *rising -> falling* in probe order: each pair is one traversal of bright material (entry surface -> exit surface), and its thickness is the difference of the two edges' t_mm (physical units — mm with a spacing, voxels without). A probe crossing both walls of a pipe therefore yields two thicknesses.

Edges that do not complete a rising -> falling pair (a probe starting or ending inside material, consecutive same-polarity edges) are ignored, not paired creatively — the count of returned thicknesses can be smaller than len(edges) // 2. Dark walls on a bright background need an inverted volume (the pairing convention is bright material).

Returns a list of float thicknesses, in probe order (possibly empty). Raises ValueError on the same malformed inputs as vol_edge_probe.

参考(示例数据、文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

可运行的示例(实际调用该算子并已验证的样例)

• wall_thickness_probe — py -3.11 examples_3d/wall_thickness_probe.py

类型可衔接的下一个算子(可接受 signal 作为输入)

fuse_to_voxel

同类别(probe)

vol_profile_line · vol_edge_probe


*Provenance: volprobe.py — 3D 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.