Example Programs

cancel
Showing results for 
Search instead for 
Did you mean: 

Create Partial Transparent Image Overlay Without VDM

Overview

This example demonstrates how to create a partial transparent overlay over an image without the Vision Development Module (VDM).

 

Description

When trying to create transparent portions of images using the Picture Functions in LabVIEW, your only option is to the Create Mask function. However, it does not allow for partial transparency.

The work around to achieve partial transparency is to average the pixels you would like to be transparent with the pixel values of the original image. See the attached VI for an example of performing this feature.

 

Requirements

 Software

  • LabVIEW Base Development System 2012 (or compatible)
  • If running in a Real-Time context, you will need the LabVIEW Real-Time Module 2012 (or compatible)

 Hardware

  • No hardware is necessary to use this example VI

 

Steps to Implement or Execute Code

  1. Download and open the attached ZIP-file
  2. Open and run the [Main] ...VI

 

Additional Information or References

Create Partial Transparent Image Overlay - Front Panel.png
 
Create Partial Transparent Image Overlay - Block Diagram.png

 

**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.**
Alex Person
NI-RIO Product Support Engineer
National Instruments
Comments
Member Torben Oestergaard-Andersen
Member

Great !!

Thanks - this wa sjust what I needed :-)