PSFGenerator#

class deepinv.physics.generator.PSFGenerator(psf_size=(31, 31), num_channels=1, **kwargs)[source]#

Bases: PhysicsGenerator

Base class for generating Point Spread Functions (PSFs).

Parameters:
  • psf_size (tuple) – the shape of the generated PSF in 2D (kernel_size, kernel_size). If an int is given, it will be used for both dimensions.

  • num_channels (int) – number of images channels. Defaults to 1.

Examples using PSFGenerator:#

3D diffraction PSF

3D diffraction PSF

A tour of blur operators

A tour of blur operators

Imaging inverse problems with adversarial networks

Imaging inverse problems with adversarial networks