Skip to content
HALOWERK

Image Processing

color spectral tristimulus quadrature

Return trapezoid-integrated XYZ from supplied wavelength, illuminant, reflectance and color-matching samples.

POST https://bild.halowerk.com/v1/color-spectral-tristimulus-quadrature

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
samplesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "samples": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "wavelength": {
            "type": "number",
            "minimum": 1,
            "maximum": 100000
          },
          "illuminant": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "reflectance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "xbar": {
            "type": "number",
            "minimum": 0,
            "maximum": 10
          },
          "ybar": {
            "type": "number",
            "minimum": 0,
            "maximum": 10
          },
          "zbar": {
            "type": "number",
            "minimum": 0,
            "maximum": 10
          }
        },
        "required": [
          "wavelength",
          "illuminant",
          "reflectance",
          "xbar",
          "ybar",
          "zbar"
        ],
        "additionalProperties": false
      },
      "maxItems": 200,
      "minItems": 2
    }
  },
  "required": [
    "samples"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "samples": [
    {
      "wavelength": 500,
      "illuminant": 1,
      "reflectance": 1,
      "xbar": 1,
      "ybar": 1,
      "zbar": 1
    },
    {
      "wavelength": 600,
      "illuminant": 1,
      "reflectance": 1,
      "xbar": 1,
      "ybar": 1,
      "zbar": 1
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub →