https://github.com/jihyeonseong/fanbeam
2D CT Reconstruction with Fanbeam Geometry
https://github.com/jihyeonseong/fanbeam
Last synced: 3 months ago
JSON representation
2D CT Reconstruction with Fanbeam Geometry
- Host: GitHub
- URL: https://github.com/jihyeonseong/fanbeam
- Owner: jihyeonseong
- Created: 2024-12-30T03:55:34.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-30T04:09:25.000Z (6 months ago)
- Last Synced: 2025-02-01T01:11:21.217Z (5 months ago)
- Language: Cuda
- Size: 1.57 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 2D CT Reconstruction with Fanbeam Geometry
* Contributors: @fxnnxc and @jihyeonseong## Overview of Fanbeam Geometry
Fanbeam geometry is a common acquisition setup used in computed tomography (CT) reconstruction. In this geometry, X-rays are emitted from a single focal point (source) and spread out in a fan-shaped configuration, passing through the object being imaged before being detected by a linear array of detectors.
The main components of fanbeam geometry are:
* X-ray source: A point source emits a divergent beam of X-rays that form a fan-shaped pattern.
* Detector array: A 1D array of detectors is placed opposite the source to measure the attenuated X-ray intensities after they pass through the object.
* Fan angle ($\theta$): The angle of the X-ray beam divergence, which determines the spread of the rays within the fan.
* Source-to-object distance ($R_s$): The distance from the X-ray source to the center of the object being imaged.
* Source-to-detector distance ($R_d$): The distance from the X-ray source to the detector array.In fanbeam geometry, the X-ray paths are parameterized by the source angle $\beta$ (relative to a fixed reference axis) and the detector position. The measurement $p(\beta, s)$ at angle $\beta$ and detector position $s$ corresponds to the line integral of the attenuation coefficient $\mu(x, y)$ along the ray:
$$p(\beta, s) = \int_{L(\beta, s)} \mu(x, y) \, d\ell,$$
where:
* $L(\beta, s)$ is the ray path defined by the source angle $\beta$ and detector position $s$.
* $\mu(x, y)$ is the spatially varying attenuation coefficient of the object.## Running the codes
```
python test.py
```
You can set your hyperparameters as you want!