Skip to main content

A plugin for powder particle size measurement and morphology analysis in 2D microscopy images.

Project description

napari-microparticle


Napari plugin for powder particle size measurement and morphology analysis in 2D microscopy images.

This plugin is meant to be used together with the micro-sam tools. Segment Anything for Microscopy provides a convenient napari interface for interactive and automatic image segmentation using the Segment Anything Models (SAM).

This plugin implements napari applications for:

  1. Cleaning SAM segmentation artifacts
  2. Measuring size (feret diameter, equivalent diameter and area) of segmented masks
  3. Segmenting porous microstructure in SEM images with watershed
  4. Measuring pore area fraction for porous particles

All measured data can be exported to .xlsx or .csv spreadsheets


Installation

  1. Install micro-sam from conda or from an installer. Check the micro-sam installation documentation for details. Installation from installer is not recommended
  2. Open napari. If you installed micro-sam from conda, this is done with the napari command.
  3. Go to "Plugins" > "Install/Uninstall Plugins..."
  4. Search for "napari-microparticle" and click the blue "Install" button
  5. Wait for the installation to finish. Reopen napari.

Usage

To use any tool from this plugin, go to "Plugins" > "Powder Particle Analysis" and select an option from the menu. This will open a panel inside the napari interface. Any number of panels can be open at the same time.

To use this plugin, you need a Labels layer with particle segmentation masks. You can quickly segment particles using the micro-sam Annotator2D tool.

Check the micro-sam video tutorials for details on how to use the Annotator2D


SAM finetuning

This repository also contains code that was used to finetune SAM checkpoints for particle segmentation in SEM (Scanning Electron Microscope) images of powder. It is based on the training pipeline implemented in micro-sam.

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_microparticle-0.1.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

napari_microparticle-0.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file napari_microparticle-0.1.0.tar.gz.

File metadata

  • Download URL: napari_microparticle-0.1.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for napari_microparticle-0.1.0.tar.gz
Algorithm Hash digest
SHA256 783c2895a9a6eb25def3c6f8f070da4d145fa6eeae422b884c46bc4ee820da4c
MD5 c664635beb21652c935d4b1e83a34dc2
BLAKE2b-256 eff795b0c7e557a85a7caa8d70c2518a3aa82a74f9cb503b83e43ffc2ee73bf2

See more details on using hashes here.

File details

Details for the file napari_microparticle-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_microparticle-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 070cbca228c0e82ce9f7fa42c1c773693c932e839820c8dacc92da6ed791d27c
MD5 2b8586aacdf0a8c61224b325c5509120
BLAKE2b-256 8cefc77fa620dc662118bbeb02dbeac85dbea76307bb401bd0dae86b70bdaaa8

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