sairyscan.enhancing.SpitfireDeconv

sairyscan.enhancing.SpitfireDeconv#

class sairyscan.enhancing.SpitfireDeconv(psf: Tensor, weight: float = 0.6, reg: float = 0.995)#

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]

__init__(psf: Tensor, weight: float = 0.6, reg: float = 0.995)#

Methods

__init__(psf[, weight, reg])

add_observer(observer)

Add an observer

notify(message)

Notify progress to observers

progress(value)

Notify progress to observers

run_2d(image)

Do the deconvolution for the 2D case