Livewire-based annotation of objects.
Project description
🌊 napari-floodfill
Interactive object annotation in Napari using a flood fill tool. This tool is based on the flood
function of Scikit-image.
Installation
You can install napari-floodfill
via pip:
pip install napari-floodfill
Usage
- Select the plugin from the
Plugins
menu of Napari. - Open an image to annotate (2D, RGB, 2D+t, or 3D).
- Click on the button "Start flood fill" or press
S
. A newLabels
layer Flood fill (current edit) should appear. - With the Flood fill layer selected, move your cursor arounda nd click on the image to annotate objects.
- Double-click to confirm the annotation of an object and move to the next.
Options and parameters
- Auto-increment label index: Tick this option to increment the label index every time a new object is annotated (e.g. if you are annotating multiple objects).
- Intensity range: Pixels outside of this range will not trigger the flood fill computation. The extremities of the range represent the absolute minimum and maximum of the image. Set the range somewhere to the left if you are annotating dark objects on a bright background, or to the right if you are annotating bright objects.
- Flood fill tolerance: Controls the extent of the flood fill. A higher value will fill more pixels. The value selected is relative to the image intensity range.
Contributing
Contributions are very welcome. Please get in touch if you'd like to be involved in improving or extending the package.
License
Distributed under the terms of the BSD-3 license, "napari-floodfill" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
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
File details
Details for the file napari-floodfill-0.0.1.tar.gz
.
File metadata
- Download URL: napari-floodfill-0.0.1.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 157cd9cb77ad518bc57aff447e4a01f52ea4dfb9a00beee792f8c4b9a676288a |
|
MD5 | f493c94b6a42042843ae0bb10f10d65c |
|
BLAKE2b-256 | be4bd321be39317148154759982f9c05f7a89568791f2195b8a134b0da5a0fd0 |
File details
Details for the file napari_floodfill-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: napari_floodfill-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f7d38a63bf117eeb13e9bc16e4ac4a2cd8f6088e94b95b7871f88e54f44989e |
|
MD5 | f39765233caca431922e623a17a1cea2 |
|
BLAKE2b-256 | 3e7cb5f1abfd7d511fee6daa0023a8a4a3bbff2fdb883ac218173dc91d0ccfdf |