fullseye

vol_gaussian_psf — 3D restoration op

使い方

A normalised (sums to 1) 3-D Gaussian PSF kernel. sigma is a scalar or

(sz, sy, sx) in voxels; the kernel spans +-truncate*sigma per axis (odd size, centre at the middle voxel). The convenient companion to :func:vol_richardson_lucy when the instrument PSF is well approximated as Gaussian. Kernels above PSF_MAX_ELEMENTS (~256^3) raise ValueError — a PSF that large is an input mistake, not an instrument.

形: 各軸の半径 r = ceil(truncate * sigma)、辺長 2r + 1(奇数)の (2rz+1, 2ry+1, 2rx+1) float64 配列。軸順は (z, y, x) で、sigma(sz, sy, sx) で渡すとその順に対応する(異方 PSF)。3 本の 1-D Gaussian exp(-x^2 / (2 sigma^2)) の外積を全体和で割るので、合計はちょうど 1、中心 voxel が最大値。単位は voxel(mm の PSF 幅は spacing で割ってから渡す)。

引数と検証(ValueError):

使いどころ: vol_richardson_lucy(vol, psf)psf。RL 側でも合計 1 に 再正規化するので、ここで作ったカーネルをそのまま渡してよい。

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(voxel を入力に取れる)

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

同カテゴリ(restoration)

vol_richardson_lucy


Provenance: volrestore.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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