Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I copy a block of memory (image) in LV array

Hi,
I need to read and copy image data from memory to LV array. I use HWaccess VI (read a byte) but the loop time is too long, is there any solution with specific DLL which realise a total copy in LV array ?

Thanks
Francois.

My system: P4/Win2000/LV 6.0/IMACVISION
0 Kudos
Message 1 of 2
(3,311 Views)
If you just want to copy an IMAQ Image into a 2D array, I recommend using the IMAQ ImageToArray.vi.

If you have NI Vision installed, then you could also use the IMAQ GetImagePixelPtr.vi to return the memory location of the first pixel and reference the rest from there.

Kyle V
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 2 of 2
(3,311 Views)