A plugin that enables annotations provided by Allen Institute for Cell Science
Project description
napari-allencell-annotator
A plugin that enables large image set annotating and writes annotations to a .csv file. Plugin provided by the Allen Institute for Cell Science.
The Allen Cell Image Annotator plugin for napari provides an intuitive graphical user interface to create annotation templates, annotate large image sets using these templates, and save image annotations to a csv file. The Allen Cell Image Annotator is a Python-based open source toolkit developed at the Allen Institute for Cell Science for both blind, unbiased and un-blind microscope image annotating. This toolkit supports easy image set selection from a file finder and creation of annotation templates (text, checkbox, drop-down, and spinbox). With napari's multi-dimensional image viewing capabilities and AICSImageIO's image reading and metadata conversion, the plugin seamlessly allows users to view each image in a set and annotate according to the selected template. Annotation templates can be written to a json file for sharing or re-using. After annotating, both annotation template data and the annotations written for the image set are saved to csv file, which can be re-opened for further annotating and conveniently stores annotations.
- Supports the following image types:
OME-TIFF
TIFF
CZI
PNG
JPEG
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
Installation
You can install napari-allencell-annotator
via pip:
pip install napari-allencell-annotator
To install latest development version :
pip install git+https://github.com/bbridge0200/napari-allencell-annotator.git
Quick Start
In the current version, there are two parts in the plugin: Image List and Annotation Editor. The Annotation Editor allows users to create new annotation templates or upload existing annotation templates from a previous plugin-created csv or json file. Once an annotation template is chosen and approved, annotating can begin on the image set selected in the Image Uploader section of the plugin.
- Select create new annotation template or upload existing. If the annotation template is uploaded from a csv file, using the image set will open and allow continued editing of all annotations in the csv.
- Select images for annotating (the plugin is able to support .tiff, .tif. ome.tif, .ome.tiff, .czi, .png, .jpeg, and .jpg files). Once selected, the images can be shuffled and hidden or deleted using the checkbox on the right side.
- Start Annotating and select or create a .csv file for writing. If the selected file already exists, it will be overwritten.
- Click Save and Exit at any time and all created image annotations will be written to the .csv file. If the file is opened in the plugin again, annotation will start at the first image with a blank annotation.
To install latest development version :
pip install git+https://github.com/bbridge0200/napari-allencell-annotator.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-allencell-annotator" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
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
Hashes for napari-allencell-annotator-0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | beccb3e9aeb1262bb5fc4e7be064cb935e415c7fa263fac7df42284cd5f2bac4 |
|
MD5 | 2dd7b6e454108a722a8edf09aafac176 |
|
BLAKE2b-256 | d61fa024a1a2ffefbc707d38065d869c3f6e2795ef28e8ce90a4af2b22d04b80 |
Hashes for napari_allencell_annotator-0.0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bddd183d038019c63324216f1867501853ccab7d415a1aeb0636a5a92e8a666f |
|
MD5 | 01128b02bc51627899aa47603a1d21a4 |
|
BLAKE2b-256 | 1e537a4dcbef6fb9db43210a11c9ba5df37bbcb049935d6f1ce3cac94afcc6b1 |