2017.11.11 21:43 "Re: [Tiff] Right way to make a multi-resolution pyramid", by Damir Sudar
Indeed unfortunate that there is no proper and spec-compliant approach and also that Adobe as the owner of the spec hasn't stepped up to define the compliant way. While I agree that TIFF itself has many problems for digital pathology, especially multi-channel digital pathology, in its various improper and incompatible varieties, it IS the most commonly used base file format. E.g. Aperio's (now Leica) SVS format is just a BigTIFF with a .svs extension, Hamamatsu's NDPI is mostly a TIFF with a non-compliant header and some other nastiness, and Philips, Ventana, and others use TIFF (or BigTIFF) with a variety of non-standard header info. There is at least a fair bit of support for such files in e.g. Bio-Formats and OpenSlide so I would like to stick as close as possible to such an approach.
And so to avoid inventing yet another image file format, I'm planning, just as you did, to accept the "wrong way" and use BigTIFF and use all top-level IFDs for the resolution levels. May I ask how you encode how many sub-resolution levels (and thus top-level IFDs) there are in the file? I haven't yet figured out how those other vendor-specific TIFF-formats do it.
For much of our software we rely on work by the Open Microscopy Environment's (www.openmicroscopy.org) and via their forum I'm asking them what their plans for supporting pyramids in their OME-TIFF format. Hopefully that can move the needle towards something more compliant or at least standardized.
On 11/10/2017 18:38, Kemp Watson wrote:
As far as I can see, absolutely EVERYONE violates the TIFF standard, or at least it¹s intent, when it come to zoomable images.
Everyone seems to be storing resolution levels in pages (top-level IFDs), as opposed to SubIFDs, when SubIFDs exist to represent alternative views of the SAME image, which is what a resolution level is. Also, most everyone still names their files with a .tif extension, a non-no per the spec. My take, apparently alone.
We¹re attempting to address the standardization of a common subset, 3-channel 8-bit zoomable images, for web viewing, via ZIF (a BigTIFF-derived format, not TIFF), but this won¹t help you with multispectral imagesŠ even for our use case, we¹re stuck with doing it the ³wrong² way as a less-favoured option.
If you¹re dealing with digital pathology slides, TIFF is likely not a practical option, in any case.
W. Kemp Watson
On 2017-11-10, 2:23 PM, "dsudar" <email@example.com on behalf of firstname.lastname@example.org> wrote:
I've started looking at this same issue for our large number of channels TIFF images from multiplex immunofluorescent staining of tissue on slides. Has a
>> consensus been reached how the pyrami