sairyscan.reconstruction.SpitfireJoinDeconv

sairyscan.reconstruction.SpitfireJoinDeconv#

class sairyscan.reconstruction.SpitfireJoinDeconv(psf: Tensor, weight: float = 0.6, reg: float = 0.5, detector_weights: str = 'mean')#

Gray scaled image deconvolution with the Spitfire algorithm

Parameters:
  • psf – Point spread function

  • weight – Model weight between hessian and sparsity. Value is in ]0, 1[

  • reg – Regularization weight. Value is in [0, 1]

  • detector_weights – Method to compute the detectors weights

__init__(psf: Tensor, weight: float = 0.6, reg: float = 0.5, detector_weights: str = 'mean')#

Methods

__init__(psf[, weight, reg, detector_weights])

add_observer(observer)

Add an observer

notify(message)

Notify progress to observers

progress(value)

Notify progress to observers

run_2d(image)

Do the 2D reconstruction