Skip to main content

napari-labelimg4classification

License PyPI Python Version tests codecov napari hub

A simple image-level annotation tool supporting multi-channel images for napari.


This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.

Usage

Start the labeling tool from the menu Utilities > label tool for classification.
First, click on the Choose directory button to open the folder selection window, and select the folder that contains the images you want to label and annotate.
It will automatically list and display the images of tif, png, jpg, and bmp formats. If you want to view the channels of a multi-channel image separately, check the split channels checkbox.

Initially, all channels will be opened in grayscale, but the pseudo-color and contrast adjustments you specified will be carried over when you open the next image.
Thanks to napari, you can freely merge channels and turn them on and off.
Label classes can be added, and can be removed by typing the same name as an already added class.

It will automatically save the labels.csv file with the image path and label, and the class.txt file with the class of the label.

If labels.csv and class.txt are already in the folder, they will be loaded and reflected automatically.

Installation

You can install napari-labelimg4classification via pip:

pip install napari-labelimg4classification

To install latest development version :

pip install git+https://github.com/hiroalchem/napari-labelimg4classification.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 MIT license, "napari-labelimg4classification" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Metadata

Release files for napari-labelimg4classification 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-labelimg4classification 0.1.1
File Size Uploaded
napari-labelimg4classification-0.1.1.tar.gz 8.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for napari-labelimg4classification 0.1.1
File Interpreter ABI Platform
napari_labelimg4classification-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 MB

Release files / napari-labelimg4classification-0.1.1.tar.gz

Download URL napari-labelimg4classification-0.1.1.tar.gz
Size 8.3 MB
Tags Source
SHA-256 checksum
How to use checksums
e751b4ca3149814823a0de60cbe38b91bbaa70217ba8332d46f88baf2f3c6e9e
BLAKE2b-256 checksum
How to use checksums
354a88db20362793dc6455dc537220b8b78b55e46f65f0807fd9580303183b0e
Upload date
Uploaded using Trusted Publishing?
What is 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.62.3 CPython/3.9.7

Release files / napari_labelimg4classification-0.1.1-py3-none-any.whl

Download URL napari_labelimg4classification-0.1.1-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f7a699365122d7c26b14a24928aca3c143d771aa2c503a0d4f94527ee54d173
BLAKE2b-256 checksum
How to use checksums
9d11f90a42436a70e61a78da83ac2a22a94ab5c42f3af29bfeded4a8a06a43c4
Upload date
Uploaded using Trusted Publishing?
What is 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.62.3 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page