comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » tiff_read files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
tiff_read files [message #3937] Wed, 22 March 1995 07:33 Go to next message
m.c.ward is currently offline  m.c.ward
Messages: 1
Registered: March 1995
Junior Member
Has anyone modified the tiff_read file in order to enable it to read 16
bit grayscale images as well as 8 and 24 bit ?

Thanks, Mary Ward

--
Mary C. Ward Department of Chemistry, Imperial College, London
Re: tiff_read [message #8655 is a reply to message #3937] Thu, 10 April 1997 00:00 Go to previous message
hsiacc is currently offline  hsiacc
Messages: 3
Registered: November 1994
Junior Member
Hi:

I've written a function which reads in sequentially numbered TIFF files
and puts them in a 3D array. Contact me if you're interested. As I did not
expect others outside of my lab to use it, the coding is sloppy and you
may need to modify it a little.

andy

On Thu, 10 Apr 1997, Craig Stevens wrote:

> hi
>
> Does anyone know if there is a simple modification
> to tiff_read that will read an image sequence
> stored in tiff as opposed to a single image?
>
> I have not come across such a mod although it
> appears simple if one has the right tiff info.
>
Re: tiff_read [message #8661 is a reply to message #3937] Thu, 10 April 1997 00:00 Go to previous message
Christian Soeller is currently offline  Christian Soeller
Messages: 46
Registered: August 1996
Member
Craig Stevens <c.stevens@niwa.cri.nz> writes:

> Does anyone know if there is a simple modification
> to tiff_read that will read an image sequence
> stored in tiff as opposed to a single image?

One possible solution is to use the tiffsplit tool that comes with the
libtiff implementation (ftp://ftp.sgi.com/graphics/tiff). IDL can
spawn that tool to split your multi-page tiff into a number of
single-page tiff in some temp area (e.g. /tmp under unix) and
subsequently read the invidual tiffs into an array using tiff_read in
a loop. Maybe not the most elegant solution but should be quick to
hack together.


Christian
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: SPAWN and reading from a socket?
Next Topic: Memory needed for IDL/Linux?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:35:17 PDT 2025

Total time taken to generate the page: 0.00577 seconds