9. Classifiers

This section explains how to create and edit classifiers.

9.1. Usage

A classifier is used to classify an image in the OrsPythonPlugins.OrsTrainer.OrsTrainer.

A classifier contains all the information about the number of dataset required, the number of segmentation classes, the pixel or region features to apply and the training information.

9.2. Files location

To be recognized by the application, classifiers should be located in one of these folders:

  • %LocalAppData%/ORS/Dragonfly(version)/pythonUserExtensions/PythonPluginExtensions/SegmentationTrainer/classifiers (available for the current user)
  • %ProgramData%/ORS/Dragonfly(version)/pythonAllUsersExtensions/PythonPluginExtensions/SegmentationTrainer/classifiers (available for all users)
  • %ProgramData%/ORS/Dragonfly(version)/python/ORSServiceClass/segmentation/classifiers (distributed with the application)

Note

All the mandatory files defining a classifier should be contained in a folder in one of these locations.

9.3. File creation

To create an empty classifier, start the OrsPythonPlugins.OrsTrainer.OrsTrainer (found in Tools/Segmentation Trainer). In the tab Classifier, press the New button.

You can also create a new classifier by doing a right-click on an existing classifier from this same panel and selecting Duplicate.

9.4. File edition

Use the Segmentation Trainer form.