Re: How to quickly read a Z-axis cut of a multipage TIFF images?

Christopher Barker <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
Joao S. O. Bueno wrote:
> I once implementd a Tiff reader in C using libtiff, and it was not hard 
> to do - maybe you should try and move part of your processing to C , and 
> implement some Python itnerface that would allow you to drive everything 
> with simpler scripting. 
> 
> (For example, you could have a libtiff C function that would create you 
> an Y-Z slice of your data, and return that as a 2d array to python)

If you go this route, I'd strongly recommend using Cython, or maybe 
ctypes for the bindings.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.