LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Importing Image and Image Processing

Hi everyone,

 

I have recorded an image movement by using webcam. Now, I would like to transfer the image into LABVIEW for image processing. Anyone knows how to import the image into LABVIEW software? And how should I do image processing in order to determine the movement of the image? 

 

There are too many topics out there and I got confused. Could anyone guide me or at least show me the topic that I should know about ?

 

Sorry if this is a duplicated question, but I really need help.

 

Thanks.

 

0 Kudos
Message 1 of 3
(3,642 Views)

First question:

Is the image a video image, live, from the camera itself? If so, then you will need to do one of two things:

Use IMAQ to get the image.

Or use a Windows API call or a dll to access the image from the drivers. Then use Labview base image VIs to work with the image (can be tedious).

 

http://sine.ni.com/nips/cds/view/p/lang/en/nid/202472 

It is a rather expensive Module for LabView. I thinkit may be included when you by an NI camera but I could be wrong.

It has lots of features to help with getting a camera image into LabView and working with it. Lots of advanced functions included as VIs (edge detection and such).

 

 

If the image is just sitting on your computer as a file like a .jpg, then the functions under Programming->Graphics and Sound->Graphics Formats are your friend. Read BMP, Read JPG, Read PNG are all nice vis to bring in your common image files into LabView. If you have a different file type, either convert it manually or read in the binary and convert the image to Labview image data yourself (good luck with that!).

 

I hope this helps.

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

The Best way to do is download the USB IMAQ library and use the functions to grab or snap the image directly from the webcam. Later it can be saved to a file or directly taken to the processing. If you are using LabVIEW 2009 there is option in the Vision module itself to grab,snap through USB webcam.

 

Smiley Wink

-----

The best solution is the one you find it by yourself
0 Kudos
Message 3 of 3
(3,570 Views)