Skip to main content

Image-Level labeling tool

Project description

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.

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

napari-labelimg4classification-0.1.1.tar.gz (8.3 MB view details)

Uploaded Source

Built Distribution

File details

Details for the file napari-labelimg4classification-0.1.1.tar.gz.

File metadata

  • Download URL: napari-labelimg4classification-0.1.1.tar.gz
  • Upload date:
  • Size: 8.3 MB
  • 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.62.3 CPython/3.9.7

File hashes

Hashes for napari-labelimg4classification-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e751b4ca3149814823a0de60cbe38b91bbaa70217ba8332d46f88baf2f3c6e9e
MD5 96e712a51750e234100dfcff289e8dcc
BLAKE2b-256 354a88db20362793dc6455dc537220b8b78b55e46f65f0807fd9580303183b0e

See more details on using hashes here.

File details

Details for the file napari_labelimg4classification-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: napari_labelimg4classification-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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.62.3 CPython/3.9.7

File hashes

Hashes for napari_labelimg4classification-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f7a699365122d7c26b14a24928aca3c143d771aa2c503a0d4f94527ee54d173
MD5 b6ea14f960e6c1cdb816fcec6bec8e33
BLAKE2b-256 9d11f90a42436a70e61a78da83ac2a22a94ab5c42f3af29bfeded4a8a06a43c4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page