Overview
The adaptive thresholding approach allows the user to extract relevant information information from images under broad variations in lighting conditions.
Description
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.
Hardware and Software Requirements
LabVIEW 2014 or compatible
Vision Development Module 2014 or compatible
Steps to Implement or Execute Code
- Download the zip file attached below and extract the files to a known location
- Open the Adaptive Threshold (Main).vi
- Select an image (you can use the one provided in the zip file)
- Select the Filter Size
- Run this VI
- Select a Region Of Interest (ROI)
- The left image shows the Original Image and the balanced ROI image overlaid on it
- The right image shows the selected ROI correctly thresholded.
Additional Information or References
Front Panel:


Alyssa H.
Applications Engineer
National Instruments