Raw Predict Engine simulations are stored in *.exr files. They contain :
an XML header with informations about the image, the simulation conditions and the machine that was used for rendering,
an array of named textures with HDR information : each texture is called a layer and represents a specific value. A layer can contain an RGB or XYZ texture (the processed output for instance), a vector (the normals for instance), a float (the depth for instance) or an integer (the material index for instance).
Files from other softwares (*.png, *.jpg, other *.exr files) can also be loaded by Predict Lab, but they won't contain any header informations and only contain one RGB layer.
You can use the left/right arrows to switch between the different layers.
The raw data preview module is designed to visualize and post process all the layers contained inside a raw Predict Engine simulation.
The window contains 3 widgets :
the analysis widget contains an histogram and a chromaticity diagram (visible if the current output is RGB),
the settings widget contains the post process options that can be applied to the current layer. The available data depends on the type of the layer,
the preview widget contains a preview of the current post processed image.
Using this module, the save button has the following options :
LDR output : the processed output (the image currently displayed on screen) saved to a *.png file.
Layers of type "RGB", "XYZ" or "Albedo" contain HDR data stored in Vector3. The settings widget contains :
options to enable filters,
mapping settings to define the colorspace in which the image should be displayed, control the exposure, gamma and white balance of the image, or to display one of the channels in false colors.
The chromaticity is corrected as follow :
RGB images are usualy stored as RGB, in the sRGBD65 color space. When it is not the case, the color space must be stored in the file metadatas, in the "chromaticities" field. The RGB image is first converted to XYZ.
If the image is already stored as XYZ, it doesn't need this first convertion.
The XYZ image is converted back to RGB in the selected "Dest color space".
The post processes made by Predict Lab happen in the following order :
1) Filters
2) Chromaticity
3) Exposure, Gamma, White reference
Layers of type "Vector" contain normalized vector data stored in Vector3. Each vector channel contains data in the range [-1;1] and is displayed in the corresponding RGB channel. The settings widget does not contain any settings.
Layers of type "false color" contain HDR data stored in floats, integer or unsigned integer. The settings widget contains :
an histogram of the values,
options to enable filters,
mapping settings to control the color map and (for floats only) ranges of data displayed on screen.
The range of data displayed on screen can be :
computed automatically : the entire range available is displayed,
defined with min/max percentages : the range is defined with values in [0;1] that represent a % of the range defined by [min;max],
defined with min/max values : the range is defined with raw values. In this case, the "Auto" button enables you to set the [min;max] to the available range in the current image.