Cluster Fix for Matlab


Download Below

General Description

Eye tracking is used extensively in research to analyze scan paths in humans and animal subjects. The most common algorithms for analyzing scan paths employ velocity and acceleration thresholds to determine when a saccade occurs since the eye moves faster during a saccade than during a fixation; however, these thresholds are often arbitrary as well as inaccurate. To solve these serious flaws, Cluster Fix uses k-means cluster analysis on distance, velocity, acceleration, and angular velocity. K-means clustering finds natural divisions in data and groups the data in K number of clusters. The number of clusters is determined using a built-in MATLAB function which optimizes the distances between data points within a cluster relative to the separation of clusters in space. Initially, Cluster Fix globally evaluates the whole scan path at once, detects fixations and saccades, and then locally re-evaluates each fixation and saccade pair in order to identify small, short saccades as well as precisely identify the start and end of saccades. Cluster Fix is written in MATLAB code. 

Cluster Fix publication provides more detail.

Copyright © 2013-2014, Seth Koenig & Elizabeth Buffalo. All rights reserved.

If utilization of the Cluster Fix algorithm, with or without modification, results in outcomes which will be published, you must site the following publication: 

Seth D. König, and Elizabeth A. Buffalo. A nonparametric method for detecting fixations and saccades using cluster analysis: Removing the need for arbitrary thresholds. Journal of Neuroscience Methods, 2014. 

Redistribution & and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.