ericwait / matlab-utilities

Many useful helper functions when working with microscope data in MATLAB
http://hydraimageprocessor.com
Other
1 stars 1 forks source link

Dependence on TIF image to populate PixelType field #2

Open brossetti opened 4 years ago

brossetti commented 4 years ago

The following will fail if the image metadata was populated from a directory containing non-TIFF files (e.g., KLB).

https://github.com/ericwait/matlab-utilities/blob/ae52dbcf18f700aefcfbb01c789608a3fe6bd9ca/src/MATLAB/%2BMicroscopeData/GetImageClass.m#L23

brossetti commented 4 years ago

In fact, this line breaks for any directory that does not abide by the MicroscopeData file name format.