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.