A system for tracking whisker kinematics and whisker shape in three dimensions

PLoS Comput Biol. 2020 Jan 24;16(1):e1007402. doi: 10.1371/journal.pcbi.1007402. eCollection 2020 Jan.

Abstract

Quantification of behaviour is essential for biology. Since the whisker system is a popular model, it is important to have methods for measuring whisker movements from behaving animals. Here, we developed a high-speed imaging system that measures whisker movements simultaneously from two vantage points. We developed a whisker tracker algorithm that automatically reconstructs 3D whisker information directly from the 'stereo' video data. The tracker is controlled via a Graphical User Interface that also allows user-friendly curation. The algorithm tracks whiskers, by fitting a 3D Bezier curve to the basal section of each target whisker. By using prior knowledge of natural whisker motion and natural whisker shape to constrain the fits and by minimising the number of fitted parameters, the algorithm is able to track multiple whiskers in parallel with low error rate. We used the output of the tracker to produce a 3D description of each tracked whisker, including its 3D orientation and 3D shape, as well as bending-related mechanical force. In conclusion, we present a non-invasive, automatic system to track whiskers in 3D from high-speed video, creating the opportunity for comprehensive 3D analysis of sensorimotor behaviour and its neural basis.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Algorithms
  • Animals
  • Biomechanical Phenomena / physiology
  • Imaging, Three-Dimensional / methods*
  • Male
  • Mice
  • Mice, Inbred C57BL
  • Vibrissae / diagnostic imaging*
  • Vibrissae / physiology*

Associated data

  • figshare/10.6084/m9.figshare.9758894.v1