ellipsoid_phantom — TOMOGRAPHY ct_scan op

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

• 调用: import fullseye as fs; fs.ledger.ellipsoid_phantom(shape=(128, 128, 128), ellipsoids=None, supersample=2)(要直接调用实现,import ctscan; ctscan.ellipsoid_phantom(shape=(128, 128, 128), ellipsoids=None, supersample=2);从台账取用则 opstomography.get("ellipsoid_phantom"))

• GPU:无(仅 CPU 参考实现)

用法

将若干均匀椭球之和栅格化到 (Z, Y, X) 网格上。

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

The normalised cube [-1, 1]^3 maps onto the grid with half-width X/2 voxels on every axis, so voxels stay cubic. Each voxel is the mean of supersample^3 sub-samples, so an edge voxel carries its true volume fraction.

:param shape: (Z, Y, X), or one int for a cube. :param ellipsoids: (N, 8) rows; None gives SHEPP_LOGAN_3D. :param supersample: anti-alias factor per axis, 1 .. 4. :returns: float64 volume. :raises ValueError: on a degenerate ellipsoid or an oversized grid.

参考(示例数据、文献)

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

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

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

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

• ct_scan_modes — py -3.11 examples/ct_scan_modes.py

• poc_ct_casting_sparse_views — py -3.11 examples/poc_ct_casting_sparse_views.py

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

radon_volume · ct_forward_project

同类别(ct_scan)

ct_scan_geometry · shepp_logan_3d · ellipsoid_projections · ct_forward_project · ct_adjoint_project · fdk_reconstruct · sirt_reconstruct · os_sart_reconstruct


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

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