ZEISS Microscopy Knowledge Base
Help
ZEISS Microscopy Knowledge Base

Intellesis Object Classification

This module offers the functionality to classify objects based on measured parameters of an analyzed image using machine-learning algorithms and to create and to train such a model for object classification. Since the input for the object classification is an analyzed image containing a result table, the functionality of the Image Analysis module is also required for the complete workflow.

Licensing and Functionalities of Intellesis Object Classification

Some functionality of Intellesis Object Classification is generally available, but the full functionality requires the AI Toolkit license.

Basic functionality

The general available functionality includes:

  • Importing and exporting models.
  • Managing the models, including renaming and deleting.
  • Running a model with the Intellesis Object Classification workbench and tool or in OAD (if you have licensed the Developer Toolkit).

Licensed functionality

If you have licensed this functionality and activated it under Maintenance > Toolkit Manager, the following additional functionality is available:

  • Creating and training a new model.
  • Retraining an existing model.

Workflow Overview for Intellesis Object Classification

The workflow to train and use an Intellesis object classification model consists of three main steps:

Creating and Training an Intellesis Object Classification Model

  1. You have licensed the AI Toolkit and activated it under Maintenance > Toolkit Manager.
  2. You are in Manage Templates.
  3. You have a CZI image with image analysis results. For detailed information on analysis, see Image Analysis.
  1. For Show, select Intellesis Object Classification Models.
  2. In the top right tool bar, click Close-up of dark brown irregular particles on pale background with cyan and orange annotation strokes.
  3. The user interface for training opens, see Training User Interface Intellesis Object Classification.
  4. In the top left corner, click Import Images. To open an image from the archive, click Import from Archive.
  5. A file browser or the archive browser opens.
  6. Select the image for training from the file system and click Open. When loading the image from the archive, select the image and click OK.
  7. If the image analysis contains more than one class and channel, the Select Region Class and Channel(s) dialog opens.
  8. Select the region class and the channels you want to use for classification and click OK.
  9. The image is displayed in the list. Note that all imported images are included in your model.
  10. If you have imported an image from the archive, it is copied to the location defined under Maintenance > General Options > Intellesis.
  11. Select the image from the list.
  12. The image is displayed, and the table shows the data of the analysis result.
  13. On the left side, add as many classes as you need for your object classification by clicking Add Class.
  14. You have created the classes that you want to distinguish.
    Intellesis Object Classification UI with classes Metallic-Shiny, Non-Shiny, Fiber, annotated image with outlines and a table
  15. To change the label color for a class, click on the color field of the list entry and select one from the window.
  16. To rename a class, right click on the entry, select Rename, enter a new name and click Intellesis Segmentation window showing brown sample particles on light blue background with labeling controls on left. Alternatively, double click the name entry, enter a new one and click Intellesis Segmentation window showing brown sample particles on light blue background with labeling controls on left, or press Enter.
  17. In the Labeling Options tab, click black pencil icon and black trash can icon on white background.
  18. You are now in labeling mode.
  19. In the classes list, select a class and click on an object that belongs to this class in the image or in the table.
  20. You have labeled the object and assigned it a class.
    Legend showing classes Metallic-Shiny, Non-Shiny, Fiber with colored squares beside a microscopy image with cyan outlines
  21. Repeat the labeling for the objects of the different classes you created.
  22. Click Train & Classify.
  23. Your model is trained based on the labeling and a prediction is displayed.
    Intellesis Object Classification screenshot: grayscale image with orange, cyan, red outlines and a right results table
  24. If you are not satisfied with the result, you can label more objects, click Train & Classify again, and iteratively improve your results.
  25. When you are satisfied with the result, click Finish.
  26. All changes are saved, and the training interface is closed.
  1. You have successfully created and trained a model for object classification. You can now use it to classify objects in your analyzed images with the Intellesis Object Classification tool, see Using an Intellesis Object Classification Model for Image Processing.

