This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

How Can I Display Images in LabVIEW Without Vision Development Module?

Updated May 17, 2023

Reported In

Software

  • LabVIEW

Issue Details

There are image files/image data that I want to display in LabVIEW, but do I need Vision Development Module to display these images in LabVIEW?

Solution

Vision Software such as Vision Development Module and Vision Builder AI are required to perform image analysis and image processing. However, if you only require to save and display common image files such as JPEG and Bitmap, it is sufficiently possible to use the function already provided in LabVIEW. 

You can use Read JPEG File.vi and Draw Flattened Pixmap.vi function which can be found in Graphic & Sound palette of the block diagram. You can also refer to the VI Snippet on how to view image in LabVIEW.
 

Next, It is also possible to perform simple image processing by editing the data from Image data output terminal of Draw Flattened Pixmap.vi function used in above sample program. For example, the following VI Snippet shows how to display a JPEG image in LabVIEW, then extract the image data, change the selected color of RGB to elements of the same value (0 to 255), and finally display the reconstructed image.
 

Additional Information

Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.

Attachments