vol_profile_line — 3D probe op

Datenarten: voxelpairs

Aufruf: import fullseye as fs; fs.ledger.vol_profile_line(vol, p0, p1, n=None, spacing=None, order=1) (die Implementierung direkt: import volprobe; volprobe.vol_profile_line(vol, p0, p1, n=None, spacing=None, order=1); aus dem Register: ops3d.get("vol_profile_line"))

Rückgabewert über das Register: fullseye.ledger.vol_profile_line(...) liefert **nur den Wert des deklarierten Out-Typs pairs** (die zugrunde liegende Funktion gibt zusätzlich Hilfsinformationen zurück). Wird das Verworfene gebraucht, nutze fullseye.ledger.vol_profile_line.raw(...) oder rufe volprobe.vol_profile_line direkt auf.

Verwendung

Grauwertprofil entlang der geraden Sonde `p0 -> p1`.

> Die ausführliche Beschreibung unten ist der Originaltext — Zusammenfassung und Überschriften sind übersetzt.

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`.

Referenzen (Beispieldaten, Literatur)

• Katalog der Beispieldaten (Download-URLs / Lizenzen) — 2-D nutzt skimage.data (BSD/Public Domain) plus synthetische Bilder, 3-D nennt Download-URLs echter Datenquellen (Stanford, PDS, …).

• Herkunft und Literatur der Operatoren — die Quellen der Forschung/Verfahren, auf denen diese Operatorfamilie beruht.

Ausführbare Beispiele (verifizierte Samples, die diesen Operator wirklich aufrufen)

wall_thickness_probepy -3.11 examples_3d/wall_thickness_probe.py

Typkompatible Folge-Operatoren (nehmen pairs als Eingabe)

fuse_to_voxel

Gleiche Kategorie (probe)

vol_edge_probe · vol_wall_thickness


*Provenance: volprobe.py — 3D Operator-Registry. Diese Notiz wird von tools/opdocs.py md erzeugt (nicht von Hand bearbeiten).*

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