| Operation | Settings | Output |
|---|---|---|
| Compare | Threshold (default 0); Compare Mode (default Less) | Mask: 255 where the pixel passes the compare, else 0 |
| Compare (RGB) | Threshold - Red, - Green, - Blue; Compare Mode | Mask: 255 only where all three channels pass |
| Compare - inside interval | Threshold (LL); Threshold (UL); Include interval limits (default No) | Mask: 255 where the pixel lies inside the range |
| Compare - inside interval (RGB) | Threshold (LL) and (UL) for each channel; Include interval limits | Mask: 255 where all channels lie inside their ranges |
| Compare - outside interval | Threshold (LL); Threshold (UL); Include interval limits (default No) | Mask: 255 where the pixel lies outside the range |
| Compare - outside interval (RGB) | Threshold (LL) and (UL) for each channel; Include interval limits | Mask: 255 where all channels lie outside their ranges |
| Otsu | none | Mask: 255 where the pixel is greater than the Otsu threshold |
| Otsu (with range) | Lower limit; Upper limit | Mask, with the Otsu search limited to the range |
| Threshold | Threshold (default 0); Compare Mode (Less or Greater); Value | Grayscale: passing pixels set to Value, the rest unchanged |
| Threshold (RGB) | Threshold and Value for each channel; Compare Mode | Color: the Threshold operation applied to each channel |
| Threshold - LT, GT | Threshold (LT); Value (LT); Threshold (GT); Value (GT) | Grayscale: below Threshold (LT) becomes Value (LT), above Threshold (GT) becomes Value (GT), the rest unchanged |
| Threshold - LT, GT (RGB) | The same four settings for each channel | Color: the same double threshold per channel |
Two names mislead. Threshold doesn't binarize; the reference describes it as capping values, and its output is grayscale, matching the input. And Compare tests an image against numbers, not against another image. The reference's Threshold - LT, GT example makes the capping concrete: with Threshold (LT) 80, Value (LT) 5, Threshold (GT) 100 and Value (GT) 80, pixels below 80 become 5, pixels above 100 become 80, and the rest keep their values.
For one threshold computed from all fields of view, use the Otsu Threshold (global)Loading... engine, which is added in the layer's Pre-Processing. The BOM's Otsu works on the image in front of it.
Source: StrataQuest 8.1 Engines Reference, ch. 6.11 (pp. 310–348); ch. 6.7 (pp. 206–226); ch. 33 (pp. 480–481).