Skip to content

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).

License

Notifications You must be signed in to change notification settings

hereariim/napari-caphid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

napari-caphid

License BSD-3 PyPI Python Version tests codecov napari hub

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.

About

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).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages