This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
CalibrationValidationResult.m
75 lines (68 loc) · 2.95 KB
/
CalibrationValidationResult.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
%% CalibrationValidationResult
%
% Provides methods and properties for managing calibration validation for screen based eye trackers.
%
% result = CalibrationValidationResult(points, average_accuracy_left_eye, average_precision_left_eye, ...
% average_precision_rms_left_eye, average_accuracy_right_eye, ...
% average_precision_right_eye, average_precision_rms_right_eye)
%
classdef CalibrationValidationResult
properties (SetAccess = protected)
%% Points
% The results of the calibration validation per point (same points as were collected).
%
% result.Points
%
Points
%% AverageAccuracyLeftEye
% The accuracy in degrees averaged over all collected points for the left eye.
%
% result.AverageAccuracyLeftEye
%
AverageAccuracyLeftEye
%% AveragePrecisionLeftEye
% The precision (standard deviation) in degrees averaged over all collected points for the left eye.
%
% result.AveragePrecisionLeftEye
%
AveragePrecisionLeftEye
%% AveragePrecisionRMSLeftEye
% The precision (root mean square of sample-to-sample error) in degrees averaged over all collected points
% for the left eye.
%
% result.AveragePrecisionRMSLeftEye
%
AveragePrecisionRMSLeftEye
%% AverageAccuracyRightEye
% The accuracy in degrees averaged over all collected points for the right eye.
%
% result.AverageAccuracyRightEye
%
AverageAccuracyRightEye
%% AveragePrecisionRightEye
% The precision (standard deviation) in degrees averaged over all collected points for the right eye.
%
% result.AveragePrecisionRightEye
%
AveragePrecisionRightEye
%% AveragePrecisionRMSRightEye
% The precision (root mean square of sample-to-sample error) in degrees averaged over all collected
% points for the right eye.
%
% result.AveragePrecisionRMSRightEye
%
AveragePrecisionRMSRightEye
end
methods
function result = CalibrationValidationResult(points, average_accuracy_left_eye, average_precision_left_eye, average_precision_rms_left_eye,...
average_accuracy_right_eye, average_precision_right_eye, average_precision_rms_right_eye)
result.Points = points;
result.AverageAccuracyLeftEye = average_accuracy_left_eye;
result.AveragePrecisionLeftEye = average_precision_left_eye;
result.AveragePrecisionRMSLeftEye = average_precision_rms_left_eye;
result.AverageAccuracyRightEye = average_accuracy_right_eye;
result.AveragePrecisionRightEye = average_precision_right_eye;
result.AveragePrecisionRMSRightEye = average_precision_rms_right_eye;
end
end
end