OME-TIFF

Prerequisites

Before starting this lesson, you should be familiar with:

Learning Objectives

After completing this lesson, learners should be able to:
  • Understand the basic concept of the TIFF image data format

  • Understand that there are various TIFF variants, such as ImageJ-TIFF and OME-TIFF

  • Create OME-TIFF files

  • Convert other image data into OME-TIFF files

  • Inspect OME-TIFF image data and metadata

Motivation

Concept map

graph TD T("TIFF") --- I("Image data and metadata") T --- P("Planar image data model") T --- V("Variants exist") V --- OT("OME-TIFF is an important variant")



Figure


TIFF is a planar file format, where one TIFF file can contain multiple image planes of different sizes and different data types, which are specified in the respective IFD block. OME-TIFF features an additional OME-XML metadata block, which describes additional important microscopy metadata such as the mapping of IFDs to channel, time-point, and z-plane. In addition, OME-TIFF supports storing different image series within one TIFF file. Within an images series the image datatype, width and height are the same for all planes. In the figure, the OME-TIFF contains two image series, where the first is a z-stack and the second is a multi-channel image.



General comments

The TIFF file format is already complex and the OME-TIFF variant is adding even more metadata on top. To fully understand everything is way beyond the aim of this training material. We will just scratch the surface to understand the most important concepts.

IFDs and image planes

TIFF is a planar image data format. Internally there are always pairs of IFD and data blocks. IFD stands for “Image File Directory” and contains information about where the corresponding image data block can be found in the file, the image width and height, as well as its datatype.

One TIFF file can contain many IFD/data pairs.

The IFD/data pairs may contain images of different sizes and different datatypes.

Physical pixel size

The TIFF format does natively support storing pixel size metadata, typically in units of centimetre or inches.

Resolution pyramids and chunking

The TIFF format supports the concept of resolution pyramids, and chunked storage of pixels within one plane. However there is no 3-D chunking available. Thus, TIFF can in fact be used as a 2-D big image data format.

Channels, z-planes, and time points

The TIFF format does not natively support storing information about which channel, z-plane or time-point an IFD/data pair belongs to. This bioimaging specific information is handled by additional metadata of TIFF variants, such as OME-TIFF.




Activities

Convert LIF to OME-TIFF


Show activity for:  

NGFF-Converter

This activity uses the NGFF Converter to convert a LIF image data set into an OME-TIFF image data set; and it uses Fiji to inspect the content of both the LIF and the OME-TIFF.

  • Inspect LIF using Fiji:
    • Drag and drop the LIF image onto Fiji
    • The Bio-Formats Importer will open
      • [X] Display OME-XML metadata
      • [ OK ]
      • Select all images
      • [ OK ]
    • Take note of
      • Number of images
      • For each image note its dimensions and spatial calibration
    • Inspect the OME-XML metadata and note down some values that you deem important
  • Convert LIF to OME-TIFF using the NGFF converter:
    • Install the NGFF converter TODO: add link
    • Open the NGFF converter
    • Drag and drop the LIF file onto it
    • A dialog will open:
      • Output format: OME-TIFF
      • Output location: As you wish
      • [ Apply ]
    • [ Run Jobs ]
  • Inspect OME-TIFF using Fiji:
    • Drag and drop the created OME-TIFF onto Fiji
    • Repeat the same steps as for the original LIF file
    • Check whether all image data and metadata has been preserved

Key points

  • The NGFF converter is a nice tool to create OME-TIFF
  • OME-TIFF can contain multiple image data sets
  • OME-TIFF can contain resolution pyramids



Inspect OME-TIFF metadata


Show activity for:  

Fiji Bio-Formats

  • Open Fiji
  • Drag and drop the OME-TIFF image onto Fiji
  • The Bio-Formats Importer will open
    • [X] Display OME-XML metadata
    • [ OK ]
    • Observe that there are only two datasets, but stored at different resolution levels
    • Select all images
    • [ OK ]
  • Inspect the OME-XML metadata






Assessment

Fill in the blanks

  1. TODO ___ .
  2. TODO ___ .

Solution

  1. TODO
  2. TODO




Follow-up material

Recommended follow-up modules:

Learn more: