# Red Analyze Tool Supervised Mode Processing Parameters

The Processing parameters control the way that images are processed by the tool. Changing these parameters does not require the tool to be retrained; the effect can be seen right away by reprocessing the database.

Note: The Iterations, Simple Regions, Region Filter and Use Baseline parameters are only available when Expert Mode is enabled. This is enabled via the Help menu.

Parameter | Description
--- | ---
Sampling Density | Specifies the density of sampling points with respect to the tool's Feature Size (FS) setting. The sampling density determines the degree of overlap between adjacent samples. A sampling rate of 1 means that the sampling location is incremented by the feature size between samples. The default sampling rate for most tools is 3, which means that the sampling location is incremented by one third of the feature size. Tip: One key aspect of the Sampling Density parameter is the relationship between the tool's processing time and accuracy. A tool's processing time depends approximately quadratically to the Sampling Density (Sd) value. For example, a Sampling Density setting of 1 is approximately nine times faster than a setting of 3 (n2). While higher Sampling Density settings are more accurate, it significantly impacts the processing time of the tool.
Threshold | There are two settings, T1 and T2 (expressed as [T1,T2]. They determine the threshold which determines whether or not regions are detected and marked as good or bad. Values below T1 will be classified as good, and values above T2 will be classified as bad. The T1 and T2 values can also be set interactively using the Scores graphic in the Database Overview.
Auto | When you enable Auto (Auto-Threshold), it calculates Threshold values T1 and T2 that maximize the F1 score of confusion matrix on Database Overview by following each criterion in the dropdown menu. The 4 criteria are the same as the ones in Count dropdown menu on Database Overview. See Count Filter for more information.
Simple Regions | Specifies that the tool should only extract only "simple regions", in other words, polygons without holes.
Region Filter | Specifies a filter for the tool to be used as criteria for found regions. By specifying a filter, regions that do not match the filter will be removed from the results. If the parameter is left blank, all regions will be returned. Note: The syntax for filters is the same as that used for Display Filters. For more information about constructing the syntax for a filter, see the Custom Display Filters. The available region properties are: score area perimeter compactness x y