Welcome to our Support Center

Threshold

Description

Applies a threshold to an image. Type : polymorphic.

 

Input parameters

 

Image Src : class, type accepted U8 and I16.

Threshold Parameters : cluster,

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

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