What Are The Benefits Of Tile Overlap?

蹲街弑〆低调 提交于 2019-12-22 15:59:27

问题


Just starting out playing with OpenSeadragon (very good btw) and on creating a custom tile set am wondering what the advantages or disadvantages of creating tiles with an overlap?

I've tried using 0 and it seems ok, but I wonder if there are any clarity or performance advantages or having the tiles overlap (I think DeepZoom format uses 4 for example?)

Thanks for any guidance!


回答1:


The advantage is when using sub-pixeling and interpolation when the tiles are placed at non-integer values.

If they overlap a little (usually just a single pixel) they will camouflage the tiny gap that typically occur.

(right-click and select "view image" to see larger version)


(from this question)

For performance one would tend to at least use width and height divisible by 4 (or 8 for 64-bit) as these are faster to copy in memory, and often a size of 2n (ie. 32, 64, 128 etc.). Also see mip-mapping for zooming.



来源:https://stackoverflow.com/questions/30627952/what-are-the-benefits-of-tile-overlap

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!