A napari plugin for filament analysis
Project description
napari-filaments
A napari plugin for filament analysis.
This plugin helps you to manually track filaments using path shapes of Shapes
layer.
Currently implemented functions
- Fit paths to filaments in an image as a 2-D spline curve.
- Clip/extend paths.
- Measurement of filament length at sub-pixel precision.
- Basic quantification (mean, std, etc.) along paths.
- Import paths from ImageJ ROI file.
Basic Usage
Click Layers > open image
to open a tif file. You'll find the image you chose and a shapes layer are added to the layer list.
- The "target filaments" box shows the working shapes layer.
- The "target image" box shows the image layer on which fitting and quantification will be conducted.
- The "filament" box shows currently selected shape (initially this box is empty).
Add path shapes and push key F1
to fit the shape to the filament in the target image layer.
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
Installation
You can install napari-filaments
via pip:
pip install napari-filaments
To install latest development version :
pip install git+https://github.com/hanjinliu/napari-filaments.git
Contributing
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the BSD-3 license, "napari-filaments" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
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
Built Distribution
File details
Details for the file napari_filaments-0.2.1.tar.gz
.
File metadata
- Download URL: napari_filaments-0.2.1.tar.gz
- Upload date:
- Size: 220.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3986cfd578a21c1617c4b2414deb1476dc4baadcee5c9b481623be38dd685e91 |
|
MD5 | e7091c8331f89fa56533d510392c83f4 |
|
BLAKE2b-256 | 78959335543c5721bd709beacfebc2d0947ecec135f18636a121eea9c00b31bd |
File details
Details for the file napari_filaments-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: napari_filaments-0.2.1-py3-none-any.whl
- Upload date:
- Size: 117.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31232d9cfa96f52b2e1cf1b34018f77d78f7e3a777beb9235fa033799cd807c8 |
|
MD5 | b0f6d6f3c988f7aab2e09f7acd4356b8 |
|
BLAKE2b-256 | 934c77813762742ccf7537be281b9e3a0d441bbc494818b465eae3b4589538e2 |