-
Notifications
You must be signed in to change notification settings - Fork 1
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
ImageGrid for very large image sizes #105
Comments
I like the approach. On a quick note, there is a typo in the ISO number for HEIF above. The current document is ISO 23008-12:2022. |
I support the concept. A slightly different syntax option:
Where FieldLength is 16 or 32 for the The concept here is that you'd use version 0 where the grid is simple, and version 1 when the grid is large. |
Hmmm. Do we really need this though? You can easily create a grid of grids if you want larger images. |
Simply increasing the integer size would be much easier than handling a multi-level hierarchy. Especially as those large images will only be decoded partially in a ROI, which is a more complex decoding logic already. Finally, storing 2 or 6 bytes more is also less overhead than introducing a whole layer of dummy items. Bonus reason: a grid of grids might conflict with |
I just noticed that 256x256 grid images are not possible even though The problem is that the For 256x256 grids, we would need to increase the |
Images with
item_type='grid'
are currently limited to 256x256 tiles because therows_minus_one
andcolumns_minus_one
are stored as 8 bit integers. Assuming a maximum sensible tile size of 1024x1024 pixels, this means that the largest image resolution is 262144x262144 pixels. This may be too limiting for very large images as they arise, for example, in geospatial imaging.As a remedy I suggest to define a
version=1
in theImageGrid
(ISO 23008-17:2017, Section 6.6.2.3.2) with the possibility to use larger integers to storerows_minus_one
andcolumns_minus_one
. One possible definition could beNote the new
TilesFieldLength
that switches the integer size between the old 8 bit and a new 32 bit size.It might also be considered to provide the possibility for a 64bit
FieldLength
depending on a flag.The text was updated successfully, but these errors were encountered: