LauLauThom / Fiji-QualiAnnotations

Fiji plugins for qualitative image annotations + analysis workflows for image-classification and data-visualization
https://www.youtube.com/playlist?list=PLbBgXlYof3_YVqR80jhFPCkc0M3GQMAq4
GNU General Public License v3.0
2 stars 1 forks source link
annotations fiji-plugin ground-truth image-annotation-tool image-classification knime visualization

DOI Twitter Follow Say Thanks!

These Fiji plugins allow the annotations of images or image-regions (outlined by ROI) with user-defined keywords (categories/classes).
They can be used to perform routine description of sample images, or to generate ground-truth category annotations for the training of a classifier for instance.
Besides qualitative annotations, any measurement as selected in the Fiji Analyze > set Measurementsmenu is reported to the table if the option run Measure is selected in the initial configuration window.
The measurements and annotations are reported for the full-image by default.
To annotate ROI, either draw a new one before making a new annotation (it should be the actively selected ROI), or select existing Roi in the RoiManager before annotating.

Installation

NB: The plugins are not compatible with ImageJ, as they rely on some Fiji-specific funcitonalities (script parameters, GenericDialogPlus...)

Citation

The plugins are extensively described in the following article (open-access).
Supplementary Figures are available on Zenodo (click the DOI badge at the top of this page).

Thomas LSV, Schaefer F and Gehrig J.
Fiji plugins for qualitative image annotations: routine analysis and application to image classification
[version 2; peer review: 2 approved, 1 approved with reservations]
F1000Research 2021, 9:1248
https://f1000research.com/articles/9-1248

Video Tutorials

Check the dedicated youtube playlist covering from the introduction of the plugins to the use of the analysis workflows.
Or click on the image below to open the first tuto in youtube.

YouTube

Description

The update site provides 3 annotations plugins and 2 visualization plugins:

Annotation plugins

NOTE
For the single-class and checkbox plugins, you can now specify if you want to populate the initial set of categories by :


Visualization plugins

Annotate image-regions with ROI

You can annotate image-regions by either drawing a new roi or selecting one or multiple existing ROI stored in the RoiManager before clicking the "Add" or category button.
Newly drawn roi are automatically added to the Roi Manager.
The name of the ROI(s) is thus appended to the result table in a dedicated ROI column.

Besides, the annotations and measurements (if selected) are saved in the ROI object as properties.
They can be retrieved using scripting or macro-programing via Roi.getProperty(key) or Roi.getProperties().
With scripting languages, replace Roi with the roi-instance of interest.
key here should be one of the column header of the corresponding annotation table, so if you selected run Measure and Mean intensity was selected in Fiji measurement, you can recover Roi.getProperty("Mean").

KNIME Worfklows

You can find examples of analysis from the annotation table with KNIME in the KNIMEworkflows folder.
The workflows are documented with README files in their respective folders, especially pay attention to which annotation table is expected by the workflow (ie generated with which plugin).
To use the worklfows, simply download the knwf file and double-click it to open it in KNIME.
To download all the workflows at once from GitHub, either clone the repository, or if you dont have github, choose download as zip.
To download a single workflow from GitHub, click the workflow file and choose download on the next page.
The workflows can also be downloaded directly from the KNIME Hub.

Currently there are workflows for:

Example dataset

DOI
An example of images from a related screening project in Zebrafish is available on Zenodo.
The Zenodo repository contains a zip archive with the images, ground-truth category annotations for the images (generated with the plugins) and a trained deep-learning model for classification of the images.