# Spectral to XYZ filter¶

## Description¶

This filter converts spectral data to XYZ tristimulus values, using the CIE 1931 2° Standard Observer response functions. It is generally used in an instrument with a Spectral box sensor for displaying the image on screen.

## Input and output¶

Input channels must contain spectral data. These are generally created by a spectral box or custom sensor.

Output channels are X,Y and Z

This filter does not alter the buffer dimensions.

none

## Ocean XML 4.0 example¶

<filter type="spectoxyz" name="filter2"/>