Rodents engage in active touch using their facial whiskers: they explore their environment by making rapid back-and-forth movements. The fast nature of whisker movements, during which whiskers often cross each other, makes it notoriously difficult to track individual whiskers of the intact whisker field. We present here a novel algorithm, WhiskEras, for tracking of whisker movements in high-speed videos of untrimmed mice, without requiring labeled data. WhiskEras consists of a pipeline of image-processing steps: first, the points that form the whisker centerlines are detected with sub-pixel accuracy. Then, these points are clustered in order to distinguish individual whiskers. Subsequently, the whiskers are parameterized so that a single whisker can be described by four parameters. The last step consists of tracking individual whiskers over time. We describe that WhiskEras performs better than other whisker-tracking algorithms on several metrics. On our four video segments, WhiskEras detected more whiskers per frame than the Biotact Whisker Tracking Tool. The signal-to-noise ratio of the output of WhiskEras was higher than that of Janelia Whisk. As a result, the correlation between reflexive whisker movements and cerebellar Purkinje cell activity appeared to be stronger than previously found using other tracking algorithms. We conclude that WhiskEras facilitates the study of sensorimotor integration by markedly improving the accuracy of whisker tracking in untrimmed mice.

algorithm, cerebellum, machine learning, mouse, object tracking, Purkinje cell, sensorimotor integration, whiskers
dx.doi.org/10.3389/fncel.2020.588445, hdl.handle.net/1765/132340
Frontiers in cellular neuroscience
Department of Neuroscience

Betting, J.-H.L.F. (Jan-Harm L. F.), Romano, V, Al-Ars, Z, Bosman, L.W.J, Strydis, C, & de Zeeuw, C.I. (2020). WhiskEras: A New Algorithm for Accurate Whisker Tracking. Frontiers in cellular neuroscience, 14. doi:10.3389/fncel.2020.588445