Hello,
The WSI plugin for Orthanc serves the tiles as PNG or JPEG files (either in grayscale 8bpp or RGB 24bpp). If the underlying tile format is RAW or JPEG2000, the tiles are transparently transcoded to PNG/JPEG on-the-fly for compatibility with most Web browsers.
The tiles are grouped into DICOM instances, that are in turn grouped into DICOM series, as explained here:
As a consequence, the identifier of a WSI pyramid corresponds to the Orthanc identifier of its DICOM series:
Information about the structure of the WSI pyramid can be retrieved by the "/wsi/pyramids/{id}" URI in the Orthanc REST API. Here is a sample call to our demo server, for which the base URL of the Orthanc REST API is mapped at "
http://wsi.orthanc-server.com/orthanc/":
{
"ID" : "5ef75b16-b0e33f06-1671cd7a-e86cc3b0-88f41030",
"Resolutions" : [ 1, 2, 4 ],
"Sizes" : [
[ 1616, 4668 ],
[ 808, 2334 ],
[ 404, 1167 ]
],
"TileHeight" : 512,
"TileWidth" : 512,
"TilesCount" : [
[ 4, 10 ],
[ 2, 5 ],
[ 1, 3 ]
],
"TotalHeight" : 4668,
"TotalWidth" : 1616
}
You have already found the URI to access the individual tile given their level, x, and y location. This should give all the structural information needed to replace OpenLayers by OpenSeaDragon.
Please share your findings and create an additional Orthanc plugin! This would be a great contribution for the community of digital pathology!
Regards,
Sébastien-