Closed zhouyi0812 closed 6 months ago
LazyTiff
doesn't work for all tiff files, tiff is a very flexible format so it's not possible to make a lazy loader that works for all files. I'd recommend using tifffit
to convert your files so that they're then memmapble, so you can load it with tifffile.memmap()
How can I check which type of.tif it is? In the past, I converted some movies from.avi to .tif from ImageJ and later I wrote some code at macro to batch processing. And it doesn’t work. Thank you!
On Wed, Mar 6, 2024 at 5:27 PM Kushal Kolar @.***> wrote:
Reopened #284 https://github.com/nel-lab/mesmerize-core/issues/284.
— Reply to this email directly, view it on GitHub https://github.com/nel-lab/mesmerize-core/issues/284#event-12035379730, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALSTOST2IIK4NL77IVYWUSTYW67ABAVCNFSM6AAAAABEKCTQ6CVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGAZTKMZXHE3TGMA . You are receiving this because you authored the thread.Message ID: @.***>
Just use tifffit if you want to be sure that the files will work.
Hello! I tried to use it as: import tiffit tiffif.info('002C5d16_B1_F2_1_00d00h00m.tif') tiffit.convert('002C5d16_B1_F2_1_00d00h00m.tif', '002C5d16_B1_F2_1_00d00h00m.tiff')
both encounter the error below: AttributeError Traceback (most recent call last) Cell In[6], line 2 1 import tiffit ----> 2 tiffit.convert('002C5d16_B1_F2_1_00d00h00m.tif', '002C5d16_B1_F2_1_00d00h00m.tiff')
AttributeError: module 'tiffit' has no attribute 'convert'
Thank you very much!
ask at tiffit, this isn't the tiffit repo.
This time I was successfully run the mesmerize-viz
Thank you!