Skip to main content

Neuro-SAM: Foundation Models for Dendrite and Dendritic Spine Segmentation

Project description

Neuro-SAM

Foundation Model from Dendrite and Dendritic Spine Segmentation

Neuro-SAM enables you to:

  • Trace individual dendrite in a 3D stack
  • Segment traced dendrites using fine-tuned SAMv2
  • Tubular View Analysis of the dendrites
  • Segment Dendritic Spines using our custom model

Neuro-SAM works across different imaging modalities including two-photon, confocal and STED microscopy.

🚀 Installation

Neuro-SAM requires Python 3.10+ installed on your machine. It is recommended to use Conda/Miniconda for environment management. You can also use CUDA for GPU based accelerations. Our model are also optimised to use MPS on Apple Silicon (M series chips).

To install Neuro-SAM:

pip install neuro-sam

Downloading models and sample dataset

neuro-sam-download

📊 Usage

# base usage with benchmark dataset
neuro-sam

# using with your own dataset
neuro-sam --image-path /path/to/your/image.tif

🔬 Workflow

1. Configure Voxel Spacing

Set accurate X, Y, Z voxel spacing in the "Path Tracing" tab for proper scaling:

2. Trace Dendritic Paths

  • Click waypoints along dendrite structures
  • Algorithm automatically finds optimal brightest paths

3. Segment Dendrites

  • Load pre-trained SAMv2 dendrite model
  • Segment individual path with SAMv2

4. Segment Spines

  • Segment Dendritic Spines with our fine tuned model

📬 Contact

Nipun Arora - nipunarora8@yahoo.com Munna Singh - singhmunna0786@gmail.com

Made with ♥️ at Anki Lab 🧠✨

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

neuro_sam-0.1.14.tar.gz (189.5 kB view details)

Uploaded Source

Built Distribution

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

neuro_sam-0.1.14-py3-none-any.whl (250.0 kB view details)

Uploaded Python 3

File details

Details for the file neuro_sam-0.1.14.tar.gz.

File metadata

  • Download URL: neuro_sam-0.1.14.tar.gz
  • Upload date:
  • Size: 189.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for neuro_sam-0.1.14.tar.gz
Algorithm Hash digest
SHA256 6427ed67111d463575b9af15935968cc8cf5b738d84e87b7eb08b134cd56ce2c
MD5 4c0a6a63ede4c08c12713322ce724cb0
BLAKE2b-256 0cb88062127c7da90aafdb58e20a891e84f735d151515d6b21791e8cd67fb0d9

See more details on using hashes here.

File details

Details for the file neuro_sam-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: neuro_sam-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 250.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for neuro_sam-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 260c9a66bfc7c9db0471a64c6055bffb20f4e7f7eccf679511f5232a386414fc
MD5 337c1bc4a619e2a536a51e965a887f4d
BLAKE2b-256 10cda72d5525cd6d4d36910765faf1b57e254219ba355a24aa57351385bdacc0

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