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:
- Cleaning SAM segmentation artifacts
- Measuring size (feret diameter, equivalent diameter and area) of segmented masks
- Segmenting porous microstructure in SEM images with watershed
- Measuring pore area fraction for porous particles
All measured data can be exported to .xlsx or .csv spreadsheets
Installation
- Install
micro-samfrom conda or from an installer. Check the micro-sam installation documentation for details. Installation from installer is not recommended - Open napari. If you installed
micro-samfrom conda, this is done with thenaparicommand. - Go to "Plugins" > "Install/Uninstall Plugins..."
- Search for "napari-microparticle" and click the blue "Install" button
- 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.
Metadata
Release files for napari-microparticle 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| napari_microparticle-0.1.0.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| napari_microparticle-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.5 kB
Release files / napari_microparticle-0.1.0.tar.gz
| Download URL | napari_microparticle-0.1.0.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
783c2895a9a6eb25def3c6f8f070da4d145fa6eeae422b884c46bc4ee820da4c
|
|
BLAKE2b-256 checksum How to use checksums |
eff795b0c7e557a85a7caa8d70c2518a3aa82a74f9cb503b83e43ffc2ee73bf2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / napari_microparticle-0.1.0-py3-none-any.whl
| Download URL | napari_microparticle-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
070cbca228c0e82ce9f7fa42c1c773693c932e839820c8dacc92da6ed791d27c
|
|
BLAKE2b-256 checksum How to use checksums |
8cefc77fa620dc662118bbeb02dbeac85dbea76307bb401bd0dae86b70bdaaa8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|