Attention: Data Proxy will be migrated from SWIFT to S3 storage at Friday, the 9th of May 2025 starting from 9pm CEST (my timezone). For more details, please join the rocket chat channel https://chat.ebrains.eu/channel/data-proxy-user-group


Last modified by annedevismes on 2021/06/08 11:56

Hide last authors
sharoncy 7.1 1 == [[image:ilastik_logo.PNG||style="float:right"]] ==
sharoncy 1.1 2
annedevismes 20.2 3 == [[image:Pixel_classification workflow.png||style="float:left"]](% style="color:#c0392b" %)Analysis approach for series of rodent-brain section image(%%) ==
sharoncy 7.1 4
annedevismes 20.2 5 //Ilastik //is a versatile image analysis tool specifically designed for the classification, segmentation, and analysis of biological images based on supervised machine-learning algorithms.
sharoncy 8.1 6
annedevismes 20.2 7 **There are two main approaches for the analysis of rodent-brain section image~:**
puchades 15.1 8
annedevismes 20.2 9 1. pixel classification only (with two or more classes) and
10 1. pixel classification with two classes (//immunoreactivity// and //background//), followed by Object classification with two classes (//objects of interest// and //artefact//).
sharoncy 1.1 11
puchades 1.5 12 **Which approach is best for my dataset?**
13
annedevismes 20.2 14 As a general rule, pixel classification is suitable for images in which there are clear differences in the colour, intensity, and / or texture of the feature of interest (labelling) versus the background and other structures.  If there is non-specific labelling in the image that is very similar in appearance to the labelling of interest, object classification may allow the non-specific labelling to be filtered out on the basis of the object-level features such as shape and size. The best approach is determined by trial and error.
puchades 1.5 15
puchades 5.1 16 === (% style="color:#c0392b" %)Pixel classification workflow(%%) ===
puchades 1.5 17
evanhancock 11.1 18 For a quick introduction, [[watch this video>>https://www.youtube.com/watch?v=5N0XYW9gRZY&feature=youtu.be]].
sharoncy 1.1 19
annedevismes 20.2 20 **Basic steps**
puchades 2.4 21
annedevismes 20.2 22 * Train the classifier with two classes (labelling and background).
23 * Apply the classifier to the rest of the images (batch processing).
24 * Export the probability maps in HDF5 format and simple_segmentation images in PNG format with the default settings.
evanhancock 11.1 25 * Review the results.
puchades 2.4 26
annedevismes 20.2 27 === (% style="color:#c0392b" %)Object-classification workflow(%%) ===
sharoncy 1.1 28
annedevismes 20.3 29 There are three options on the //ilastik //start-up page for running "Object Classification." Choose the //Object Classification with Raw Data and Pixel Prediction Maps //as input.
sharoncy 1.1 30
annedevismes 20.2 31 * Save the object-classification file in the same folder as the raw images for analysis. If the images are moved after the //ilastik// file is created, the link between the //ilastik //file and the images may be lost, resulting in a corrupted file.
32 * In the "Input Data" applet, upload the original images and their respective probability maps in HDF5 format (output from the Pixel Classification).
33 * Train the classifier with two classes (labelling and artefacts).
34 * In the "Object Information Export" applet, export “Object Predictions” in PNG format.  Do not change the default export location.
evanhancock 11.1 35 * Review the results.