To download NI software, including the products shown below, visit ni.com/downloads.
Overview
The example demonstrates how to extract a pixel value from an image.
Description
In case only single pixels from an image should to be analyzed it is possible to extract the pixel value from an IMAQ image with 'IMAQ GetColorPixelValue'.
The example allows to select a pixel by specifying coordinates or by clicking the desired pixel in the Image Display control.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text 'NIVerified'. Read here for more information about the new Example Guidelines and Community Platform.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.