Importing an Intellesis Object Classification Model

  1. You have a trained model available for import.
  1. Under Manage Templates > Show, select Intellesis Object Classification Models.
  2. In the top right tool bar, click Small toolbar icon shown in the top-right of the interface.
  3. A file browser opens.
  4. In the file browser, select the model file from the file system, and click Import.
  1. You have imported a model, and it is available in the list of object classification models. You can now use it to classify objects in your images or open it (e.g. for training) by double clicking on it.

Exporting an Intellesis Object Classification Model

NOTICE

Blue circular sign with white exclamation mark

Risk of non-functioning models in new ZEN core versions

In case of changes in Python libraries, trained models can stop working on a new version of ZEN core and need to be retrained first. Retraining is only possible if the model contains the images, or the images are generally still available. To be able to retrain your model, consider the following solutions:

  1. Export your model with your images, see Exporting an Intellesis Object Classification Model with Images.
  2. Make a backup of the images used for training the model, e.g. on your (external) hard drive.
  1. You are in Manage Templates.
  2. You have created an object classification model, see Creating and Training an Intellesis Object Classification Model.
  1. For Show, select Intellesis Object Classification Models.
  2. Right-click the model you want to export and select Export.
  3. A file browser opens.
  4. Select the file location and click OK.
  1. The model is exported to that location. It contains the trained classification routine. Such a model is meant to be used only for classifying objects in an analyzed image, but not for the training process anymore.

Exporting an Intellesis Object Classification Model with Images

  1. You are in Manage Templates.
  2. You have created an object classification model, see Creating and Training an Intellesis Object Classification Model.
  1. For Show, select Intellesis Object Classification Models.
  2. Right-click the model you want to export and select Export (with Images).
  3. A file browser opens.
  4. Select the file location and click OK.
  1. The model is exported to that location. It contains the trained object classification routine and the images used for the training. Such a model can be used for classifying objects in an analyzed image and can be retrained in the future.

Using an Intellesis Object Classification Model for Image Processing

  1. You have created and trained an object classification model, see Creating and Training an Intellesis Object Classification Model.
  2. You are in Free Mode or Job Mode and have added the Intellesis Object Classification tool.
  3. You have opened the analyzed image(s) for which you want to use the classification model.
  1. In the Intellesis Object Classification tool, click White rounded rectangle icon with three centered black dots on gray background.
  2. The Open Template dialog opens.
  3. Select the Model you want to use for object classification and click OK.
  4. If you want to display all statistical features in the result table (and not only the features that were selected in the image analysis), activate Append Classification Features to Result Table.
  5. Click Apply.
  6. The objects in your image are now classified based on the trained model.
  1. The classified image is displayed, and the table is updated, including the label for each object and the confidence.
    Intellesis Object Classification screenshot: grayscale sample with colored particle overlays and right results table
  2. You can now extract a result table (including classification result and analysis features) with the Create Result Table tool and subsequently create a table with only your classification result using the Category Histogram tool for table processing.

Intellesis Object Classification Workbench

This workbench enables you to perform an object classification on your analyzed image(s), see Using an Intellesis Object Classification Model for Image Processing.

Intellesis Object Classification Tool

With this tool you can classify the objects in your analyzed image based on a trained model.

Parameter

Description

Model

Selects the objects classification model.

Append Classification Features to Result Table

Activated: Displays the measurement features from the images analysis and all measurement features used for the classification.
Deactivated: Displays only the measurement features that were selected in the image analysis.

Create Result Table Tool

This tool creates a standalone table with the measurement results embedded in an image.

Parameter

Description

All Slices

Activated: Creates the table for all image slices.
Deactivated: Creates the table only for the current slice.

Region Class

Selects the region class for which the table is created (e.g. for the detected Object, or the Background).

Impressum
Carl-Zeiss-Strasse 22
73447 Oberkochen
Germany
Legal