LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading tiff-header

Hello,

I need to load a tiff file which is multi-page into an array of images. And important is to read a header of tiff-file while it has information which is necessary for data analysis. Could you point me how to read tiff's header and to load properly multipage tiffs?
0 Kudos
Message 1 of 4
(6,039 Views)
Vision development Module should do it.  We bought that for processing 16-bit tiff files.
------- LabVIEW 2009, So Easy, Even a Therapist Can Do It -------
0 Kudos
Message 2 of 4
(5,993 Views)
If you don't want to buy the Image module (but who wouldn't Smiley Wink), you can probably roll your own solution pretty easily.  TIFF has been an open standard for quite awhile (I wrote a limited reader for it over a decade ago).  You can find references to the standards in the Wikipedia article on TIFF.  Reading the header is not difficult, if you understand how to read binary files.  Your biggest issue will be reading compressed data.  Note that TIFF is a huge standard.  You won't be able to implement all of it, but implementing the part you need should be pretty easy.

However, this is reinventing the wheel.  You might try one of the free libraries, such as ImageMagick, to help there.  LabVIEW has shared library and command line interfaces to external programs, so you should be able to do what you want to do.

If you need further help, let us know.
0 Kudos
Message 3 of 4
(5,975 Views)

Hi, could you explain more detaily how to use Vision development Module to get the header information?

Thanks a lot.

0 Kudos
Message 4 of 4
(5,135 Views)