vamtoolbox.projector.Projector2DParallel#

Module Contents#

Classes#

Projector2DParallelAstra

Projector2DParallelPython

Attributes#

astra_available

vamtoolbox.projector.Projector2DParallel.astra_available = True#
class vamtoolbox.projector.Projector2DParallel.Projector2DParallelAstra(target_geo, proj_geo)#
forward(target)#

Foward projector operation (b = Ax)

backward(sinogram)#

Backward projector operation (x = A^Tb)

class vamtoolbox.projector.Projector2DParallel.Projector2DParallelPython(target_geo, proj_geo)#
generateOccSinogram()#

Create sinogram containing minimum values of ‘s’ within the occlusion map

Returns:

  • occ_sinogram (nd_array)

  • Npixels x Nangles

forward(target)#

Computes forward Radon transform of the target space object accounting for reduced projection contribution due to occlusion shadowing

Inputs#

target : nd_array Npixels x Npixels array that contains the target space object

returns:
  • projection (nd_array)

  • Npixels x Nangles array of forward Radon transform with occlusion shadowing

backward(b, clipping=True)#

Computes inverse Radon transform of projection accounting for reduced dose deposition due to occlusion shadowing

Inputs#

projection : nd_array Npixels x Nangles array that contains the projection space sinogram of the target

returns:
  • projection (nd_array)

  • Npixels x Npixels array of inverse Radon transform with occlusion shadowing

getOccShadow(i, angle, t, s)#
calcVisibility()#