deepinv.models#

This module contains a collection of models for denoising and reconstruction. Please refer to the user guide for more information.

Base Classes#

User Guide: refer to Introduction for more information.

deepinv.models.Denoiser

Base class for denoiser models.

deepinv.models.Reconstructor

Base class for reconstruction models.

Classical Denoisers#

User Guide: refer to Classical denoisers for more information.

deepinv.models.BM3D

BM3D denoiser.

deepinv.models.MedianFilter

Median filter.

deepinv.models.TVDenoiser

Proximal operator of the isotropic Total Variation operator.

deepinv.models.TGVDenoiser

Proximal operator of (2nd order) Total Generalised Variation operator.

deepinv.models.WaveletDenoiser

Orthogonal Wavelet denoising with the \(\ell_1\) norm.

deepinv.models.WaveletDictDenoiser

Overcomplete Wavelet denoising with the \(\ell_1\) norm.

deepinv.models.EPLLDenoiser

Expected Patch Log Likelihood denoising method.

Deep Denoisers#

User Guide: refer to Deep denoisers for more information.

deepinv.models.AutoEncoder

Simple fully connected autoencoder network.

deepinv.models.UNet

U-Net convolutional denoiser.

deepinv.models.DnCNN

DnCNN convolutional denoiser.

deepinv.models.DRUNet

DRUNet denoiser network.

deepinv.models.SCUNet

SCUNet denoising network.

deepinv.models.GSDRUNet

Gradient Step Denoiser with DRUNet architecture

deepinv.models.SwinIR

SwinIR denoising network.

deepinv.models.DiffUNet

Diffusion UNet model.

deepinv.models.Restormer

Restormer denoiser network.

deepinv.models.ICNN

Convolutional Input Convex Neural Network (ICNN).

Denoisers Utils#

User Guide: refer to Denoisers Utilities for more information.

deepinv.models.EquivariantDenoiser

Turns the input denoiser into an equivariant denoiser with respect to geometric transforms.

deepinv.models.complex.to_complex_denoiser

Converts a denoiser with real inputs into the one with complex inputs.

deepinv.models.TimeAgnosticNet

Time-agnostic network wrapper.

deepinv.models.TimeAveragingNet

Time-averaging network wrapper.

Artifact Removal#

User Guide: refer to Artifact Removal for more information.

deepinv.models.ArtifactRemoval

Artifact removal architecture.

Deep Image Prior#

User Guide: refer to Deep Image Prior for more information.

deepinv.models.DeepImagePrior

Deep Image Prior reconstruction.

deepinv.models.ConvDecoder

Convolutional decoder network.

Adversarial Networks#

User Guide: refer to Adversarial Learning for more information.

deepinv.models.PatchGANDiscriminator

PatchGAN Discriminator model.

deepinv.models.ESRGANDiscriminator

ESRGAN Discriminator.

deepinv.models.DCGANGenerator

DCGAN Generator.

deepinv.models.DCGANDiscriminator

DCGAN Discriminator.

deepinv.models.CSGMGenerator

Adapts a generator model backbone (e.g DCGAN) for CSGM or AmbientGAN.