Skip to content

Trouble reading tiff files saved by MATLAB #36

@dickinson-lab

Description

@dickinson-lab

I'm not sure whether this is an issue with TIFFStack or not, but I'm hoping you might be able to point me towards a solution.

I have a 3D stack that I have saved to disk using the MATLAB Tiff object, which I believe is a wrapper for libtiff. I can open this file (and the image looks correct) using ImageJ or MATLAB imread, so it seems to be a bona fide TIFF file. However, when I try to use TIFFStack to read this file back into MATLAB, I get the following error:

Error using tiffread31_header (line 54)
This is not a TIFF file (no MM or II).

It can't really be possible that MATLAB's Tiff doesn't write the header properly, can it? There must be an issue with the reader, unless I'm missing something. Thanks in advance for any suggestions!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions