For a project dealing with deep semantic labeling of images I need a format that supports arrays of arbitrary length for each pixel of the image.
The array is an array of integers.
Which image formats support this?
Computer Graphics Stack Exchange is a question and answer site for computer graphics researchers and programmers. It only takes a minute to sign up.
Sign up to join this communityFor a project dealing with deep semantic labeling of images I need a format that supports arrays of arbitrary length for each pixel of the image.
The array is an array of integers.
Which image formats support this?
OpenEXR might be a good fit. You can have an arbitrary number of channels per pixel and the data types for each channel can be integers.
Probably .dds
. You can store there textures array or 3d texture both can be use as array per pixel.
You can try creating this textures with DxTex
from DirecX SDK
.
Also you can look in Legacy Texture Tools
from Nvidia
https://developer.nvidia.com/legacy-texture-tools
MSDN
DDS Format Overview: Note that the DDS format supports any valid DXGI_FORMAT value...
so it support 32 bit integer. But yes, DDS may be problem on other platforms.
$\endgroup$