Protanopia Simulation Matrix

Apply Machado et al. 2009 full-severity protan matrix in linear sRGB then encode, reporting clipping. Model visualization only, not diagnosis, an exact individual view or accessibility certification.

Description

A protanopia visualization applies a published full-severity model in linear sRGB.

A protanopia visualization applies a published full-severity model in linear sRGB. Clipping remains visible in the returned evidence.1, 2

Enter three encoded normalized sRGB channels 0–1. Decode, apply the Machado 2009 full protan matrix, clamp and encode. Return modeled RGB and strict linear-excursion indexes.

When to use Protanopia Simulation Matrix

Use Protanopia Simulation Matrix when you need to evaluate the supplied records under the calculation and evidence rules below. No clinical diagnosis, exact individual view or accessibility certification is provided.

Prepare colors in the stated color space and scale. Use encoded RGB fractions, linear RGB, Lab, xy, byte values or ink percentages exactly as requested; supply caller tolerances and reference conditions.

How to use Protanopia Simulation Matrix and understand its results

  1. Prepare colors in the stated color space and scale. Use encoded RGB fractions, linear RGB, Lab, xy, byte values or ink percentages exactly as requested; supply caller tolerances and reference conditions.
  2. Enter baseRgb using the field table and calculation rules, then run the tool.
  3. Read simulatedRgb, clippedLinearChannelIndices. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
baseRgbBase rgblist of numberRequired

Enter three encoded normalized sRGB channels 0–1. Decode, apply the Machado 2009 full protan matrix, clamp and encode. Return modeled RGB and strict linear-excursion indexes.

encodedRGB → linearRGB → protan matrix → clamp → encode

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
simulatedRgbSimulated rgblist of number
clippedLinearChannelIndicesClipped linear channel indiceslist of number
json
{
  "input": {
    "baseRgb": [
      1,
      0,
      0
    ]
  },
  "output": {
    "simulatedRgb": [
      0.4266084717107862,
      0.37265427742344537,
      0
    ],
    "clippedLinearChannelIndices": [
      2
    ]
  }
}

Limitations and assumptions

No clinical diagnosis, exact individual view or accessibility certification is provided.

Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Numeric lists are limited to 10,000 entries; string lists to 128 strings of at most 128 characters each. The rules above may impose smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Protanomaly Severity Interpolation: Protanomaly simulation uses severity-dependent matrices. Interpolating neighboring published matrices differs from blending only the two endpoints. For a complementary task, use Deuteranopia Simulation Matrix: A deuteranopia visualization applies a full-severity model to linear sRGB. Returned clipping evidence shows lost channel excursions.

Further background: A physiologically-based model for simulation of color vision deficiency (2009).

References

  1. Protanopia Simulation Matrix — tool.io

  2. A physiologically-based model for simulation of color vision deficiency (2009) — Machado, Oliveira and Fernandes

Similar or alternative tools

  • Protanomaly Severity Interpolation

    Protanomaly simulation uses severity-dependent matrices. Interpolating neighboring published matrices differs from blending only the two endpoints.

  • Deuteranopia Simulation Matrix

    A deuteranopia visualization applies a full-severity model to linear sRGB. Returned clipping evidence shows lost channel excursions.

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies