Skip to main content

Detects blobs in images

Project description

napari-blob-detection

License PyPI Python Version tests codecov napari hub

Detects blobs in images


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

This plugin consists of two widgets:

  1. Detects blobs on images
  2. Convert points layer to labels layer

Detects blobs on images

This widget uses scikit-image's blob detection algorithms to detect bright blobs on dark backgrounds.

Parameters

  • method: Laplacian of Gaussian (most accurate) or Difference of Gaussian (faster approximation)
  • image: Image layer for blob detection. Can be a 2D, 3D, or higher dimensionality image.
  • dimensionality: users can specify if the image is 2D(+t) or 3D(+t).
  • min sigma: the smallest blob size to detect
  • max sigma: the largest blob size to detect
  • threshold: the lower the threshold, the more low intensity blobs are detected.

Output

Blobs are represented by the Points layer. The size of each blob is proportional to Points.feature['sigma'], which signifies the scale at which the feature point was found.

Convert points layer to labels layer

This widget takes a points layer and converts it into a labels layer, with the image dimension matching the selected image layer. By converting points to labels, users can leverage feature extraction functions that are available to labels to the detected points.


Installation

You can install napari-blob-detection via pip:

pip install napari-blob-detection

To install latest development version :

pip install git+https://github.com/andy-sweet/napari-blob-detection.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-blob-detection" 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-blob-detection-0.0.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

napari_blob_detection-0.0.2-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file napari-blob-detection-0.0.2.tar.gz.

File metadata

  • Download URL: napari-blob-detection-0.0.2.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for napari-blob-detection-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a036c6f05e852ca0d332358249ec6c442c1ebdb83781e0609d9b146990e6f938
MD5 4707b6a4f574f5bc94b3470cdc11d588
BLAKE2b-256 33805a7695be0a4afd3cc1c0a4803afd94f8ec35a8a2dda85a4ba214f16315ea

See more details on using hashes here.

File details

Details for the file napari_blob_detection-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_blob_detection-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea27c0401d4602e1044944c42561ff59e32c9c57123316a22531fe9e73396c63
MD5 2e9526cfe7e3814d8f1e972a7a87de6e
BLAKE2b-256 2a79085a2637e551a1d9817103296d5b67d8093767371d39d244e3858186e900

See more details on using hashes here.

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