Warping File

This page describes the format of warping files containing the pixel coordinates of each sample of the warping.

The order of the sample are defined as follow:

Bottom Left sample of the Target Image ... Bottom Right sample of the Target Image
... ... ...
Top Left sample of the Target Image ... Top Right sample of the Target Image
Tip: The origin of the pixel coordinate is defined by the PGU axis system.

Download files.example

ANSYS - Warping file v3.0
    Commment
    
    W
    
    X M N
    
    1_RotationAngle    2_RotationAngle    ...    (X-1)_RotationAngle    X_RotationAngle  -- as many as X value
    1_OffsetPosition    2_OffsetPosition    ...    (X-1)_OffsetPosition    X_OffsetPosition  -- as many as X value
    
    1_S(1,1)_HCoord 1_S(1,1)_VertCoord    1_S(2,1)_HCoord 1_S(2,1)_VertCoord    ...    1_S(M,1)_HCoord 1_S(M,1)_VertCoord
    ...
    1_S(1,N)_HCoord 1_S(1,N)_VertCoord    1_S(2,N)_HCoord 1_S(2,1)_VertCoord    ...    1_S(M,N)_HCoord 1_S(M,N)_VertCoord
    
    
    2_S(1,1)_HCoord 2_S(1,1)_VertCoord    2_S(2,1)_HCoord 2_S(2,1)_VertCoord    ...    2_S(M,1)_HCoord 2_S(M,1)_VertCoord
    ...
    2_S(1,N)_HCoord 2_S(1,N)_VertCoord    2_S(2,N)_HCoord 2_S(2,N)_VertCoord    ...    2_S(M,N)_HCoord 2_S(M,N)_VertCoord
    
    
    X_S(1,1)_HCoord X_S(1,1)_VertCoord    X_S(2,1)_HCoord X_S(2,1)_VertCoord    ...    X_S(M,1)_HCoord X_S(M,1)_VertCoord
    ...
    X_S(1,N)_HCoord X_S(1,N)_VertCoord    X_S(2,N)_HCoord X_S(2,N)_VertCoord    ...    X_S(M,N)_HCoord X_S(M,N)_VertCoord
    (empty line)
Note: The file must end with an empty line.
  • W is the Warping file type:

    • 0: Predefined Mirror Tilt
    • 1: Free Mirror Tilt
    • 2: Step Mirror Tilt
  • X is the number of eyeboxes:

    • defined in the Eyebox section when using the Predefined Mirror Tilt mode, or
    • defined by the Tilt Sampling in the Mirrors section when using the Step or Free Mirror Tilt mode.
  • M is the horizontal resolution of the Warpings:

    • defined by the Horizontal Sampling in the PGU tab when using the Predefined Mirror Tilt mode, or
    • defined by the Horizontal Sampling in the Mirrors tab when using the Step or Free Mirror Tilt mode.
  • N is the vertical resolution of the Warpings:

    • defined by the Vertical Sampling in the PGU tab when using the Predefined Mirror Tilt mode, or
    • defined by the Vertical Sampling in the Mirrors tab when using the Step or Free Mirror Tilt mode.