Closed gillins closed 3 years ago
Yes, that's just what I had in mind, thank you.
By the way, I still think that the docstring comment about tileSize is incorrect. It seems to me that it does include the overlap - it is the total amount read in for the tile. Isn't it?
Hmmm depends how you define 'includes overlap' :smile: I don't add the overlap to the tilesize to extract tiles. I just shift the top left point each time so that there is an overlap.
But yes, there is an overlap between each tile. How would you word it?
re: tilesize/overlap. Yes, that's my point, it is not added on, because the size already includes the size of the overlap. Perhaps a longer sentence is required, e.g. "tileSize if the min width/height of tiles (in pixels). These tiles are overlapped by
I've just pushed something based on that. What do you think?
@neilflood I think this is what you had in mind?
Note that when processing our test image (l8olre_p090r079_m201909201911_dbim6.img) with the default tileSize (4096) it now does it as one tile in this PR. But seems to work well with smaller tileSizes.
Merge if you are happy...