TECHNOLOGY

Mitsuba spectral bands: preserve SRFs and channel names when building synthetic datasets

In this article
THE QUICK TAKE

A spectral variant does not by itself define the bands consumed by a downstream model.

Define the simulated measurement

A synthetic multispectral dataset needs more than a colorful scene and a spectral renderer. Decide what each output channel represents: a sensor response integrated against incoming radiance, a display color or a separately defined scientific quantity. A model trained with band tensors depends on that distinction. Preserve the measurement definition alongside the images so a later pipeline cannot silently reinterpret their channel positions.

Select the film as well as the variant

The variant guide distinguishes spectral transport from RGB transport. However, spectral transport can still end in an RGB image. The film reference provides specfilm for channels weighted by specified sensor response functions. Define those response functions explicitly rather than inferring the stored measurement from the rendering variant’s name. Keep the selected film in the dataset manifest.

Resolve bands by name

Mitsuba documents alphabetical ordering of the spectral film’s output channel names, independent of declaration position. A loader that assumes the order used in a scene dictionary can therefore swap bands without changing the tensor shape. Read channel names from the exported image and construct the model’s requested band order deliberately. Test this mapping with distinguishable response functions before rendering a large scene collection on multiple workers.

Preserve spectral inputs and scaling

The scene format documentation explains spectral definitions and wavelength conventions. Record the response data, their wavelength axis and any normalization performed by your own pipeline. An RGB material converted into a plausible spectrum is not a recovered laboratory measurement. Likewise, selecting an EXR container does not establish absolute sensor calibration, illumination units or agreement with a physical camera. Those assumptions need an explicit simulation design.

Inspect the exported training sample

Open an output independently of the rendering process, check named channels and compare their responses under a controlled change in illumination. Keep a human preview separate from the tensor consumed by training. The guides to Sentinel product metadata and renderer compatibility provide adjacent context. The specific acceptance condition here is that each model input band matches its documented response function, name and position.

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