2004.05.24 22:39 "[Tiff] read and write stacks of image", by Penn Shan

2004.05.24 22:39 "[Tiff] read and write stacks of image", by Penn Shan

Hello,

I met a problem in reading and writing stacks of image in TIFF, for example 512x512x10. Using my own function, I was able to write the whole data into a long 1-D array with dimension of [512x512x10, 1]. Now I would like to output this array to a file as stacks of images, i.e., 512x512x10.

Can someone show me how to use libtiff's function to do this?

Thanks a lot!

Penn