Annotation of aphid and update table
Project description
napari-caphid
Annotation of aphid and update table
Napari-caphid was developed for updating table of quantitative data from images. Napari-caphid was developed by Imhorphen Team (french team of University of Angers and INRAe Angers) for ECLECTIC Team (french team of University of Paris-Saclay and CNRS).
Installation
You can install napari-caphid
via pip:
pip install napari-caphid
To install latest development version :
pip install git+https://github.com/hereariim/napari-caphid.git
Getting started
Foreword
Before using the plugin, the directory must be structured as follows:
└── Directory
├── France
│ ├── image
│ │ ├── img_1.tif
│ │ ├── img_2.tif
│ │ ...
│ │ └── img_n.tif
│ ├── mask
│ │ ├── msk_1.tif
│ │ ├── msk_2.tif
│ │ ...
│ │ └── msk_n.tif
│ ├── img_1.tif
│ ├── msk_1.tif
│ ├── img_2.tif
│ ├── msk_2.tif
│ ...
│ ├── img_n.tif
│ └── msk_n.tif
│
├── Belgium
│ ├── image
│ │ └── ...
│ ├── mask
│ │ └── ...
│ └── ...
├── Spain
│ ├── image
│ │ └── ...
│ ├── mask
│ │ └── ...
│ └── ...
└── Aphid.csv
Some explanation about structure. The directory contained three folders (France, Spain, Belgium) and one file (Aphid.csv).
- Each folders (France, Spain, Belgium) contains a set of images and masks and two folders (image, mask). The folder image contains images from the set of images. The folder mask contains masks from the set of masks.
- The file Aphid.csv is a table with quantitative data of aphids from inital process of aphid image processing.
Important:
- The structure of directory is very important because it will be useful to get image name.
Getting started
The widget get three input:
- Mask : Mask stack
- Pick a table : Path/to/Directory/Aphid.csv
- Country : The country where images were taken
The widget gives one output:
- A new table .csv which is the Aphid.csv updated.
What's it for ?
This widget gives quantitative data from Mask stack. These quantitative data will be contained into dataframe. Quantitative data linked to current masks contained in the Aphid.csv file will be deleted. Then, the new quantitative data contained in the dataframe will be integrated into the Aphid.csv file. In this way, the Aphid.csv file is updated.
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-caphid" 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
File details
Details for the file napari-caphid-0.0.1.tar.gz
.
File metadata
- Download URL: napari-caphid-0.0.1.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd78f3d19ee48bea91713a8c95c9953b1290159a28df99168e58a923e7f54f18 |
|
MD5 | 0c6d0e8f2084a16705d0410a44f3564c |
|
BLAKE2b-256 | 494fec1eb9264990af1d5964d8a7841345887a6fd23f96bbc53e1f18e201c4a9 |
File details
Details for the file napari_caphid-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: napari_caphid-0.0.1-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 567e82c4791bb0b7af3e1f19ff2fdf0786de44c9e2f2c33e011b8c26fe701115 |
|
MD5 | 8fddf42a3befb96553bf1aa60c856d67 |
|
BLAKE2b-256 | 710f4bae41dc88e0968815e029ed465f57d0fd93c029dac42091bac5e1b88306 |