Multi Threshold

Description

Performs thresholds of multiple intensity ranges to an image. Type : polymorphic.

 

Documentation illustration (illustration unavailable in the archive).

Input parameters

 

Documentation illustration (illustration unavailable in the archive). Image Src : class, type accepted U8, I16, RGB and HSL.

Documentation illustration (illustration unavailable in the archive). Ranges : array,

Documentation illustration (illustration unavailable in the archive). Lower Threshold : integer, is the lowest pixel value to be taken into account during a threshold.
Documentation illustration (illustration unavailable in the archive).
Higher Threshold : integer,
is the highest pixel value to be taken into account during a threshold.
Documentation illustration (illustration unavailable in the archive). Replace Value : integer,
is the value used to replace pixels between the Lower value and Higher value. This operation requires that Keep/Replace Value is TRUE.
Documentation illustration (illustration unavailable in the archive).
Keep/Replace Value : boolean,
determines whether to replace the value of the pixels existing in the range between Lower value and Higher value. The default status, TRUE, replaces these pixel values, and the status FALSE keeps the original values.

All pixels outside the range between Lower value and Higher value are set to 0. All values found between this range are replaced by the value entered in Replace Value if Keep/Replace Value is TRUE.

 

Documentation illustration (illustration unavailable in the archive).

Output parameters

 

Documentation illustration (illustration unavailable in the archive). Image Dst : class

Examples

All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Computer Vision ​library to run it).