LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TIFF Image Creation

Does anyone have any code for writing tiff files from binary pixel data?

I know I can use an array to image (part of NI Vision) and then use the IMAQ save image, but was wondering if there were any other free alternatives.

Secondly, if I use the Vision/IMAQ method and I need a 10 or 12 bit image... if I use the 10/12 bit values in a 16 bit variable to send to the array to image and then use the IMAQ settings to set image depth to 12 or 10 bit, will it work correctly?

0 Kudos
Message 1 of 2
(2,437 Views)

Libtiff will address your needs, if you can get it integrated into labview.  I think I've seen this done already.

 

You can also try saving the data as a RAW digital file, and use a third party tool to convert RAW to TIFF/PNG/JPG, or anything else.  ImageJ, and other open source tools can do this.  Some of them even have a command line interface, so you can fully automate the process.

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 2 of 2
(2,377 Views)