LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save image array

Hi,

I am using the a PCO Sensicam camera. The camera output is a U16 type array that is displayed by using an intemsity graph. I would like to either save this array or better yet convert it to a tiff. I do not have the NI vision development module. 

 

Thanks

Gaby 

 

0 Kudos
Message 1 of 4
(3,308 Views)
0 Kudos
Message 2 of 4
(3,290 Views)

Hi Gaby,

 

Does it have to be tiff?

And how is the formatting of your U16 array? Is it indexed colors or some kind of RGB?

The "Flatten Pixmap.vi" from the 'Graphics & Sound' > 'Graphics Formats' palette can convert 24 bit or 8 bit images (U32 or U8 arrays) to the image data type, which can be saved to bmp or other picture formats using the VIs on the same palette.

But to use Flatten Pixmap you'll have to convert your data to 24 bit RGB (U32) first.

 

Daniel

 

 

Message Edited by dan_u on 12-16-2008 03:13 PM
0 Kudos
Message 3 of 4
(3,285 Views)
Hi Gaby,

Thank you for contacting National Instruments. Like Daniel, I am also curious to know why you need to convert to a TIFF image. You have many options for saving your U16 array. One way is to write that U16 array to the disk using the Write to Spreadsheet File.vi, but other file I/O VIs are better suited to different tasks (streaming, large data size, etc.). Are you continuously receiving data from the camera; if so, at what rate?
 

 
Joshua B.
National Instruments
0 Kudos
Message 4 of 4
(3,256 Views)