mirtorch.linear.ct.Bdd
- class mirtorch.linear.ct.Bdd(size_in: Sequence[int], size_out: Sequence[int], DSD: int, DS0: int, pSize: float, dSize: float, nPix: int, nDet: int, angle: Tensor)
Forward and back-projection methods for CT image reconstruction. Designed for use with the Michigan Image Reconstruction Toolbox (MIRT) or similar frameworks.
- DSD
int, distance from source to detector
- DS0
int, distance from source to origin
- pSize
float, pixel size i.e. distance from one pixel to the next
- dSize
float, detector size i.e. distance from one detector to the next
- nPix
int, number of pixel boundaries
- nDet
int, number of detector boundaries
- angle
tensor with dimension [1, ny], vector of projection view angles in radians
- __init__(size_in: Sequence[int], size_out: Sequence[int], DSD: int, DS0: int, pSize: float, dSize: float, nPix: int, nDet: int, angle: Tensor)
Initiate the linear operator.
Methods
__init__
(size_in, size_out, DSD, DS0, pSize, ...)Initiate the linear operator.
adjoint
(x)Apply the adjoint operator
apply
(x)Apply the forward operator
common
(proj[, device])Common sequence in both forward and back projections :param proj: int, one projection index in angle vector
to
(*args, **kwargs)Copy to different devices
Attributes
H
Apply the (Hermitian) transpose