-
Notifications
You must be signed in to change notification settings - Fork 4
Classify Fixations by AOI
classify_iaoi R Documentation
Classify each gaze point based on whether it hits an AOI and a minimum fixation duration
classify_iaoi(data, min_fixation_duration = 100)
data
Data frame of the eye tracking data we want to process
min_fixation_duration
Minimal fixation duration
Input data frame columns
eyeDataRelativeTimestamp
: Timestamp of the data
gazePoint_x
: X coordinates of the gaze point
gazePoint_y
: Y coordinates of the gaze point
gazePoint_z
: Z coordinates of the gaze point
gazePointAOI_name
: Name of the AOI which was hit
Additional columns in output
eventIndex
: Index of the event in which the gaze point lies
eventType
: Type of the current event
eventDuration
: Duration of the current event
fixation_x
: X coordinate of the current fixation (if eventType is a fixation)
fixation_y
: Y coordinate of the current fixation (if eventType is a fixation)
fixation_z
: Z coordinate of the current fixation (if eventType is a fixation)
This is a custom implementation of an fixation identification by area of interest. It first classifies all gaze points which hit an AOI as fixation and all other gaze points as saccades. Then it groups consecutive gaze points on the same AOI as fixation when the total duration of gaze points exceed the minimum fixation duration. If the minimum fixation duration isn't exceeded, the gaze points are reclassified as saccades.
The input data frame with the classification columns added