Workflow overview

0. Preparation (Python)

1. Train ilastik classifier (ilastik GUI)

ecc uses ilastik to classify voxels into distinct labels (cells, background, etc) powered by machine learning. You must first make a ilastik project (.ilp file) and train a classifier for your image set. See Training ilastik classifier to learn about how to train ilastik classifier.

2. Apply ilastik classifier (Python)

Once a good ilastik classifier is trained, you can apply the classifier to a group of images that you are working on. To facilitate this, ecc provides PixelClassifier class from ecc.ilastik_wrapper module. See Applying ilastik classifier for more details.

3. Segment individual cells (Python)

ilastik pixel classifier produces a “probability image”, where the pixels (voxels) corresponding to desired objects (e.g. cells) are marked with high probability values. From this image, we will segment individual objects and quantify the intensity and the object volume. To do this, use CellFinder class from ecc.cell_finder module. See Segmenting cells for more details.