Exemplo n.º 1
0
        /// <summary>
        /// Initializes default fixation detector to Tobii Studio default **TODO**
        /// Analyzer = EFDAnalyzer.fdaFixationSize
        /// Filter = EFDFilter.fdfAveraging
        /// </summary>
        /// <param name="syncManager"></param>
        public GazeDataFixationHandler(SyncManager syncManager) : base(syncManager)
        {
            fixationDetector = new FixDetectorClass();
            fixationDetector.init();

            // TODO determine settings of Tobii Studio fixation detector
            fixationDetector.Analyzer = EFDAnalyzer.fdaFixationSize;
            fixationDetector.Filter   = EFDFilter.fdfAveraging;
            // fixationDetector.FilterBufferSize =
            // fixationDetector.FilterWeight =
            // fixationDetector.MinFixDuration =
            // fixationDetector.UpdateInterval =
        }
Exemplo n.º 2
0
        int count = 0; //testing

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Initializes default fixation detector to Tobii Studio default **TODO**
        /// Analyzer = EFDAnalyzer.fdaFixationSize
        /// Filter = EFDFilter.fdfAveraging
        /// </summary>
        /// <param name="syncManager"></param>
        public GazeDataFixationHandler(SyncManager syncManager)
            : base(syncManager)
        {
            fixationDetector = new FixDetectorClass();
            fixationDetector.init();

            // TODO determine settings of Tobii Studio fixation detector
            fixationDetector.Analyzer = EFDAnalyzer.fdaFixationSize;
            fixationDetector.Filter = EFDFilter.fdfAveraging;
            // fixationDetector.FilterBufferSize =
            // fixationDetector.FilterWeight =
            // fixationDetector.MinFixDuration =
            // fixationDetector.UpdateInterval =
        }
Exemplo n.º 3
0
        /// <summary>
        /// Initializes fixation detector to Tobii Studio default
        /// </summary>
        /// <param name="syncManager"></param>
        public FixationDetector(SyncManager syncManager) : base(syncManager)
        {
            fixationDetector = new FixDetectorClass();
            fixationDetector.init();

            // mimic Tobii Fixation Filter
            // Detailed information available in Tobii Studio User Manual 1.X
            // http://www.tobii.com/Global/Analysis/Downloads/User_Manuals_and_Guides/Tobii_Studio1.X_UserManual.pdf
            // as well as the appendix of Olsson, P. 2007. Real-time and offline filters for eye tracking. Msc thesis, KTH Royal Institue of Technology, April 2007.
            fixationDetector.Analyzer = EFDAnalyzer.fdaFixationSize;
            fixationDetector.Filter   = EFDFilter.fdfAveraging;
            fixationDetector.setAnalyzerProperty("fixation_radius", 35);
            fixationDetector.setAnalyzerProperty("noise_filter", 1);
            fixationDetector.FilterBufferSize = 5;
            fixationDetector.MinFixDuration   = 0;
        }
Exemplo n.º 4
0
        /// <summary>
        /// Initializes fixation detector to Tobii Studio default
        /// </summary>
        /// <param name="syncManager"></param>
        public FixationDetector(SyncManager syncManager)
            : base(syncManager)
        {
            fixationDetector = new FixDetector();
            fixationDetector.init();

            // mimic Tobii Fixation Filter
            // Detailed information available in Tobii Studio User Manual 1.X
            // http://www.tobii.com/Global/Analysis/Downloads/User_Manuals_and_Guides/Tobii_Studio1.X_UserManual.pdf
            // as well as the appendix of Olsson, P. 2007. Real-time and offline filters for eye tracking. Msc thesis, KTH Royal Institue of Technology, April 2007.
            fixationDetector.Analyzer = EFDAnalyzer.fdaFixationSize;
            fixationDetector.Filter = EFDFilter.fdfAveraging;
            fixationDetector.setAnalyzerProperty("fixation_radius", 35);
            fixationDetector.setAnalyzerProperty("noise_filter", 1);
            fixationDetector.FilterBufferSize = 5;
            fixationDetector.MinFixDuration = 0;
        }