随机访问图像(图片)文件 [英] Random access image (picture) file
问题描述
是否存在允许随机访问其部分的文件格式(图像文件)。
例如,我有一个分辨率为100000x100000像素的巨大图像文件,我只想阅读一小部分。就像具有缩放级别的geomap一样。
Is there a file format (image file) that allows random access to its sections. For example, I have huge image file with resolution of 100000x100000 pixels and I want to read just one small section. Like a geomap with zoom levels.
我想用Java编写一些应用程序。我可以使用数百个小文件并以某种方式将它们组合起来,但是如果有一种方法可以用一个巨大的文件(或者很少的文件)来做它会好得多。
I want to write some app in Java. I could use hundreds of small files and combine them somehow, but it would be much better if there is a way to do it with one huge file (or few of them).
推荐答案
纹理压缩
看看纹理压缩格式,它们都是两者兼而有之压缩并允许随机访问,以减少用于3D渲染的GPU纹理上的图像使用带宽 https:// en。 wikipedia.org/wiki/Texture_compression :
Have a look at texture compression formats, which are designed to be both compressed and allow random access, to reduce bandwidth of image usage on GPU textures for 3D rendering https://en.wikipedia.org/wiki/Texture_compression :
与传统的图像压缩算法不同,纹理压缩算法针对随机访问进行了优化。 / p>
Unlike conventional image compression algorithms, texture compression algorithms are optimized for random access.
以下格式似乎已打开:
- https://www.khronos.org/opengles/sdk/tools/KTX / https://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/
- https://en.wikipedia.org/wiki/Ericsson_Texture_Compression
- https://www.khronos.org/opengles/sdk/tools/KTX/ https://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/
- https://en.wikipedia.org/wiki/Ericsson_Texture_Compression
ARM Mali AFBC是一个(专有?)示例 https://www.arm.com/products/graphics-and-multimedia/mali-technologies
ARM Mali AFBC is one (proprietary?) example https://www.arm.com/products/graphics-and-multimedia/mali-technologies
随机访问低至4x4块级别
Random access down to 4x4 block level
这篇关于随机访问图像(图片)文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!