RGB Projector White Balance

Calculate raw and peak-normalized RGB projector gains from measured and target channel outputs.

Description

RGB gain balancing scales each measured channel toward its target.

RGB gain balancing scales each measured channel toward its target. Peak normalization makes the largest required gain equal to one.1

Calculate raw and peak-normalized RGB projector gains from measured and target channel outputs.

When to use RGB Projector White Balance

Use this tool to calculate raw and peak-normalized RGB projector gains from measured and target channel outputs.

Prepare the optical measurements, geometry, fitted coefficients or caller-selected thresholds requested. Confirm wavelength, radius/diameter, pulse-width, angle and unit conventions before running the calculation.

How to use RGB Projector White Balance and understand its results

  1. Prepare the optical measurements, geometry, fitted coefficients or caller-selected thresholds requested. Confirm wavelength, radius/diameter, pulse-width, angle and unit conventions before running the calculation.
  2. Enter measuredRed, measuredGreen, measuredBlue, targetRed, targetGreen, targetBlue using the field table and calculation rules, then run the tool.
  3. Read rawChannelGains, normalizedChannelGains. 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
measuredRedMeasured red outputnumber; minimum: 0Required
measuredGreenMeasured green outputnumber; minimum: 0Required
measuredBlueMeasured blue outputnumber; minimum: 0Required
targetRedTarget red outputnumber; minimum: 0Required
targetGreenTarget green outputnumber; minimum: 0Required
targetBlueTarget blue outputnumber; minimum: 0Required

Enter positive measured RGB outputs and nonnegative target outputs. Return arrays in red, green, blue order. If all targets are zero, return three zero normalized gains.

rawGain_channel=target/measured; normalized=raw/max(raw)

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

Output fieldMeaningValue type
rawChannelGainsRaw RGB gainslist of number
normalizedChannelGainsNormalized RGB gainslist of number
json
{
  "input": {
    "measuredRed": 0.8,
    "measuredGreen": 1,
    "measuredBlue": 0.5,
    "targetRed": 1,
    "targetGreen": 1,
    "targetBlue": 1
  },
  "output": {
    "rawChannelGains": [
      1.25,
      1,
      2
    ],
    "normalizedChannelGains": [
      0.625,
      0.5,
      1
    ]
  }
}

Limitations and assumptions

No colorimetric matrix, gamma, white-point coordinates or hardware headroom is modeled.

Numeric inputs must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Flow-Cytometry Line Coverage: Match required flow-cytometry excitation lines to available lines within a supplied tolerance. For a complementary task, use Power-Beaming Efficiency: Calculate end-to-end optical power-beaming efficiency and power loss.

References

  1. RGB Projector White Balance — tool.io

Similar or alternative tools

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