Skip to content

Main content

Eyetracker Reference Origin Shift Tool

Translate supplied eye-tracker coordinates between origins in one coordinate basis.

Loading tool…

Description

Translate supplied eye-tracker coordinates between origins in one coordinate basis.

Vision research uses stimulus angles, chart notations, image scales, viewing distances, coordinate origins, and observation windows. These quantities have different denominators and measurement conventions. A conversion or support share does not independently establish a visual measurement or its clinical interpretation.

Translate supplied eye-tracker coordinates between origins in one coordinate basis.

When to use this tool

Use Eyetracker Reference Origin Shift when you need this image, stimulus, notation, coordinate, or observation component for supplied research data.

How to use the tool and how it works

  1. Enter x, y, oldOriginX, oldOriginY, newOriginX, newOriginY. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read x, y. Use the output convention below.

Return x'=x+oldOriginX-newOriginX and y'=y+oldOriginY-newOriginY.1

Input fieldMeaning and unitsAccepted input
xXRequired. Finite number.
yYRequired. Finite number.
oldOriginXOld Origin XRequired. Finite number.
oldOriginYOld Origin YRequired. Finite number.
newOriginXNew Origin XRequired. Finite number.
newOriginYNew Origin YRequired. Finite number.
Output fieldInterpretationReturned shape
xXRequired. Finite number.
yYRequired. Finite number.
json
{
  "input": {
    "x": 10,
    "y": 20,
    "oldOriginX": 5,
    "oldOriginY": 7,
    "newOriginX": 2,
    "newOriginY": 3
  },
  "output": {
    "x": 13,
    "y": 24
  }
}

Limitations and assumptions

  • Coordinates and origins need one unit and frame orientation. This shifts an origin without scaling, rotating, registering a gaze system, or validating eye-tracker calibration.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use calibrated acquisition and a documented visual or imaging protocol for complete interpretation. Confirm the reporting notation, viewing geometry, image scale, and support of the underlying observations.

References

  1. Calculation and input contract: ophthalmology/eyetracker-reference-origin-shift — tool.io

Similar or alternative tools