New selection_table features
This merge request adds three features to the selection_table module:
-
In the select() method, the user can now specify which labels to generate selections for. Previously, selections were generated for all annotations regardless of label. This remains the default mode.
-
In the select_by_segmenting() method, I have added an extra boolean argument called
keep_only_empty
, which is useful for generating background samples. -
A new method called random_choice() that selects a random subset of an annotation/selection table.