Automated tracking of whiskers in videos of head fixed rodents.
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.
Janelia Farm Research Campus, Howard Hughes Medical Institute, Ashburn, Virginia, United States of America. clackn@janelia.hhmi.org
Nathan G
NG
Clack
Daniel H
DH
O'Connor
Daniel
D
Huber
Leopoldo
L
Petreanu
Andrew
A
Hires
Simon
S
Peron
Karel
K
Svoboda
Eugene W
EW
Myers
D000818:Animals; D019295:Computational Biology / Q000379:methods*; D005106:Exploratory Behavior / Q000502:physiology; D007091:Image Processing, Computer-Assisted / Q000379:methods*; D051379:Mice; D014738:Vibrissae / Q000502:physiology*; D014743:Videotape Recording / Q000379:methods*