PLoS Computational Biology (Jan 2012)

Automated tracking of whiskers in videos of head fixed rodents.

  • Nathan G Clack,
  • Daniel H O'Connor,
  • Daniel Huber,
  • Leopoldo Petreanu,
  • Andrew Hires,
  • Simon Peron,
  • Karel Svoboda,
  • Eugene W Myers

DOI
https://doi.org/10.1371/journal.pcbi.1002591
Journal volume & issue
Vol. 8, no. 7
p. e1002591

Abstract

Read online

We have developed software for fully automated tracking of vibrissae (whiskers) in high-speed videos (>500 Hz) of head-fixed, behaving rodents trimmed to a single row of whiskers. Performance was assessed against a manually curated dataset consisting of 1.32 million video frames comprising 4.5 million whisker traces. The current implementation detects whiskers with a recall of 99.998% and identifies individual whiskers with 99.997% accuracy. The average processing rate for these images was 8 Mpx/s/cpu (2.6 GHz Intel Core2, 2 GB RAM). This translates to 35 processed frames per second for a 640 px×352 px video of 4 whiskers. The speed and accuracy achieved enables quantitative behavioral studies where the analysis of millions of video frames is required. We used the software to analyze the evolving whisking strategies as mice learned a whisker-based detection task over the course of 6 days (8148 trials, 25 million frames) and measure the forces at the sensory follicle that most underlie haptic perception.