ZEISS Knowledge Base
Help
ZEISS Knowledge Base

Detecting nuclei and cells (Machine Learning)

Introduction

This guide explains you how to detect nuclei and cells using the pipeline with the Machine Learning Segmenter operation. Machine learning (ML) is a branch of Artificial intelligence (AI) in which, based on the training dataset that are first provided, the computer develops its own logic for answering future questions. The key concept of machine learning is to produce accurate predictions on new unseen data after being trained on a finite learning dataset.

Workflow

Demo dataset

The data set is a multi-dimensional, discrete representation of your real sample volume. It can be structured as a z-series of planes (optical slices) of multiple channels (dyes) in a temporal sequence of time points located at multiple spatial positions. Usually, the dataset shows a single experimental situation. A complete experiment can be composed by several datasets. The datasets are available as graphic files saved in plenty of file formats (standard formats as well as proprietary formats).

The link for the specific demo dataset for this guide is displayed below. All datasets are listed here: https://demodata.arivis.com

Downloading the demo dataset

  1. To download the demo dataset, click http://demodata.arivis.com/data/arivisVision4D-DemoData-SamplePipelines-ML.zip
  2. The download is starting automatically.
  3. Create a new folder on your local disk. Move the *.zip file from the download folder inside it.
  4. Unzip the folder.

Opening the demo dataset

  1. Click File > Open...
  2. Select the *.sis file from the Windows Explorer.
  3. The demo dataset is displayed in the viewer. The dataset is visualized according to the current rendering setting parameters.

Activating the Sample Pipeline

  1. In the Shortcut Toolbar, click Analysis Panel .
  2. In the Sample Pipelines list, double-click the Detect Nuclei And Cells Using Machine Learning Pipeline.
  3. If you have activated a pipeline, it will be replaced by the new one.

You can open the appropriate How to guide. By hovering over a pipeline, this button is displayed. When clicking on it, the option Open How to appears.

Executing the pipeline

You can execute the pipeline step by step or in a single run. To do this, use the executing buttons in the Pipeline toolbar.

Executing Buttons in the Pipeline toolbar
Executing Buttons in the Pipeline toolbar

Executing step by step

You can execute the pipeline step by step (back and forth). This method allows to run and undo a single operation. You can either use the executing buttons in the Pipeline toolbar or in the Operation toolbar to go through the operation list.

  1. To run the single operation, click .
  2. To undo the single operation, click .
    Note: Undo the last operation executed if you need to change the operation settings.

Operation status

Executing buttons in the Operation toolbar after executing
Executing buttons in the Operation toolbar after executing

When the operation is running, this icon is shown.

When the operation is completed, this icon is shown.

Viewing the Results

  1. If not already visible, open the Objects dialog. In Shortcut Toolbar, click Objects table .
  2. Measurements are now visible in the objects table.
  3. To add or remove table columns, click Feature Columns...
    For more information, refer to the Online Help (F1).

 

Results in the Viewer

Results in the Viewer
Results in the Viewer
Results of the Segments
Results of the Segments

Machine Learning Trainer

Opening the ML Trainer panel

  1. Click Analysis > Machine Learning Trainer (Image)
  2. The Machine Trainer panel is displayed.

Setting up the ML Trainer

  1. Select the Channel.
    Note: You can select a single or multiple channels.
  2. To select the features that are used for the machine learning, select from the Feature set dropdown list.
  3. To set up the Custom feature, click Feature .
  4. The Feature dialog is displayed.

    Note: You can select all or a combination of the available features and resolutions. You can apply the features dimensions to 2D or 3D.
  5. To disable a feature totally, click on a feature row header.
  6. To disable a resolution totally, click on a resolution column header.
  7. Click OK.
  8. Select the Classes by which to classify the pixels in the image.
    Note: By default, the Background class and the Class 1 object class is added.
  9. To add classes, click + Add Class
  10. To rename the class, double-click on the class header.
  11. Click Brush tool.
  12. The cursor switched to a brush.
  13. To select regions representative for the classes, drag the brush on the image.
    Note: Annotate several small segments rather than large few. Try to cover all the different structure conditions (e.g., intensity, texture, etc.) present in your training images. Don’t overlay annotation to the background and other structures.
  14. Each annotation is shown under the related class.
  15. To delete an annotation, right-click on it and click Remove selected object.
  16. To check the quality of the training , click Preview tabs.
  17. The preview shows which pixels will be segmented.
  18. Click Train.
  19. To export the training for further usage, click Panel menu > Export.
  20. To open the pipeline with the Machine Learning Segmenter operation, click Open in Pipeline.
Impressum
Carl-Zeiss-Strasse 22
73447 Oberkochen
Germany
Legal