Convert an image to black and white
- Last UpdatedFeb 12, 2024
- 2 minute read
Use the Image Thresholding block to convert colored or grey-scale images to black and white images based on the intensity.
To convert an image to black and white
-
On the Block Definitions toolbar, select Pre-Processing.
The Pre-Processing list expands.
-
Drag an Image Thresholding block onto the Canvas.

-
Connect the block to other blocks on the Canvas as needed.
-
Select the Image Thresholding block on the Canvas.
-
Right-click the block, and then select Properties.

The Properties side sheet appears on the right side of the screen.

-
In the Threshold value box, enter the threshold that you want to use for the black and white conversion.
You can set this value from 0 to 255. You can also use the slider or the increase button (
) and decrease button (
) on the same row to change the Threshold value.
-
Select Apply Changes.
The preview image for the block updates on both the Properties side sheet and the Canvas.