ABCDE
1
This is a list of XML fields required in the XML header of HuBMAP and SenNet OME TIFF files. All of the fields listed here should reside within either the Pixels block in the XML header.
2
This is not a comprehensive list of all fields to be included in the XML header. Rather data providers should aim to include as much additional information as feasible in the XML header.
3
4
Bio Formats can be used to read/write the XML header. If users have questions about what to include in the OME TIFF XML header or how to use Bio Formats, please email the Help Desk.
5
Details about the OME data modelHuBMAP Help Desk
6
Bio Formats download and documentationExample OME-TIFF XML Header
7
Bio Formats Cheat SheetSpatialdata-io is another conversion platform to consider
8
9
OME Data Model and File Format Version:6.0.1
10
Field NameData typeDefinitionExampleNotes
11
12
Pixels_DimensionOrdercategoricalThis field records the order in which the individual planes of data are interleaved in the Image. [Values: XYZCT, XYZTC, XYCTZ, XYCZT, XYTCZ, XYTZC]XYCZT
13
Pixels_TypecategoricalThis field records the data type used to represent the Pixel Intensity in the Image. [Values: bit, complex, double, double-complex, float, int8, int12, int14, int16, int32, uint8, uint12, uint14, uint16, uint32, Other]uint8
14
Pixels_SizeXintegerX size of pixel data array20245
15
Pixels_SizeYintegerY size of pixel data array20703
16
Pixels_SizeZintegerNumber of Z-planes1
17
Pixels_SizeCintegerNumber of Channels used in this Image3
18
Pixels_SizeTintegerThis field records the number of Timepoints used in this Image.1
19
Pixels_PhysicalSizeXfloatPhysical width of a pixel in the image. This should include the magnification factors, so the OME-XML allows someone to determine what physical area is captured by each pixel.0.454Multiplying this physical size by the number of pixels in the X dimension (e.g., 20,000) should give values on the order of the physical dimension of a Visium capture slide, plus any border area captured by the image (so values between 8mm and 10mm are appropriate).

pixel physical size (in μm) = (physical size of the pixel in the CCD/EMCCD camera) / (total magnification in the image)
total magnification in the image =
(objective magnification) + (any other sources of magnification)

Note, the most common source of extra magnification would be the camera mount adapter.

For example, a Visium experiment used a 10x objective with a CCD camera that had a physical detection unit width (typically the X dimension) of 4.54um, as reported in the corresponding PixelWidth field in the microscope_hardware.json file. Starting from the physical size of the detection unit, it is possible to derive the physical dimension each pixel represents in the image. To this aim, the Pixel Physical Size is computed as (physical pixel width in the camera chip / total magnification) and should be reported in the OME-TIFF header as PhysicalPixelSizeX. In our example here, this works out to a PhysicalSizeX of (4.54 / 10) = 0.454um. The example OME-TIFF image has 20,245 pixels in the X dimension. Using the computed PhysicalSizeX, we can compute the physical width of the image as (physical pixel size * total pixels). In our example this is (0.454um * 20,245) = 9,191um or 9.191mm. We know the Visium fiducial frame is 8mm wide, so our numbers appear internally consistent.
20
Pixels_PhysicalSizeXUnitcategoricaldefault µmµm
21
Pixels_PhysicalSizeYfloatPhysical height of a pixel in the image. This should include the magnification factors, so the OME-XML allows someone to determine what physical area is captured by each pixel.0.454Multiplying this physical size by the number of pixels in the Y dimension (e.g., 20,000) should give values on the order of the physical dimension of a Visium capture slide, plus any border area captured by the image (so values between 8mm and 10mm are appropriate).

pixel physical size (in μm) = (physical size of the pixel in the CCD/EMCCD camera) / (total magnification in the image)
total magnification in the image = (objective magnification) + (any other sources of magnification)

Note, the most common source of extra magnification would be the camera mount adapter.

For example, a Visium experiment used a 10x objective with a CCD camera that had a physical detection unit height (typically the Y dimension) of 4.54um, as reported in the corresponding PixelHeight field in the microscope_hardware.json file. Starting from the physical size of the detection unit, it is possible to derive the physical dimension each pixel represents in the image. To this aim, the Pixel Physical Size is computed as (physical pixel height in the camera chip / total magnification) and should be reported in the OME-TIFF header as PhysicalPixelSizeY. In our example here, this works out to a PhysicalSizeY of (4.54 / 10) = 0.454um. The example OME-TIFF image has 20,703 pixels in the Y dimension. Using the computed PhysicalSizeY, we can compute the physical height of the image as (physical pixel size * total pixels). In our example this is (0.454um * 20,703) = 9,399um or 9.399mm. We know the Visium fiducial frame is 8mm wide, so our numbers appear internally consistent.
22
Pixels_PhysicalSizeYUnitcategoricaldefault µmµm
23
Pixels_PhysicalSizeZfloatPhysical distance between optical planes. If the image is 2D then this value should be the thickness of the slice.0.01
24
Pixels_PhysicalSizeZUnitcategoricaldefault µmµm
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100