Login  Register

Concatenating Tiff stacks from ImageJ using libtiff tifftools

Posted by Chang, Joshua on Apr 23, 2008; 6:01pm
URL: http://imagej.273.s1.nabble.com/Concatenating-Tiff-stacks-from-ImageJ-using-libtiff-tifftools-tp3696458.html

We use ImageJ pretty heavily in our lab, but we would like to transition off it somewhat for doing batch jobs. I am trying to simply concatenate tiff stacks that we generated in ImageJ together using libtiff's tifftools, or Imagemagick(Also uses libtiff) but I get the same strange result.

each of the two tiffs below are 500 slices, I would expect the result to be a 1000 slice stack

KCB:Desktop joshchang$ tiffcp 060106dd.tif 060106ee.tif result.tif
TIFFReadDirectory: Warning, 060106dd.tif: unknown field with tag 50838 (0xc696) encountered.
TIFFFieldWithTag: Internal error, unknown tag 0xc697.
TIFFReadDirectory: Warning, 060106dd.tif: unknown field with tag 50838 (0xc696) encountered.

... I think once for each slice

TIFFFieldWithTag: Internal error, unknown tag 0xc697.
TIFFReadDirectory: Warning, 060106dd.tif: unknown field with tag 50838 (0xc696) encountered.
TIFFFieldWithTag: Internal error, unknown tag 0xc697.


When I open the result file in ImageJ it shows as 500 slices, and the slices after the first are all combined and offset in weird ways as if one lined up the slices side by side and just decided to arbitrary chop it up every w width pixels from some offset.

If anybody uses tifftools along with ImageJ and can give me some assistance I would be very much obliged. Thanks in advance.

Josh Chang
[hidden email]
Brennan Lab
UCLA Department of Neurology

----------------------------------------------------------
IMPORTANT WARNING:  This email (and any attachments) is only intended for the use of the person or entity to which it is addressed, and may contain information that is privileged and confidential.  You, the recipient, are obligated to maintain it in a safe, secure and confidential manner.  Unauthorized redisclosure or failure to maintain confidentiality may subject you to federal and state penalties. If you are not the intended recipient, please immediately notify us by return email, and delete this message from your computer.
----------------------------------------------------------