.. meta:: :description: Extensions Region Banks Trainer region feature 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*. Usage ----- A region bank is a group of region filters with their respective parameters to be applied in the :mod:`OrsPythonPlugins.OrsTrainer.OrsTrainer`. File location ------------- To be recognized by the application, region banks should be located in one of these folders: - %LocalAppData%/ORS/Dragonfly(*version*)/pythonUserExtensions/PythonPluginExtensions/SegmentationTrainer/regionFeaturePreset (available for the current user) - %ProgramData%/ORS/Dragonfly(*version*)/pythonAllUsersExtensions/PythonPluginExtensions/SegmentationTrainer/regionFeaturePreset (available for all users) - %ProgramData%/ORS/Dragonfly(*version*)/python/OrsPythonPlugins/OrsTrainer/featurePresets/regionsFeatures/DefaultFeaturePresets (distributed with the application) File creation ------------- To create an empty region bank, start the :mod:`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*. 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*.