ring_artifact_apply — TOMOGRAPHY artifact op

Datenarten: sinogramsinogram

Aufruf: import tomography; tomography.ring_artifact_apply(sinogram, gain_sigma=0.02, seed=0, offsets=None) (oder opstomography.get("ring_artifact_apply"))

Verwendung

Gibt dem Detektor einen Verstärkungsfehler pro Bin — die Quelle von Ringartefakten.

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

A detector bin whose gain is `g reports I = g I_true`, so after the

logarithm the line integral picks up a constant offset `-ln g` at that

bin, the same at every angle. Back-projecting a constant column smears it

around the rotation axis, and the reconstruction grows a ring at the radius

that bin's rays are tangent to. One bad pixel, one perfect circle.

The offsets are drawn once from `N(0, gain_sigma)` with a fixed *seed* and

applied to every row, because the whole point is that the error does not

vary with angle — that is what distinguishes a ring from noise, and what makes

:func:ring_artifact_remove possible.

:param sinogram: `(n_angles, n_detectors)`.

:param gain_sigma: standard deviation of the per-bin offset, `>= 0`.

:param seed: RNG seed; there is no `None` (determinism is a contract here).

:param offsets: explicit `(n_detectors,)` offsets; overrides the random draw.

:returns: `(n_angles, n_detectors)` float64 sinogram.

:raises ValueError: on a negative sigma, a non-int seed, or an *offsets* whose

length is not the detector count.

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.

• Der kanonische Algorithmus (Autor, Jahr) und seine Anwendungen stehen im Familienleitfaden oben.

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

ct_reconstructionpy -3.11 examples/ct_reconstruction.py

Typkompatible Folge-Operatoren (nehmen sinogram als Eingabe)

backproject_sinogram · filtered_backprojection · sart_reconstruct · beam_hardening_apply · beam_hardening_correct · ring_artifact_remove · metal_trace_interpolate · sinogram_center_of_rotation

Gleiche Kategorie (artifact)

beam_hardening_apply · beam_hardening_correct · ring_artifact_remove · metal_trace_interpolate


*Provenance: tomography.py — TOMOGRAPHY 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.