Skip to main content

napari-vesicles-segmentation

License BSD-3 PyPI Python Version tests codecov napari hub

A simple plugin to detect vesicles in cells images.


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

Installation

You can install napari-vesicles-segmentation via pip:

pip install napari-vesicles-segmentation

To install latest development version :

pip install git+https://github.com/alexisjapas/napari-vesicles-segmentation.git

Usage

  1. Open napari
  2. Open your data usage-open-data
  3. Launch the vesicles-segmentation plugin
  4. Select the data you want to segment and set the parameters of the segmentation usage-setup
    • image: The image to segment vesicles in. The image can be a 2D or 3D temporal stack of images.
    • minimum vesicles size: The minimum size of the vesicles to detect. Smaller detected vesicles are removed.
    • membrane erosion: The size of the disk radius used for eroding the cell. This is used to remove the external membrane. This parameter scales when downsizing the image, for more information see 'downsizing ratio' parameter.
    • closing size: The size of the disk radius used for closing the cell. This is used to fill holes in the cell. This parameter scales when downsizing the image, for more information see 'downsizing ratio' parameter.
    • clip: If set to zero, no standardization is performed. Otherwise, the standard deviation of the image is set to n_sigma * the standard deviation of the image, the image is standardized and its values are clipped to the range [-1, 1] in order to remove outliers. The higher the value of n_sigma, the less outliers are removed. This operation can lead to a better detection of the cell.
    • downsampling ratio: The downsampling ratio used for the downsampled image. This is used to speed up the computation. Downsampling the image have impact in reducing the resolution of erosion and closing e.g. for a downsize ratio of 2, setting the erosion size to 3 will result in an erosion size of 6.
    • display cell detection: If set to True, the cell detection is displayed in the viewer instead of the vesicle detection.
  5. Click on the "Segment" button to start the segmentation. This can take few seconds or minutes depending on the size of the data. The result is added to the viewer as below. usage-segmentation

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-vesicles-segmentation" is free and open source software

Issues

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

Metadata

Release files for napari-vesicles-segmentation 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-vesicles-segmentation 0.0.1
File Size Uploaded Provenance Actions
napari-vesicles-segmentation-0.0.1.tar.gz 1.3 MB Without provenance Details for napari-vesicles-segmentation-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for napari-vesicles-segmentation 0.0.1
File Interpreter ABI Platform Actions
napari_vesicles_segmentation-0.0.1-py3-none-any.whl Python 3 none any Details for napari_vesicles_segmentation-0.0.1-py3-none-any.whl

Total release size: 1.3 MB

Release files / napari-vesicles-segmentation-0.0.1.tar.gz

Download URL napari-vesicles-segmentation-0.0.1.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
10f4144f86625cbda6c5a5b48d4cf13aac6c0274c01bab8bc5dc9efdcd72a08c
BLAKE2b-256 checksum
How to use checksums
7f573abff13004aee26bf1722d5b12126737008597c7c91d0c948931c03a349a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / napari_vesicles_segmentation-0.0.1-py3-none-any.whl

Download URL napari_vesicles_segmentation-0.0.1-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7743916ca5673b2752d496b84c08d0ba6681698f4b0dd58687c00066bc9d072a
BLAKE2b-256 checksum
How to use checksums
10f411b0edf1a4b6df1b2d648ae8af8b261d6ad6b6a844709ab17b356ed859b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Security for napari-vesicles-segmentation 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page