LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get and save image from camera

Hi I need to grab an image from a camera and save it in a known format (such as TIF).  What is the best way to do this in LabView.  We are using an EDT camera via a PCI DV C-Link http://www.edt.com/pcidv_cl.html.  Appreciate any help/ guidance.

 

0 Kudos
Message 1 of 5
(3,422 Views)

EDT says:

Do you have Labview drivers? Matlab? IDL? Others?

Not directly. Our API is designed to allow programmers to build functionality into their applications, and all hooks are available to make EDT API subroutine calls from drivers for third party packages, but we do not provide the drivers ourselves. Some drivers are available from other providers; see our Partners page.

 

 

So you will need to use the Call Library Function Node to integrate their Drivers DLL into your LV. How to save the images then in a standart format depends on the data format you get from their driver.

 

Using an NI Framegrabber would be easier Smiley Happy


 

 

Christian 

 

 

Message 2 of 5
(3,406 Views)

We are using a LabView 2D array of unsigned short of camera pixel data filled in from a DLL.  How do I convert this LabView 2D array into a known lossless format such as TIF?

0 Kudos
Message 3 of 5
(3,386 Views)

If its not necessary to have .TIF, you can use the Flatten Pixmap.vi to convert your U8 Array into a pixmap and then use the Write JPG File.vi to save it as JPG or the Write PNG File.vi to save it as PNG.

 

Otherwise search under ni.com or within the forums for an example how to convert whatever format into the .TIFs and save it with binary file I/O VIs.

 

 

Christian

0 Kudos
Message 4 of 5
(3,366 Views)
Image Toolbox support TIFF file format.
Message Edited by zou on 09-07-2009 10:15 PM
George Zou
0 Kudos
Message 5 of 5
(3,332 Views)