Reference Color Similarity

Calculates the similarity of each pixel to a reference color and returns the result as a grayscale image. Objects in the reference colors are then detected on the basis of these grayscale images.
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
- Reference Color: Todo
- Variance: (Optional) Approved color variance (0.1 to 0.3 is often a good starting value).
- Luminance Weight: (Optional) Weights the influence of luminance ([0..1], for example 0 for higher robustness against uneven illumination. However, weighting may be required to distinguish some colors.
Output values
- Count Results: Is incremented when a new result is provided.
- hr: HRESULT error code that outputs the result of the processing.
- Image: Initial image of the algorithm.
- New Result: (Optional) TRUE if a new result is provided.