Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New tiffRead returns different datatypes than old one. #3

Open
mjlm opened this issue Mar 10, 2017 · 2 comments
Open

New tiffRead returns different datatypes than old one. #3

mjlm opened this issue Mar 10, 2017 · 2 comments

Comments

@mjlm
Copy link
Contributor

mjlm commented Mar 10, 2017

https://github.com/HarveyLab/helperFunctions/blob/master/tiffRead.m
@Selmaan
The new tiffread with the scanimage tiffreader returns int16, whereas the old tiffRead returned something different (either double or uint16, haven't checked yet). This has the potential to break code that expects the old type.

I'm not sure if the datatype that is returned by the new tiffRead is in some sense the "correct" one and we should change other code to deal with it, or if we should change.

@shinkira
Copy link

ScanimageTiffReader called in the new tiffread does not properly read old tiff files (i.e., non-bigtiff files), and returns empty Metadata. I think tiffread should first check whether the loading file is tiff or bigtiff.

@Selmaan
Copy link
Contributor

Selmaan commented Mar 12, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants