To download NI software, including the products shown below, visit ni.com/downloads.
Overview
The example demonstrates how to overlay an image with a transparent image.
Description
LabVIEW Vision Development Module (VDM) by default does not support transparency information within PNG files. However, PNG files can contain additional information specifying the level of transparency of every pixel, called alpha channel. Since the VDM does not support transparency the example sets a threshold to decide if a pixel will be displayed fully opaque or fully transparent. Depending on the previous evaluation the transparent image is projected onto an existing image at a certain position.
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.
Nicely done. It would be useful if this was part of the standard vision library. Good work around.
- Matt