Francisco,
The ij.io.TiffDecoder class will show you how.
http://rsb.info.nih.gov/ij/developer/source/ij/io/TiffDecoder.java.htmlKeep in mind ImageJ has its own way of reading tiffs, so if your tiff
files have longer headers than what ImageJ expects you may run into
trouble. If so, just have a look at the tiff file format documentation
(google will show you), for all information on how to retrieve the
header offset, width and height from the header, and then the pixels
using this info. The header length (i.e. offset until the pixels start),
as far as I remember, is written within the first couple of bytes of the
tiff file.
Albert