Hi Roger
I appreciate that support for the tiff orientation tag is patchy at best. We provide it as an option; our instruments can easily generate well over 50Gb of tiff data in 20 minutes. Without using the orientation tag the total scan time and / or memory requirements increase enormously.
In many cases whether a library supports the rotation tag is irrelevant; the analysis of the image does not depend on the orientation unless seeking absolute location-dependent features.
rleigh wrote:In the OME model, the x,y origin (0,0) is defined as the top-left of the image plane(s)
Ah.. I should have read the spec more closely. This then implies that use of the rotation tag is not consistent with the OME model.
Simon Carter wrote:Should Pixels.SizeX be the length of each row of data in the tiff image or the actual number of pixels in the tiff image in the x direction?
Similarly, does PhysicalSizeX refer to the real world x pixel size or the size of the pixels in the direction of a row?
If I
am using the rotation tag and want to make the OME-XML as compliant as possible, then the question still applies. Would it be better to use SizeX to represent row length or image size? And what about physical size? Which do you think would we the least likely to cause issues?
Thank you very much for your assistance - I realise that I'm a bit off-piste here. The history is that we develop instruments which can generate tiff images as a secondary output, there is a desire to include some meta-data in those tiffs and the OME-TIFF standard largely fits the bill. It would be daft to invent our own standard when OME exists.
Simon