Closed Antorithms closed 1 year ago
Hi, looks like the tiffread
dependencies either was not downloaded or the folder is not in the MATLAB path.
ciapkg.loadBatchFxns;
to ensure that all the required sub-directories are loaded into the MATLAB path.ciapkg.io.loadDependencies;
in the MATLAB command window (see https://github.com/bahanonu/ciatah#setup-ciatah) and select downloadCIAtahUtils
option. Then run ciapkg.loadBatchFxns;
.Let me know if either of these resolves the issue.
Hi, thanks for the super prompt reply. So the function is there and on path.
It's running into some error when reading the file and saying it's not a tiff with this explanation
Error using tiffread (line 168)
This is not a TIFF file (missing 42).
FYI, the tiff file I am using was generated through the inscopix software. I tried to google for this error but I could not find anything straightforward and the past version of ciatah did not have it.
Thanks a lot for your help, Anto
Thanks for the update; Inscopix is likely outputting in BigTIFF as opposed to TIFF (the magic number is likely 43 instead of 42 in your file, hence the error you are seeing), especially if your file is >4 GB.
Had encountered this when helping another user recently; I've pushed an update with BigTIFF support (https://github.com/bahanonu/ciatah/pull/119), let me know if that works for you.
The update completely solved the issue! thanks a bunch!! Best, Anto
Hi, I just updated to the most up to date version of ciatah but upon running modelpreprocessMovie to preprocess a .tif movie we run in the error below. We are running in MATLAB R2021b Let us know what could be the issue: the regex and video filename are corresponding (precisely 077_01, if this could in any way be the issue).