Skip to main content

Efficient cell detection in large images

Project description

cellfinder-napari

License PyPI Python Version tests codecov Downloads Wheel Development Status Code style: black Contributions Website Twitter

Efficient cell detection in large images (e.g. whole mouse brain images)

This package implements the cell detection algorithm from Tyson, Rousseau & Niedworok et al. (2021) for napari, based on the cellfinder-core package.

This algorithm can also be used within the original cellfinder software for whole-brain microscopy analysis.


raw

Visualising detected cells in the cellfinder napari plugin


Instructions

Installation

Once you have installed napari. You can install napari either through the napari plugin installation tool, or directly from PyPI with:

pip install cellfinder-napari

Usage

Full documentation can be found here.

This software is at a very early stage, and was written with our data in mind. Over time we hope to support other data types/formats. If you have any questions or issues, please get in touch by email, on the forum or by raising an issue.


Illustration

Introduction

cellfinder takes a stitched, but otherwise raw dataset with at least two channels:

  • Background channel (i.e. autofluorescence)
  • Signal channel, the one with the cells to be detected:

raw Raw coronal serial two-photon mouse brain image showing labelled cells

Cell candidate detection

Classical image analysis (e.g. filters, thresholding) is used to find cell-like objects (with false positives):

raw Candidate cells (including many artefacts)

Cell candidate classification

A deep-learning network (ResNet) is used to classify cell candidates as true cells or artefacts:

raw Cassified cell candidates. Yellow - cells, Blue - artefacts

Citing cellfinder

If you find this plugin useful, and use it in your research, please cite the preprint outlining the cell detection algorithm:

Tyson, A. L., Rousseau, C. V., Niedworok, C. J., Keshavarzi, S., Tsitoura, C., Cossell, L., Strom, M. and Margrie, T. W. (2021) “A deep learning algorithm for 3D cell detection in whole mouse brain image datasets’ bioRxiv, doi.org/10.1101/2020.10.21.348771

If you use this, or any other tools in the brainglobe suite, please let us know, and we'd be happy to promote your paper/talk etc.

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

cellfinder-napari-0.0.10rc2.tar.gz (7.8 MB view details)

Uploaded Source

Built Distribution

cellfinder_napari-0.0.10rc2-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file cellfinder-napari-0.0.10rc2.tar.gz.

File metadata

  • Download URL: cellfinder-napari-0.0.10rc2.tar.gz
  • Upload date:
  • Size: 7.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for cellfinder-napari-0.0.10rc2.tar.gz
Algorithm Hash digest
SHA256 fa47f8b80cf8055343f9f959940b3b0057f0491986d2c23632b151ce3cd4630d
MD5 f572f7d044f6001212a1227ce6f32861
BLAKE2b-256 308f22f1674f411899aab1cc962defb530872a71a6e72e5d4451eb24ce5cfa79

See more details on using hashes here.

File details

Details for the file cellfinder_napari-0.0.10rc2-py3-none-any.whl.

File metadata

  • Download URL: cellfinder_napari-0.0.10rc2-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for cellfinder_napari-0.0.10rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 aea0432536b259cc1ed5329a3177ea9528f004828942b75d2fd6de635418aff9
MD5 814129a0a8e1b41e7f2f940efcb72f6f
BLAKE2b-256 7c6824b5b1210c86e23b5410c1706a711a481c09d6d6cee69c701705cfe1f9a5

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