-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix seams in Trestle #21
Comments
_This comment originally by _agoode* at 2010-01-14T21:21:09Z.* Aha! There are some auxiliary files that end in ".tif-0b", ".tif-1b", ".tif-2b". These are as-yet undecoded but the file sizes are proportional (factor 4x) and the Trestle viewer shows seams when they are removed. |
Hi, just came across openslide via this issue as I tried to figure out the seams problem. have you managed to parse the auxiliary files? btw, I'm excited to have found openslide - looks really useful. |
I think Jan Harkes figured out some of the format. But I forget where it was documented, if anywhere. It would be great if you could help out with this. Glad you enjoy OpenSlide! |
It looks like openslide-vendor-trestle.c has it covered. There is an EXIF tag called trestle.OverlapsXY which specifies the total pixel overlap in both axes. The total pixels are helpfully divisible by this number! Stitched images based on this and using openslide-write-png look good - same slight stitch imperfactions I see in the trestle viewer. Still no idea what is actually in those tif-0/1/2b metadata files. Thanks! |
The files
A good alignment along a row of tiles can be produced by computing tile coordinates as:
Likewise, along a column of tiles:
But the tile coordinates produced by these two calculations can be significantly different. To use the position data effectively, it appears we would need to use the As in MIRAX, photos are split into multiple tiles (4 x 4). Unlike in MIRAX, the standard overlaps are applied to all tiles from a single photo, though there are no individualized overlaps within a photo. So, within a given photo:
Also unlike MIRAX, levels which combine multiple photos into each tile have no overlaps. This explains why there are only overlaps for the first three levels. |
_Imported from Trac. This issue originally by _agoode* at 2009-12-11T20:04:16Z.*
Currently, we just layer over the tiles with overlaps in Trestle. But the vendor's software appears to do better.
The text was updated successfully, but these errors were encountered: