sinogram_design — TOMOGRAPHY layout op

数据种类:table(仅由参数决定的算子 —— 不接受图像或数据输入)

调用:import tomography; tomography.sinogram_design(n_angles=180, n_detectors=None, size=256, detector_pitch_mm=1.0, span_deg=180.0)(或 opstomography.get("sinogram_design"))

用法

这套扫描几何能解析什么、不能解析什么 —— 在动手之前

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

The axial counterpart of :func:visiondesign.imaging_budget and of

:func:interferometry.csi_design: no data goes in, only the geometry, and

what comes out are the limits that the geometry has already decided.

Returns a dict with, among others:

• `resolvable_feature_mm2 * pitch`: two detector samples per cycle is

the Nyquist floor, and no reconstruction algorithm recovers a detail finer

than the detector saw.

• `views_for_full_samplingceil(pi/2 * n_detectors)`, the classical

matching of angular to radial sampling (:data:VIEWS_PER_DETECTOR).

• `undersampling_factor — that number over n_angles`. **1.0 or below is

a fully sampled scan.** Above it you are doing sparse-view CT on purpose and

the reconstruction algorithm has to make up the difference; the measured

cost is in this module's docstring and in the test suite's break table.

• `streak_free_radius_px1 / d(theta) with d(theta)` in radians:

the radius, in pixels, at which the *azimuthal* sample spacing between

neighbouring views (`r * d(theta)`) grows past one sample. Outside it,

filtered back-projection lays down visible streaks. For 180 views over 180

degrees this is 57.3 px, i.e. a 256-px phantom is already streaking at its

corners. It does not depend on the detector pitch: the radius is

quoted in the same unit the sample spacing is, so the pitch cancels

(`pitch / d(theta)` is the same radius in millimetres, which is what an

earlier version returned under the pixel label — 28.6 "px" at 0.5 mm,

114.6 at 2 mm, for a geometry whose streak radius had not changed).

• `sinogram_bytes / elements` — what you are about to allocate.

• `verdict"fully sampled" / "sparse view"`.

:param n_angles: planned number of views.

:param n_detectors: planned detector bins; `None` -> enough to cover the

diagonal of a *size* x *size* image.

:param size: reconstruction grid side in pixels.

:param detector_pitch_mm: physical detector bin spacing.

:param span_deg: angular range of the scan.

:returns: dict of floats / ints / str.

:raises ValueError: on non-int counts, non-positive pitch or span.

参考(示例数据・文献)

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

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

• 算法的正典(作者・年份)与用途见上面的族使用指南

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

ct_reconstructionpy -3.11 examples/ct_reconstruction.py

tomography_reconstructpy -3.11 examples/tomography_reconstruct.py

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

同类别(layout)

projection_angles


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

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