Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Problem reading multi-image TIFF files
Replies: 10   Last Post: Nov 9, 2009 12:50 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Francis Burton

Posts: 204
Registered: 12/7/04
Problem reading multi-image TIFF files
Posted: Nov 9, 2009 3:43 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I'm trying to read some image stacks in TIFF format using
imread. The files are created by commercial deconvolution
software. I get the following error:

im=imread('1.stk','Index',3);
??? Error using ==> rtifc
Invalid TIFF image index specified.

Error in ==> readtif at 52
[X, map, details] = rtifc(args);

Error in ==> imread at 430
[X, map] = feval(fmt_s.read, filename, extraArgs{:});

However, the file opens fine with ImageJ, and if I save
it back to another file, the new file can then be read by
MATLAB.

Does this indicate that the original image stack file is
non-conformant to the TIFF standard, or could it be a
problem with MATLAB itself?

(At the moment, I am working round the problem by invoking
ImageJ in command line mode and getting it to run a macro
to 'convert' each image stack that needs to be read. This
is very slow and a horrible kludge.)

Francis



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2009. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Goodwin College of Professional Studies.