High-precision, three-dimensional tracking of mouse whisker movements with optical motion capture technology
- 1 Department of Anatomy and Neurobiology, University of Tennessee Health Science Center, Memphis, TN, USA
- 2 Division of Genetic Medicine, Department of Medicine, Vanderbilt University, Nashville, TN, USA
The mystacial vibrissae or whiskers in rodents are sensitive tactile hairs emerging from both sides of the face. Rats and mice actively move these whiskers during exploration. The neuronal mechanisms controlling whisker movements and the sensory representation of whisker tactile information are widely studied as a model for sensorimotor processing in mammals. Studies of the natural whisker movement patterns during exploration and tactile examination are still in their early stages. Tracking the movements of whiskers is technically challenging as they move relatively fast and are very thin, particularly in mice. Existing systems detect light-beam interruptions by the whiskers or use high-speed video to track whisker movements in one or two-dimensions. Here we describe a method for tracking the movements of mouse whiskers in three-dimensions (3D) using optical motion capture technology (OMCT). OMCT tracks the movements of small retro-reflective markers attached to whiskers of a head-fixed mouse with a spatial resolution of <0.5 mm in all 3D and a temporal resolution of 5 ms (200 fps). The system stores the 3D coordinates of the marker’s trajectories onto hard disk allowing a detailed analysis of movement trajectories bilateral coordination. The described method currently uses the minimum of two tracking cameras, which requires head-fixation for reliable tracking.
The rodent mystacial vibrissae system, particularly its sensory neuronal representation, have become a major focus in neuroscience (Fox, 2008). Research on the rodent whisker system has long focused on rats (Vincent, 1912) revealed a rich repertoire of movements with respect to amplitude, bilateral coordination, and modal frequency in different behavioral contexts, such as exploration and tactile examination. Several of those studies used high-speed video technology to track vibrissae movements in two-dimensions (2D; Berg and Kleinfeld, 2003; Sellien et al., 2005; Towal and Hartmann, 2006; Mitchinson et al., 2007; Grant et al., 2009). Others used linear light detector arrays (Bermejo et al., 1998; Gao et al., 2001), which need to be brought very close to the rat’s head and require an attachment to the whisker to increase its diameter enough to be detected (Harvey et al., 2001). To our best knowledge, successful use of the latter method in mice has not been reported. In our hands the sensors (MX-Sensor, Metralight, Inc., San Mateo, CA, USA) were not sensitive enough to reliably track the thin mouse whiskers unless they were made thicker with an attachment that would significantly weigh them down and alter their movements. Also, the apparatus has to be positioned very close to the animals’ head, which may add to the stress of head-fixation.
Compared to rats, the use of mice currently offers a much broader spectrum of genetic models for brain disorders and of neurogenetic tools to manipulate nervous system function. Mice thus offer important new opportunities to study whisker system function in the context of diseases and their potential treatments and in the context of, e.g., optogenetic manipulations of indentified cell types. In order to take full advantage of mice as an animal model for the study of the mystacial vibrissae system, efficient methods for high-precision tracking of mouse whisker movements are essential. Here we describe a method to track the movements of mouse whiskers in three-dimensions (3D) using optical motion capture technology (OMCT). OMCT derives 3D movement trajectories of retro-reflective markers from 2D video images captured simultaneously from different angles by two or more high-speed cameras (Abdel-Aziz and Karara, 1971). Retro-reflective elements or surfaces reflect light back to its source with a minimum scattering of light. Thus, OMCT works with relatively low light intensities.
Optical motion capture technology is widely used in biomechanical research (e.g., Blake and Ferguson, 1993) and in cinematography. Advantages of OMCT over high-speed video techniques include the facts that infrared-based OMCT does not require bright illumination and that it directly provides 3D trajectory coordinates including velocity and acceleration, eliminating the need for extensive post-processing.
Optical motion capture technology does, however, require attachment of retro-reflective markers onto the whiskers. But these markers can be made very small (2–3 mm2) and very light (<1 mg) to minimize the impact on whisker movements.
Here we demonstrate the use of OMCT to track spontaneous movements of mouse C4 whiskers in 3D. We also demonstrate that the two-camera system can be used for bilateral tracking of C4 whiskers on both sides of the face simultaneously and show examples of symmetrical and non-symmetrical whisker movements recorded during the same session.
Material and Methods
C57BL/6J adult male mice were housed with food and water ad libitum in a 12:12-h light/dark cycle. All mice used in this study were raised and all experiments were performed in accordance with procedural guidelines approved by the University of Tennessee Health Science Center Animal Care and Use Committee. Principles of laboratory animal care (NIH publication No. 86-23, rev. 1996) were followed. One week prior to experiments, an aluminum head post was surgically mounted to the skull and secured with acrylic cement. The acrylic cement was anchored to the skull using three small machine screws. The aluminum post was used to fix the mouse’s head to a metal holder during the experiments. A detailed description of the head-fixation procedure has been published previously (Bryant et al., 2009).
Motion Capture System
The 3D tracking system used here (Hawk Digital Real Time System, Motion Analysis Corp., Santa Rosa, CA, USA) was equipped with the minimally required two-cameras in conjunctions with the Cortex analysis software (Motion Analysis, CA, USA; Figure 1). The X, Y, and Z coordinates of the whisker-attached retro-reflective markers (Figure 1B) were digitized and stored on hard drive together with video recordings of the marker movements. The markers were fashioned from a retro-reflective tape backed with adhesive (Motion Analysis Corp., Santa Rosa, CA, USA) and fastened onto the whiskers using the tape’s adhesive (see below). Markers were affixed to the whisker at a distance of about 1 cm from the base. Reliable 3D tracking requires that a marker be visible at all times by both cameras. This condition can be satisfied in head-fixed mice where the orientation of the mouse to the cameras remains fixed. The system was connected to a dual processor Windows based computer for data collection.
Figure 1. Arrangement of tracking system, placement of whisker markers and virtual representation. (A) Photograph showing two high-speed cameras (on the left) with infrared lights are placed 0.8–1.2 m from the mouse (bottom right), with cameral sightlines converging on the mouse at an approximate 24° angle. The mouse’s head is immobilized with a head post. (B) Photographs showing close-up front and side-views of retro-reflective marker tape affixed to the left (green arrows) and right (purple arrow) C4 whisker of a C57BL/6J mouse. Acrylic cement used to mount the head post is partially visible on to of the mouse’s head. (C) Screenshot from the Cortex Software during calibration showing the positions of the two-cameras (green boxes) relative to each other, outlines of their fields of view and the volume viewed by both cameras for 3D tracking. (D) Screenshot from the Cortex Software during the calibration process showing the digital representation of three retro-reflective markers, one static and two attached to the left and right C4 whiskers.
Trajectory information was not available in form of real-time analog output signals that could be directly digitized with third-party data acquisition systems. Instead X, Y, and Z components of maker trajectories were exported off-line from the Cortex software into a spreadsheet format and then imported into a Spike2 (Cambridge Electronic Design, Cambridge, UK) data file for further analysis. To provide a temporal align for the imported trajectory components into the Spike2 data format, an analog timing signal provided by the Hawk cameras was recorded in the Spike2 data format in real-time using a CED1401 analog/digital converter (Cambridge Electronic Design, Cambridge, UK) and the Spike2 software.
Camera Setup and Calibration
Cameras were positioned 90 cm in front and about 40 cm above the platform for the head-fixed mouse, separated by about 30 cm, resulting in a viewing angle about 20°. The floor of the capture volume rested at an angle of 24° below the camera lenses. Cameras were adjusted to create a volume viewed by both cameras (the capture volume) that contained the entire expected range of marker movements (gray box in Figure 1C). The size of the capture volume was typically in the range of ±6 cm lateral of the midsagittal plane of the mouse and ± 3 cm above and below the head. The cameras track marker movements in real-time at 200 fps by capturing infrared light emitted from the retro-reflective marker surface. Infrared light is emitted from an array of LEDs mounted directly on the cameras, surrounding the lenses.
Tracking of Whisker Movements
Following 3–5 days of recovery from surgery mice were trained to accept head-fixation as described previously (Bryant et al., 2009). Head-fixation involved clamping the head post to a metal holder using a setscrew.
On the days of experiments mice were head-fixed and small pieces of reflective markers with diameters of 2–3 mm and less than 1 mg weight were attached to the C4 whisker on one or both sides of the face. We used two methods for attaching marker tape to the whiskers. In one method the tape was either directly folded over the whisker – with the adhesive side toward the whisker – using fine forceps. The second method involved covering a 2-cm section of silicon tubing (1.5 mm outer diameter) with marker tape and cutting a 2 to 3-mm section off the covered tubing. The short section was then slid over the whisker and secured with a small drop of Super Glue gel (3M, St. Paul, MN, USA) applied to one end of the tubing (Figure 1B). Both methods yielded similar results in terms of tracking quality. Placing the tubing on the whisker is, however, more difficult and adds slightly more weight.
Most mice will initially attempt to remove the markers until they have adapted to their presence. Reaching for the markers was prevented by taping a 1.5-cm × 5-cm piece of cardboard in front of the forepaws. Attempts to remove markers typically ceased after 10–15 min. Movements of the C4 whiskers were recorded over several minutes.
There are multiple ways of analyzing the 3D whisker trajectories, depending on the research question. Here we limited the data analysis to the velocity, acceleration, and frequency components of mouse whisker movements. Velocity and acceleration were calculated by the Motion Capture data analysis software (Cortex) as follows:
The velocity vector is calculated as a central difference for each dimension.
Vx is the velocity vector for the x-axis, PositionX the position of the marker in a specified frame and 2*i is the number of frames averaged. In our experiments the frame rate was always set to 200 Hz and i was set to 5. Velocities for the y- and z-axes were calculated in the same way.
The Cortex software calculates a number of motion parameters but did not provide power spectral or correlation analysis. X, Y, and Z coordinates of the marker trajectories can be readily exported to a spreadsheet format (Microsoft Excel). We transferred the data to Origin (OriginLab, North Hampton, MA, USA), a spreadsheet based data analysis software to generate 3D plots of the whisker movements and for correlation analysis of bilateral whisker movements. Correlation analysis was used to quantify the bilateral symmetry of whisker movements. Data were imported into the Spike2 software for power spectral analysis. We used power spectral density analysis and spectrogram plots to analyze and visualize the frequency components of whisker movements.
Whisking Velocity, Acceleration and Frequency
Continuous recordings of the 3D trajectories of C4 whiskers in four different mice revealed that large amplitude rhythmic whisker movements occurred at modal frequencies of 14–16 Hz in each dimension (Figure 2). Along the rostro-caudal or x-axis, markers moved at an average maximum velocity of 435.3 ± 167.2 mm/s (mean ± SD, n = 5 mice). The average maximal acceleration along the same axis was 71034.4 ± 24001.5 mm/s2 (mean ± SD, n = 5 mice). Average maximum velocity and acceleration values for all axes are listed in Table 1.
Figure 2. Spectral analysis of whisker movements. (A) Spectrograms (black and red heat-maps) and trajectory components for whisker movements along each axis (green traces) are shown. Spectrograms (Hanning, block size 256) for whisker movements along all three axes show high power (bright red colors) within a stable frequency band centered around 15 Hz during whisker movements with variable amplitude. (B) Power spectral density histograms (Hanning, FFT size 256) calculated for the length of the trajectory components in (A) show prominent peaks around 15 Hz.
Table 1. Average maximum values for velocity and acceleration (±SD) of markers attached to C4 whiskers of five mice. Markers were attached to the whiskers at a distance of ca. 1 cm from the whisker base.
Bilateral Whisker Movements
Whiskers on both sides had very similar trajectories. Figure 3 shows 3D plots of the trajectories of two simultaneously tracked C4 whiskers on each side of the face from different viewing angles (Figure 3). The static images do not provide information about the dynamics and symmetry of bilateral whisker movements. As a quantitative measure for the symmetry or asymmetry of bilateral whisker movements we calculated the correlation coefficients for all three directional components of the whisker trajectory. In measurements from 3 different C57Bl/6J mice we found average bilateral correlations of 0.113 ± 0.246 (mean ± SD) for the anterior–posterior component (x-axis) of the trajectories, −0.186 ± 0.154 for the medio-lateral component (y-axis) and −0.206 ± 0.427 for the superior-inferior component (z-axis).
Figure 3. Different viewing angles for three-dimensional (3D) reconstructions of C4 whisker movements. (A) Frontal view of the marker positions during 100 s (20000 frames) of whisker movements. Markers were attached to the left and right C4 whiskers. Black dots in this and all other plots represent 3D marker positions. Red dots are projections of the 3D positions onto each of the three planes. (B) Side-view of (A) rotated 35° to the right. (C) Side-view of (A) rotated 90° to the right. (D) Top down view (along the z-axis) of (C).
Further analysis of bilateral correlations over shorter observation time windows (<1 min) revealed that the coordination of bilateral whisker movements was highly variable over time. Figure 4 shows examples of raw data and correlation results from episodes of symmetrical and asymmetrical whisker movements. Figures 4A,B shows trajectories and correlation coefficients from a period of relative symmetrical bilateral whisker movements. Correlation coefficients ranged from 0.005 to 0.156 along corresponding axes. Figures 4C,D shows data and correlation results from an episode of anti-symmetrical whisker movements. Correlation coefficients ranged from −0.1 to −0.81 along corresponding axes.
Figure 4. Example raw traces of the X, Y, and Z components of bilaterally symmetrical and non-symmetrical whisker movements. (A) Traces showing from top to bottom the X, Y, and Z (top to bottom) components of three-dimensional movements of the left (green traces) and right (gray traces) C4 whiskers. During the 2-s (400 frames) of recordings shown the whiskers moved in a bilaterally symmetrical way. (B) Table with correlation coefficients from a correlation analysis of X, Y, and Z components of bilateral whisker movements shows positive correlations between corresponding components (red framed values along diagonal). (C) Traces as in (A) recorded in the same session but during a 2-s period of non-symmetrical whisker movements. (D) Correlation analysis of X, Y, and Z components of bilateral whisker movements shows negative correlations between corresponding components (red framed values along diagonal).
The rodent whisker system is a widely used model for the study of sensory motor processing in mammalian nervous systems. Studies of the rodent whisker system have mostly focused on rats. However, mice have become increasingly important as animals models for nervous system function because of the availability of a wide range of genetic mouse models of brain disorders and the plethora of possibilities for genetic manipulations of brain function. Mouse whiskers are thinner than those of rats and technically more challenging to track. Here we described a method based on OMCT to track mouse mystacial vibrissae or whisker movements with high spatial and temporal precision and in 3D. High-precision 3D tracking of mouse whisker movements opens up new opportunities for the detailed investigation whisking behavior and of neuronal sensorimotor processing in normal mice and mouse models of brain disorders. The 3D analysis of whisker movements has thus far received little attention and to our knowledge has never been attempted in mice. With further investigation and the establishment of baseline behavioral parameters 3D whisker analysis may prove to provide valuable and sensitive information about normal and pathological behavioral phenotypes regarding whisker use during exploration and tactile examination. Genetic, pharmacological or physiological manipulations of the neuronal network controlling whisker movements may result in subtle changes of whisking behavior that might be more easily detected in high resolution 3D data.
We have demonstrated that a two-camera optical motion capture system can also be used for bilateral whisker tracking. However, with only two-cameras the precise positioning of cameras becomes critical as the movements of the whiskers can cause one of the cameras to temporarily loose sight of a marker, which results in a temporary loss of 3D information. Adding a third camera would eliminate that problem in a head-fixed situation. The system used here (Hawk Digital Real Time System, Motion Analysis Corp., Santa Rosa, CA, USA) works with up to eight cameras.
In summary, tracking whisker movements with motion capture technology (OMCT) allows the easy tracking of mouse whisker movements in 3D. The method does require the attachment of retro-reflective marker tape onto the whiskers, but those markers can be made very small and very light weight to minimize impact on whisker movements. To test whether the markers had a significant impact on the whisker movement we performed additional experiments using a light-beam detection device (Coulbourn Instruments, Whitehall, PA, USA) to monitor the rhythm of a single (C4) whisker’s movements (i.e., intervals between the whisker interrupting the beam). We compared whisking frequencies with and without a marker attached to the whisker in three mice (No. of animal used for this experiment n = 3) and found no significant changes in due to the attachment of a retro-reflective tape (mean frequency without tape: 0.0734; mean frequency with tape attached: 0.07251; Student’s t-test: t = 1.16027; DF = 2; p = 0.36572).
Compared to high-speed video tracking, OMCT’s main advantage is that the system directly generates 3D trajectory, velocity, and acceleration measurements without extensive post-processing of video data. 3D whisking behavior in mice has not been extensively analyzed, which might at least partially be due to technical challenges. The method described here thus provides relatively easy access to 3D mouse whisking behavior with high spatial and temporal precision. Besides being of interest from a purely behavioral point of view, 3D data will also allow more detailed studies of the neuronal and genetic aspects of mouse whisking behavior using normal mice and mice with genetically altered nervous systems.
Conflict of Interest Statement
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
We would like to thank Michael Nguyen for excellent custom mechanical designs and Shuhua Qi for outstanding technical assistance. This work was supported by grants from the National Institutes of Health to Detlef H. Heck (R01NS060887 and R01NS067201). The content of this publication is solely the responsibility of the authors and do not necessarily represent the official views of the NIH.
Abdel-Aziz, Y. I., and Karara, H. M. (1971). “Direct linear transformation from comparator coordinates into object-space coordinates in close-range photogrammetry,” in Proceedings of the ASP/UI Symposium on Close-Range Photogrammetry (Falls Church, VA: American Society of Photogrammetry), 1–18.
Grant, R. A., Mitchinson, B., Fox, C. W., and Prescott, T. J. (2009). Active touch sensing in the rat: anticipatory and regulatory control of whisker movements during surface exploration. J. Neurophysiol. 101, 862–874.
Harvey, M. A., Bermejo, R., and Zeigler, H. P. (2001). Discriminative whisking in the head-fixed rat: optoelectronic monitoring during tactile detection and discrimination tasks. Somatosens. Mot. Res. 18, 211–222.
Mitchinson, B., Martin, C. J., Grant, R. A., and Prescott, T. J. (2007). Feedback control in active sensing: rat exploratory whisking is modulated by environmental contact. Proc. Biol. Sci. 274, 1035–1041.
Keywords: mystacial vibrissae, mouse, movement tracking, 3D tracking, whisker movement
Citation: Roy S, Bryant JL, Cao Y and Heck DH (2011) High-precision, three-dimensional tracking of mouse whisker movements with optical motion capture technology. Front. Behav. Neurosci. 5:27. doi: 10.3389/fnbeh.2011.00027
Received: 28 March 2011;
Accepted: 06 May 2011;
Published online: 08 June 2011.
Edited by:Agnes Gruart, University Pablo de Olavide, Spain
Reviewed by:Fabrício A. Pamplona, University of Cambridge, UK
Nashaat Z. Gerges, Medical College of Wisconsin, USA
Copyright: © 2011 Roy, Bryant and Heck. This is an open-access article subject to a non-exclusive license between the authors and Frontiers Media SA, which permits use, distribution and reproduction in other forums, provided the original authors and source are credited and other Frontiers conditions are complied with.
*Correspondence: Detlef H. Heck, Department of Anatomy and Neurobiology, University of Tennessee Health Science Center, 855 Monroe Avenue, Room 405, Memphis, TN 38163, USA. e-mail: firstname.lastname@example.org