Acquire Images in a Format Not Supported by Vision Software

Updated Jun 23, 2026

Reported In

Software

  • LabVIEW

Driver

  • Vision Acquisition Software

Issue Details

I'm using LabVIEW and Vision Acquisition Software to acquire images from a camera.

The camera can capture images in a format other than RGB, and I can obtain the expected images using tools other than LabVIEW, such as OpenCV.

However, in LabVIEW, due to the limited image format options available in IMAQ, the expected result is not displayed correctly in the image viewer.

Is there any workaround for this?

Solution

If you are able to get the expected images using OpenCV, consider integrating OpenCV with LabVIEW.

There are two possible methods for this:

 

Using VisionOpenCV Utilities

This approach connects NI Vision image data with OpenCV data using C++. Knowledge of C++ development is required.

The utilities can be downloaded via the VI Package Manager.

 

Using OpenCV for LabVIEW

This method allows you to use various OpenCV functions in LabVIEW via Python.
If you only use the APIs published on GitHub, no knowledge of Python development is required, but you do need to have a Python development environment installed.
Note that images are acquired in picture format, so if you want to use Vision Development Module functions after acquisition, you must convert the image to the IMAQ Image data type.

This tool is available on the corresponding GitHub page.