/pn2v

This is our implementation of Probabilistic Noise2Void

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Probabilistic Noise2Void

This repository hosts our implementation of Probabilistic Noise2Void. The original paper can be found at https://www.frontiersin.org/articles/10.3389/fcomp.2020.00005/full, a preprint at https://arxiv.org/abs/1906.00651. PN2V is self-supervised CNN-based-denoising that achieves results close to state-of-the-art methods, but requires only individual noisy images for training. Requirements:

Visualizing Uncertainty

PN2V estimates the posterior distribution for every pixel. We can sample from this posterior to get a feeling for the uncertainty on different regions of the image. Here, we independently draw multiple samples for each pixel and display the result as an animation. In the resulting gifs, regions with high uncertainty are characterized by stronger fluctuations. Confocal Mice Uncertainty Zebra Fish Uncertainty Two Photon Mice Uncertainty

Examples:

Convallaria example

Checkout our example notebooks. Please use them in the order stated below:

Mouse example from Zahng et al. 2019 (https://github.com/bmmi/denoising-fluorescence)

N2V Convallaria example

PN2V now includes also N2V functionallity. See the following notbooks for an example on how to use it.