Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006

Overlay Examples

8 ratings | 4.62 out of 5
Print

Downloads

Filename: overlay_multiple_roi_lv60.zip
Requirements: View

Filename: 200167.vi
Requirements: View

Filename: 200171.zip
Requirements: View

Filename: overlay_extracted_image_vb.zip
Requirements: View

Filename: overlay_rectangles_lv60.zip
Requirements: View

Filename: bitmap_overlay_lv50.vi
Requirements: View

Most of the Vision shipping examples use overlays. Overlays are for display purposes only and do not change the pixel values of the image. See the IMAQ Draw functions or IMAQ Merge Overlay function to draw objects that change pixel values of the image. Here are some additional examples that illustrate how to use overlays.

The first example performs a threshold, to get multiple regions of interest, and overlays the ROIs on an image. The overlays can each have a different color, and they outline the thresholded objects.

The second example is similar to the first, but the overlay fills in the thresholded portion of the image instead of outlining it. This example illustrates a different method for overlaying using LUTs and color palettes.

The third example illustrates different ways to overlay a bitmap image.

The fourth example uses Visual Basic to overlay an extracted image.

The fifth example shows how to overlay multiple rectangles during an acquisition based on mouse events.

The sixth example shows how to overlay during an acquisition in CVI.

Requirements


Filename: overlay_multiple_roi_lv60.zip

Software Requirements


Application Software: LabVIEW Base Development System 6.0
Toolkits and Add-Ons: LabVIEW Vision Development Module 6.1
Language(s): C, LabVIEW, Visual Basic, Visual C++

 
Filename: 200167.vi

Software Requirements


Application Software: LabVIEW Base Development System 5.1
Language(s): C, LabVIEW, Visual Basic, Visual C++

 
Filename: 200171.zip

Software Requirements


Application Software: LabWindows/CVI Base Development System 6.0
Language(s): C, LabVIEW, Visual Basic, Visual C++

 
Filename: overlay_extracted_image_vb.zip

Software Requirements


Application Software: Measurement Studio Visual Basic Support 6.0
Language(s): C, LabVIEW, Visual Basic, Visual C++

 
Filename: overlay_rectangles_lv60.zip

Software Requirements


Application Software: LabVIEW Base Development System 6.0
Toolkits and Add-Ons: LabVIEW Vision Development Module 6.1
Language(s): C, LabVIEW, Visual Basic, Visual C++

 
Filename: bitmap_overlay_lv50.vi

Software Requirements


Application Software: LabVIEW Base Development System 5.0
Toolkits and Add-Ons: LabVIEW Vision Development Module 6.1
Language(s): C, LabVIEW, Visual Basic, Visual C++

 
8 ratings | 4.62 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).