AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.09.05 18:14 "[Tiff] read in whole tiff file", by Pushkar Pradhan
2003.09.10 02:25 "[Tiff] read in whole tiff file", by Pushkar Pradhan
2003.09.10 07:03 "[Tiff] read in whole tiff file", by Andrey Kiselev
2003.09.10 13:04 "[Tiff] read in whole tiff file", by Frank Warmerdam
2003.09.10 13:20 "[Tiff] read in whole tiff file", by Tom Kacvinsky
2003.09.10 17:51 "[Tiff] read in whole tiff file", by Pushkar Pradhan
2003.09.10 18:36 "[Tiff] read in whole tiff file", by Phillip Crews

2003.09.10 13:20 "[Tiff] read in whole tiff file", by Tom Kacvinsky

I beleive Pushkar is trying to chunk the image up into pieces for processing on different processors. Perhaps the way to chunk the file up is to use either the tiles or strips. Say there are 5 strips and 2 processors. Then 2 strips go to each processor, and the remaining strip goes to one processor or the other... Ditto for tiles. I remember using MPI to parallelize the LDU decomposition of a matrix. It got to be rather heinous, but I was a math magor, not a comp. sci. magor. :-)

Tp,

Is there a way to read in the complete TIFF file in one READ call? I need to do this. Thanks,

I find it almost impossible to imagine a compelling need to read an entire TIFF file in one call. Computer programming languages include looping constructs in order to allow us to complete an aggregate result by a series of small operations, and subroutines so we can bundle them into packages as needed.

However, the TIFFReadRGBAImage() call will read a whole open TIFF image into a memory array in RGBA (red/green/blue/alpha) form in a single call. Try reading over the man page on it and see if it is suitable to your needs.

> _______________________________________________
> Tiff mailing list
> Tiff@remotesensing.org
> http://remotesensing.org/mailman/listinfo/tiff
>