Block Category: Operations
Input Image Requirements: None
Description: The In Range block checks each pixel value to see if it is inside the specified RGB ranges and outputs a binary image where white indicates values inside the ranges and black indicates values outside the ranges.
Max Value (R/H/H): Indicates the threshold for the maximum pixel value for red. The value cannot exceed 255.
Max Value (G/S/L): Indicates the threshold for the maximum pixel value for green. The value cannot exceed 255.
Max Value (B/V/S): Indicates the threshold for the maximum pixel value for blue. The value cannot exceed 255.
Min Value (R/H/H): Indicates the threshold for the minimum pixel value for red. The value cannot be lower than 0.
Min Value (G/S/L): Indicates the threshold for the minimum pixel value for green. The value cannot be lower than 0.
Min Value (B/V/S): Indicates the threshold for the minimum pixel value for blue. The value cannot be lower than 0.
Use input connector values to specify the range limits: Adds input connectors to the block to dynamically control the RGB pixel values.
In this example, each pixel is examined to see if its RGB values fall within the specified ranges shown in the Inrange dialog. Pixel values within the ranges are white.