LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting IMAQ image to array

I am pretty fluent in Labview but new to IMAQ. I have some LV drivers for a frame grabber that captures an image. I am just trying to get that image into a 2-D array of numbers but not having much luck. What do I need to do?
0 Kudos
Message 1 of 3
(3,301 Views)
Eyecheck2003;

There is a VI called IMAQ ColorImageToArray.vi that does exactly that conversion. It is located in the function palette:

Motion & Vision -> IMAQ Vision -> Color

Regards;
Enrique Vargas
www.visecurity.com
www.vartortech.com
Message 2 of 3
(3,301 Views)
Use ´IMAQ ImageToArray´ (under Vision Utilities -> Pixel Manipulations) and have a look here:
http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E34856A4E034080020E74861&p_node=DZ52505&p_submitted=N&p_rank=&p_answer=&p_source=External

or - thanks to your example folder - here:
\examples\Vision\2. Functions\Tools.llb\ImageToArray Example.vi\ImageToArray Example.vi
Message 3 of 3
(3,301 Views)