Skip to main content

Image processing based using the Mahotas library in napari

Project description

Note: This is a decommissioned napari plugin

This project is discontinued. You can still install and use it (version 0.1.2 was last tested with napari 0.4.12) but this project is no longer maintained and supported.

conda install pyopencl
pip install napari-mahotas-image-processing==0.1.2

Check out these napari plugins which have similar functionality:

napari-mahotas-image-processing (n-mahotas)

License PyPI Python Version tests codecov napari hub

Image processing based using the Mahotas library in napari

Usage

Gaussian blur

Applies a Gaussian blur to an image. This might be useful for denoising, e.g. before applying the Threshold-Otsu method.

img.png

Otsu's threshold

Binarizes an image using scikit-image's threshold Otsu algorithm, also known as Otsu's method.

img.png

Split connected objects

In case objects stick together after thresholding, this tool might help. It aims to deliver similar results as ImageJ's watershed implementation.

img.png

Connected component labeling

Takes a binary image and produces a label image with all separated objects labeled differently. Under the hood, it uses mahotas' label function.

img.png

Seeded watershed

Starting from an image showing high-intensity membranes and a seed-image where objects have been labeled, objects are labeled that are constrained by the membranes. Hint: you may want to blur the membrane channel a bit in advance.

img.png


This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.

Installation

Before installing this napari plugin, please install mahotas, e.g. using conda:

conda config --add channels conda-forge
conda install mahotas

Afterwards, you can install napari-mahotas-image-processing via pip:

pip install napari-mahotas-image-processing

To install latest development version :

pip install git+https://github.com/haesleinhuepf/napari-mahotas-image-processing.git

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the BSD-3 license, "napari-mahotas-image-processing" is free and open source software

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-mahotas-image-processing-0.1.3.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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