Skip to main content

A plugin for denoising microscopy images using Noise2VST

Project description

napari-noise2vst

License MIT PyPI Python Version tests codecov napari hub npe2 Copier

A plugin for denoising microscopy images using Noise2VST
Developed by Ibrahima Alain GUEYE


This napari plugin was generated with copier using the napari-plugin-template.

Dependencies

This plugin relies on the Noise2VST framework [S. Herbreteau and M. Unser, ICCV'25]. The source code is available at: https://github.com/sherbret/Noise2VST

  • ✅ No manual installation is required — this version is installed automatically when you install the plugin.

Installation

To install in an environment using conda:

conda create --name napari-env
conda activate napari-env
conda install pip

You can install napari-noise2vst via pip:

pip install napari-noise2vst

If napari is not already installed, you can install napari-noise2vst with napari and Qt via:

pip install "napari-noise2vst[all]"

If you prefer installing napari separately:

pip install "napari[all]"

To install latest development version:

pip install git+https://github.com/IbrahimaAlain/napari-noise2vst.git

Usage

After installation, you can launch the Noise2VST Denoising plugin directly from the napari interface. In the napari top menu, go to:

Plugins > Noise2VST Denoising (Denoising Noise2VST)

image_0.png

Open your image by clicking: File → Open File(s)... Select the noisy image (e.g., .tif, .png, etc.) that you want to denoise. The image will appear in the napari viewer.

image_1.png

Once the image is loaded, scroll to the plugin panel on the right. Set the number of training iterations using the slider (e.g., 2000). Then click the Fit button to train the denoising model on the image.

The region shown here highlights the relevant settings and the training button.

image_2.png image_3.png

A progress bar appears, indicating the training status in real time. You can follow the advancement of model fitting visually.

image_4.png

Once training is complete, the plugin automatically stores the model weights. Click the Run Denoising button to generate the denoised version of the input image.

image_5.png

The denoised image appears as a new layer in the napari viewer, alongside the original one. You can toggle visibility, adjust contrast, and compare both layers interactively.

image_6.png

Click the Visualize VST button to display the spline transformation (VST) learned during training. A matplotlib window pops up with a plot showing the input-output relationship.

image_7.png

To save the spline transformation values, click the Save Spline Knots button. A dialog window opens to let you choose where to store the CSV file containing the knots.

image_8.png

Citation

@article{herbreteau2024noise2vst,
  title={Self-Calibrated Variance-Stabilizing Transformations for Real-World Image Denoising},
  author={Herbreteau, S{\'e}bastien and Unser, Michael},
  journal={arXiv preprint arXiv:2407.17399},
  year={2024}
}

Issues

If you encounter any problems, please file an issue along with a detailed description.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari_noise2vst-0.1.1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

napari_noise2vst-0.1.1-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file napari_noise2vst-0.1.1.tar.gz.

File metadata

  • Download URL: napari_noise2vst-0.1.1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for napari_noise2vst-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bd27a0e3b68f1c1dcd465b5d0123b4a4aa63c6a695c7cd73b33f537c4aa60df5
MD5 84081fe6601d47850c84f75ef2eb1f70
BLAKE2b-256 cccc2c4dcb1c59588f296f4bd57908ade6868daef5763b8e642d60c4a81c7112

See more details on using hashes here.

File details

Details for the file napari_noise2vst-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_noise2vst-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 afc0e11637912c7fe99c386824a634435639f44344a6665aeeba6cb0f7ae0ef7
MD5 29f8e520996482fc5c38e898d02fc9fe
BLAKE2b-256 2b322f2a9e5478573da7cec1908a8bf9f964e343354e42f52c805d352900976f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page