Details
Filter Grammar -Built-in variables
Generic View-Level variables
The following table list the names and types of all the supported filter variables. They can be used with any view, regardless of the Deep Learning tool.
| Generic View variables | Type | Notes |
| new | Bool | Returns all the view that were added since the last training |
| anomalous | Bool | Returns samples where the image plane characteristics do not match the tool configuration |
| all | Bool | Returns all the views in the database |
| processed | Bool | Returns views with markings that were generated since the last training |
| masked | Bool | Returns all views that contain a mask |
| invalid | Bool | Returns all views containing invalid labels, such as empty Blue Locate tool feature, or overlapping regions in a Red Analyze tool |
| trained | Bool | Returns all views that were included in the training set |
| labeled | Bool | Returns all views that contain a label |
| sample_name | String | The name of sample, which may be different if multi-channel samples are being used |
| filename | String | Returns the view with that filename |
| added | String | Returns the date when the image was added to the workspace |
| duration | Floating Point | Returns the last processing time for the view |
| index | Floating Point | Returns an index of views in the enumeration of all views, from 0 to N-1. This is useful when you want to select a specific range of views. |
| view_index | Floating Point | |
| random | Floating Point | Returns a random value. This is useful to shuffle views (when used to sort views) or to select a random set of views. For example, 'random < 0.5' would select half of the views. |
| width | Floating Point | Returns views that match the specified width value |
| height | Floating Point | Returns views that match the specified height value |
| difficulty | Floating Point | Returns views that match a unit-less measure of the degree of difficulty to train a view |
| sets | String[] | Returns all of the views that are included in the specified set. This variable is unique, in that a vector of strings are specified in order to return a result. The following grammar summarizes the semantics of the equality, inequality and contains operators ('~') when applied to the sets variable :
Note : You can use the contains operator ('~') to perform partial matching. For example, this syntax can be used : sets ~"Plant 17" // This returns true for views that are members of Plant17, such as "Plant17-LineA" or "Plant17-LineB", but not "Plant18-LineA". |