TECHNOLOGY

Color metadata for EXR datasets: keep colorInteropID consistent with processed pixels

In this article
THE QUICK TAKE

A color-space tag describes pixel encoding; copying the tag does not convert pixels or prove that the description is correct.

Ask which encoding the model receives

A model trained on images from several renderers can encounter different color encodings even when every input is an EXR with RGB channels. Linear response alone does not establish the primaries or reference conventions. Define the target encoding for model input and preserve the source encoding needed for conversion. A preview looking acceptable in a viewer is not enough to identify what numerical values enter the learning pipeline.

Use a meaningful color identity

The ASWF recommendation for OpenEXR files specifies colorInteropID as a standardized color-space identity. It addresses unreliable defaults and stale tags inherited from earlier processing. Use the identifier only when its relationship to the pixels is known. Missing metadata should not be silently interpreted as proof of a familiar color space merely because that assumption makes the loader easier to implement.

Update metadata when pixels change encoding

The OpenEXR technical introduction explains that the library does not itself provide color transformation and that stale metadata is a practical problem. Copying an old header after a conversion can describe the new pixels incorrectly. Treat color conversion and metadata updates as a single export operation. Preserve enough provenance to explain the source, destination and conversion configuration without mistaking a renamed tag for an actual numerical transformation.

Keep data channels out of color processing

The ASWF recommendation distinguishes RGB color images from alpha, depth, normals and other data channels. It also addresses multipart cases where data should be identified separately. The standard-attribute reference provides the broader header context. Do not apply a color transform to every array in a container simply because some channels form an image. Declare the intended interpretation of auxiliary features independently, including exports that use misleading color-like channel names.

Check a round trip with known values

Use a controlled export with known color samples, auxiliary values and a documented source encoding. Verify metadata and numerical changes after conversion and reload. The guides to denoiser feature buffers and renderer compatibility provide related context. A trustworthy dataset records an encoding that agrees with its processed pixels, leaves non-color measurements untouched and exposes unresolved source identity instead of manufacturing certainty from a default header.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles