Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ImSpector FLIM TIFF files #105

Open
cgohlke opened this issue Aug 26, 2024 · 2 comments · Fixed by #161
Open

Support ImSpector FLIM TIFF files #105

cgohlke opened this issue Aug 26, 2024 · 2 comments · Fixed by #161
Assignees
Labels
enhancement New feature or request

Comments

@cgohlke
Copy link
Member

cgohlke commented Aug 26, 2024

The FLUTE dataset currently used in the introductory tutorial consists of TCSPC FLIM data stored in OME-TIFF files with custom metadata, written by ImSpector Pro software.

While the files are valid OME-TIFF, the TCSPC histogram is misleadingly stored in the Z dimension (not in a H dimension), and the PhysicalSizeZ attribute apparently contains the TCSPC bin size in ns. The fundamental frequency in MHz can be calculated as 1000 / (SizeZ * PhysicalSizeZ).

No specification for this storage scheme and the custom metadata seems to be available.

Imspector also writes files in the MSR and OBF formats. Bio-Formats has a reader for MSR and OBF.

Here are the relevant parts from the OME-XML embedded in the Embryo.tif file:

...
<Image ID="Image:7B60FD74-9A87-465E-8A30-8B75D0C3C803" Name="t31_2h30DC-TCSPC_C0.ome.tif" DefaultPixels="Pixels:7B60FD74-9A87-465E-8A30-8B75D0C3C803">
<CreationDate>2021-11-05T12:30:27</CreationDate>
<Description>not_specified</Description>
<Pixels ID="Pixels:7B60FD74-9A87-465E-8A30-8B75D0C3C803" DimensionOrder="XYZTC" PixelType="uint16" BigEndian="false" SizeX="512" SizeY="512" SizeZ="56" SizeT="1" SizeC="1" PhysicalSizeX="1.179500" PhysicalSizeY="1.179500" PhysicalSizeZ="0.222909">
<TiffData>
<UUID FileName="t31_2h30DC-TCSPC_C0.ome.tif">urn:uuid:7B60FD74-9A87-465E-8A30-8B75D0C3C803</UUID>
</TiffData>
</Pixels>
<ca:CustomAttributes>
<Offset Offset_0="2.048004" Offset_1="2.048004" Offset_2="0.000000" Offset_3="0.000000"/>
<Length Length_0="603.904053" Length_1="603.904053" Length_2="12.482924" Length_3="1.000000"/>
<AxesLabels X="DC-TCSPC X" Y="DC-TCSPC Y" FirstAxis="DC-TCSPC T" SecondAxis="NONE" X-Unit="µm" Y-Unit="µm" FirstAxis-Unit="ns" SecondAxis-Unit=""/>
...
@cgohlke cgohlke self-assigned this Aug 26, 2024
@cgohlke cgohlke added the enhancement New feature or request label Aug 26, 2024
@cgohlke cgohlke mentioned this issue Sep 6, 2024
9 tasks
@cgohlke
Copy link
Member Author

cgohlke commented Dec 15, 2024

Requested documentation about the ImSpector FLIM TIFF format from Miltenyi Biotec.

@cgohlke cgohlke changed the title Support Imspector FLIM TIFF files? Support ImSpector FLIM TIFF files? Dec 15, 2024
@cgohlke
Copy link
Member Author

cgohlke commented Dec 17, 2024

Got some additional information about the ImSpector FLIM TIFF format from Miltenyi Biotec technical support (thank you).

The FirstAxis or SecondAxis attributes of the AxesLabels element in CustomAttributes can have the value 'lifetime' to identify the FLIM axis. The FLIM axis replaces either the regular T or Z axis, that is, either Z-stack or timelapse measurements are possible in FLIM mode.

This doesn't match the FLUTE sample files but should be added to the implementation.

@cgohlke cgohlke reopened this Dec 17, 2024
@cgohlke cgohlke changed the title Support ImSpector FLIM TIFF files? Support ImSpector FLIM TIFF files Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant