LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Color Image to 32-bit RGBA array?

I have a camera which generates color images. Using the NI Vision Acquisition Wizard I get "Image Out" which is a 32-bit RGB image, and I can display it onscreen as expected. 

 

Now I need to create a 2D array of 32-bit integers from this image, where each array element describes one pixel and uses three bytes for color (one byte each for Red, Green, Blue) plus an extra 0 byte for 4 bytes total, or 32 bits per pixel.  

 

I thought that NI Vision / Pixel Manipulation / IMAQ ImageToArray would do this, but that generates only 8 bits, 16 bits, or floating point outputs. Is there something equivalent that takes an IMAQ image and generates a 32-bit integer 2D array as output?

0 Kudos
Message 1 of 2
(3,254 Views)

To answer my own question, it appears NI Vision / Color Utilities /  IMAQ ColorImageToArray is what I'm looking for.

0 Kudos
Message 2 of 2
(3,246 Views)