Bases: object
Implementation of the projector interface using the CPU.
A projector needs to implement:
You can use this class as an abstracted weight matrix \(W\): multiplying an instance proj of this class by an image results in a forward projection of the image, and multiplying proj.T by a sinogram results in a backprojection of the sinogram:
proj = Projector(...)
fp = proj*image
bp = proj.T*sinogram
| Parameters: | 
 | 
|---|
Backproject a sinogram.
| Parameters: | sinogram (numpy.ndarray) – The sinogram data | 
|---|---|
| Returns: | numpy.ndarray – The backprojection. |