8. Region Banks

This section explains how to create and edit region banks.

Note

In the Segmentation Trainer, Region feature is used as a synonym for region bank.

8.1. Usage

A region bank is a group of region filters with their respective parameters to be applied in the OrsPythonPlugins.OrsTrainer.OrsTrainer.

8.2. File location

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

  • %LocalAppData%/ORS/Dragonfly31/pythonUserExtensions/PythonPluginExtensions/SegmentationTrainer/regionFeaturePreset (available for the current user)
  • %ProgramData%/ORS/Dragonfly31/pythonAllUsersExtensions/PythonPluginExtensions/SegmentationTrainer/regionFeaturePreset (available for all users)
  • %ProgramData%/ORS/Dragonfly31/python/OrsPythonPlugins/OrsTrainer/featurePresets/regionsFeatures/DefaultFeaturePresets (distributed with the application)

8.3. File creation

To create an empty region bank, start the OrsPythonPlugins.OrsTrainer.OrsTrainer (found in Tools/Segmentation Trainer). In the tab Classifier, select an existing classifier or create a new one. Go to the tab Features, select the Region option, right-click in the panel Region features and select Create New. Fill in the required fields and click on Save.

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

You can also right-click on an existing region bank from the panel Region features, select Edit, do the required modifications and click on Save as New Preset.

8.4. File edition

Right-click on an existing region bank from the panel Region features and select Edit. Do the required modifications and click on Save.