[Image-SIG] How to quickly read a Z-axis cut of a multipage TIFF images?

Christopher Barker Chris.Barker at noaa.gov
Mon Apr 12 20:09:04 CEST 2010


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

Chris.Barker at noaa.gov


More information about the Image-SIG mailing list