.. meta:: :description: Extensions Classifiers Trainer Classifiers =========== This section explains how to create and edit classifiers. Usage ----- A classifier is used to classify an image in the :mod:`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. 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. File creation ------------- To create an empty classifier, start the :mod:`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*. File edition ------------ Use the Segmentation Trainer form.