An apparatus and method of encoding eye movements and eye tracking data (DAT), represented as time and space parameters (t, x, y) obtained by an eye tracking device and assigned each to a viewpoint (A, B, C, D, E . . . ). Pairs of numbers (Z0,Z1; Z0,Z2; Z0,Z3 . . . ) are taken from the groups of numbers and are combined with each other to obtain for each combination a value (W) that indicates at least a spatial distance (S) between two viewpoints (E, C), wherein the obtained values (W) represent an encoding of the eye movement and eye tracking data (DAT). Preferably the values (W) are determined and stored in form of a first matrix (M) or array. The matrix is subjected to one or more operations (smooth filtering, anisotropic filtering, threshold filtering, anisotropic diffusion) such that the resulting matrix represents an encoding of fixations, saccades and smooth pursuit of a raw data scanpath.
Method and apparatus for coding of eye and eye movement data