I have a file (which I can send you ) that is a mix of 8,16 and 32 bit image. In the file loaded below image 0 is 8bit, image 1 is 32 and image 2 is 16
Your reader handles the 8 and 16 bit fine but I get the report error to github message
(base) PS E:\users\klingr\IDL_nih\readlif-0.6.5\readlif\testingLIFreader> python
Python 3.9.16 (main, Mar 8 2023, 10:39:24) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
from reader import LifFile
new = LifFile('Example_FLIM.lif')
im = new.get_image(0)
im.get_frame(z=0, t=0, c=0)
<PIL.Image.Image image mode=L size=512x512 at 0x2AD0E3AE0A0>
im = new.get_image(1)
im.get_frame(z=0, t=0, c=0)
Traceback (most recent call last):
File "", line 1, in
File "E:\users\klingr\IDL_nih\readlif-0.6.5\readlif\testingLIFreader\reader.py", line 380, in get_frame
return self._get_item(item_requested)
File "E:\users\klingr\IDL_nih\readlif-0.6.5\readlif\testingLIFreader\reader.py", line 182, in _get_item
raise ValueError("Unknown bit-depth, please submit a bug report"
ValueError: Unknown bit-depth, please submit a bug report on Github
im = new.get_image(2)
I have a file (which I can send you ) that is a mix of 8,16 and 32 bit image. In the file loaded below image 0 is 8bit, image 1 is 32 and image 2 is 16
Your reader handles the 8 and 16 bit fine but I get the report error to github message (base) PS E:\users\klingr\IDL_nih\readlif-0.6.5\readlif\testingLIFreader> python Python 3.9.16 (main, Mar 8 2023, 10:39:24) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.