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:
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
783c2895a9a6eb25def3c6f8f070da4d145fa6eeae422b884c46bc4ee820da4c
|
|
| MD5 |
c664635beb21652c935d4b1e83a34dc2
|
|
| BLAKE2b-256 |
eff795b0c7e557a85a7caa8d70c2518a3aa82a74f9cb503b83e43ffc2ee73bf2
|
File details
Details for the file napari_microparticle-0.1.0-py3-none-any.whl.
File metadata
- Download URL: napari_microparticle-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
070cbca228c0e82ce9f7fa42c1c773693c932e839820c8dacc92da6ed791d27c
|
|
| MD5 |
2b8586aacdf0a8c61224b325c5509120
|
|
| BLAKE2b-256 |
8cefc77fa620dc662118bbeb02dbeac85dbea76307bb401bd0dae86b70bdaaa8
|