Threshold

Applies a binary threshold operation and counts pixels.
Optionally, a Boolean signal can be selected for the Enable Execution input so that the algorithm is only active if the value of the selected signal is TRUE.
Configuration options
- Threshold: Fixed threshold for conversion to a binary image.
- Max Value: Maximum value.
- Threshold Type: Type of threshold value.
Output values
- Count Results: Is incremented when a new result is provided.
- hr: HRESULT error code that outputs the result of the processing.
- Pixels above Threshold: Number of pixels with value greater than Threshold
- Image: Initial image of the algorithm.
- New Result: (Optional) TRUE if a new result is provided.