Welcome to our Support Center

Multi Threshold

Description

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

 

Input parameters

 

Image Src : class, type accepted U8, I16, RGB and HSL.

Ranges : array,

Lower Threshold : integer, is the lowest pixel value to be taken into account during a threshold.
Higher Threshold : integer,
is the highest pixel value to be taken into account during a threshold.
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.
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.

 

Output parameters

 

Image Dst : class

Example

All these exemples 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 TIGR library to run it).

Table of Contents