I'm using Imaq Vision with cvi.
I get a 24 bit RGB array from my camera. To make this into an IMAQ Chunky Colour 32 bit image I first have to convert it to a 32 bit array:-
for (i=0; i memcpy(buf32[i*4], buf24[i*3], 3);
This works, but is pretty slow.
Does anyone have a faster way to achieve this?