LION.operators.ct.fdk

LION.operators.ct.fdk(sino, op, clip=True, differentiable=False)[source]

FDK (fan or cone beam) or FBP (parallel beam) reconstruction of sino: batched (B, C, angles, detectors) or one (C, angles, detectors) sample, the result laid out the same way.

op: the CT operator, or a Geometry to build it from. clip: set negative values to zero. differentiable: the reconstruction supports autograd with respect to sino (the backprojection goes through tomosipo’s autograd wrapper), e.g. for FDK inside a network trained end to end; slightly slower and uses more memory.