vol_profile_line — 3D probe op

데이터 종류: voxelpairs

호출: import fullseye as fs; fs.ledger.vol_profile_line(vol, p0, p1, n=None, spacing=None, order=1)(구현을 직접 호출하려면 import volprobe; volprobe.vol_profile_line(vol, p0, p1, n=None, spacing=None, order=1), 원장에서 가져오려면 ops3d.get("vol_profile_line"))

원장 경유의 반환값: fullseye.ledger.vol_profile_line(...) 는 **선언된 out 형 pairs 의 값만** 반환합니다(실제 함수는 보조 정보도 반환). 버려진 쪽이 필요하면 fullseye.ledger.vol_profile_line.raw(...) 를 쓰거나 volprobe.vol_profile_line 를 직접 호출하세요.

사용법

직선 프로브 `p0 -> p1` 을 따른 농도 프로파일.

> 아래 상세 설명은 원문입니다 —— 요약과 제목은 번역되어 있습니다.

The segment between the two `(z, y, x)` voxel-space points (fractional

coordinates allowed) is sampled at `n` evenly-spaced positions with

spline interpolation of the given `order (scipy.ndimage.map_coordinates`;

1 = trilinear, the default). `n` defaults to one sample per unit of

*index-space* length (~1 voxel-step resolution regardless of spacing).

Parameters

----------

vol : (D, H, W) array — the volume (float64, finite; fail-closed otherwise).

p0, p1 : (z, y, x) — probe start / end, inside the volume on every axis.

n : int, optional — sample count (>= 2). Default `ceil(index_length) + 1`.

spacing : (sz, sy, sx) or volio.VolumeMeta, optional — voxel size in mm.

order : int in [0, 5] — interpolation spline order (1 = trilinear).

Returns

-------

(t_mm, values) : two float64 arrays of length `n. t_mm[i]` is the

*physical* distance of sample `i from p0` — the cumulative Euclidean

norm of the differences of the physical sample coordinates

(`index * spacing`), exact under anisotropic spacing; in plain voxel

units when `spacing is None. values[i]` is the interpolated gray

value.

Raises `ValueError` on a malformed volume, an endpoint outside the

volume, coincident endpoints (`p0 == p1: no probe direction), n < 2`

or an invalid `order / spacing`.

참고(샘플 데이터·문헌)

• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.

• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.

실행 가능한 예제(이 연산자를 실제로 호출하는 검증된 샘플)

wall_thickness_probepy -3.11 examples_3d/wall_thickness_probe.py

타입이 이어지는 다음 연산자(pairs 를 입력으로 받는 것)

fuse_to_voxel

같은 카테고리(probe)

vol_edge_probe · vol_wall_thickness


*Provenance: volprobe.py — 3D 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*

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