ilastik learns image segmentation from a few brush strokes
December 1, 2026

With ilastik, research teams mark examples in an image and train a local image analysis workflow. Its practical value lies in interactive learning, not in chatting.
What this is about
ilastik is an installable application for analysing images with machine learning. Instead of asking a chatbot about image contents, users show the program which image regions belong to which class through brush strokes. This produces predictions for additional regions. It is particularly interesting for research teams that repeatedly need to analyse microscopy images using the same criteria but do not want to develop their own learning software.
This tool check, dated December 1, 2026, introduces an existing application, not a new model launch. The official download page offers stable version 1.4.2 for Windows, macOS and Linux; a beta offered on the same page should be distinguished from it. According to the project website, ilastik is developed by the team in Anna Kreshuk's lab at the European Molecular Biology Laboratory, or EMBL. This article draws on documentation, project information and the scientific description, not our own performance test.
What ilastik actually does
The documented Pixel Classification workflow is a useful starting point. First, users load an image and select features such as intensity, edges or texture. They then draw examples for classes, such as cell regions and background. A Random Forest classifier learns from those annotations. With live updating enabled, predictions appear as an overlay on the image; additional annotations help correct visible errors.
The initial result is a probability map for each class. The documentation explicitly stresses that this is semantic segmentation, not automatic detection of individual objects. Two adjacent cells may therefore need additional processing before they become two separate, countable units. Other steps, such as object classification, or subsequent processing in other image tools can address that task.
An uncertainty view highlights areas where the classifier is unsure. This helps users decide where additional training annotations might be useful. A trained classifier can be applied to further images in batch mode. The project also offers separate workflows for object classification, counting and tracking. These are different tools, not an automatic assurance that one project will correctly perform every task.
Why it matters
The practical value is a short feedback loop: domain experts annotate, inspect the prediction and add examples. Their knowledge of the image remains part of the workflow. Anyone regularly analysing similar experimental images can use this to build a repeatable analysis step without first programming an entire training pipeline. The scientific description in Nature Methods from 2019 explains this interactive approach and its subsequent application to new data.
ilastik is available as free software under GPL version 2 or later, with a documented exception for certain extensions. The local workflow described here does not require a paid language-model API. Free does not mean effortless, however: computing resources, storage, installation and expert review are still necessary. Local processing is also a practical advantage for unpublished image data, but it is not a blanket privacy guarantee. Storage locations, backups and any additional servers must fit the team's data-handling arrangements.
In plain language
Think of the workflow as sorting a drawer together. One person demonstrates that certain items belong in the first compartment and others in the second. A helper then sorts additional items and receives more examples when mistakes occur. If two objects are stuck together, assigning them to a compartment is not the same as separating them. That distinction explains why a pixel class alone does not provide a reliable object count.
A practical example
A fictional research team wants to separate cell regions from background in 30 similar microscopy images. It initially uses five representative images for annotations and reserves another five as independent test images. The remaining 20 are processed only after the evaluation is satisfactory. These numbers describe a suggested test design, not a measured performance result.
The team creates two classes, marks both clear and difficult regions, and inspects predictions and the uncertainty view. On the held-out images, it pays particular attention to weak signals, image edges and closely adjacent cells. It documents misclassifications and decides in advance which errors would be acceptable for its research question. If training data is subsequently expanded, another independent evaluation is advisable. For a first attempt, we recommend the official tutorial's example data and a small, non-confidential dataset of your own.
Scope and limits
- Different images can produce different results. Changes in lighting, staining or acquisition conditions call for renewed evaluation. Good results on annotated training regions do not demonstrate reliable transfer to every subsequent image.
- Pixel classes do not replace expert interpretation. Adjacent objects, unclear boundaries and incorrect annotations can distort the analysis. This tool is neither a general image chatbot nor a diagnostic procedure validated simply by producing a successful segmentation.
- Local processing needs resources and maintenance. Large image stacks can consume substantial memory and computing time. The project offers different workflows and packages; optional neural networks or remote computation should not be confused with the local pixel classifier described here.
SEO & GEO keywords
ilastik, interactive image segmentation, Pixel Classification, Random Forest, microscopy, image analysis, EMBL, local AI, open source, research tools
💡 In plain English
ilastik learns from annotations which image regions belong together. Teams can use it to analyse similar images locally, but need to evaluate the results on independent images.
Key Takeaways
- →ilastik provides a graphical interface for interactive machine learning on images.
- →Pixel classification produces class probabilities, not automatically separated objects.
- →Trained classifiers can be applied to further images in batch mode.
- →Local processing avoids the need for a paid language-model API in this workflow.
- →New acquisition conditions and ambiguous image regions require expert review.
FAQ
Do I need programming skills to use ilastik?
The pixel classification workflow described here has a graphical interface. Selecting appropriate examples and assessing the results remain domain-specific tasks.
Does pixel classification automatically count individual cells?
No. It initially provides class probabilities for each pixel; separate objects or reliable counts require additional steps.
Can I process images locally?
Yes, the workflow described here can run on your own computer. Additional servers, storage locations and backups need separate consideration.