Example Code

Archived: Example program for Adaptive Thresholding in IMAQ Vision

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Driver

  • Vision Acquisition Software

Code and Documents

Attachment

Description

Overview


This document has been archived and is no longer updated by National Instruments.

For Machine Vision users who are challenged by non-uniform or changing lighting conditions, the Adaptive Thresholding algorithm is an image segmentation tool that is both powerful and flexible. Unlike global value threshold algorithms, the adaptive thresholding approach allows the user to extract relevant information information from images under broad variations in lighting conditions.

The attached zip file contains a sample image, the algorithm implementation as a sub VI and a Test VI that shows how to use the sub VI.


 
 

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.