Abstract
Heart rate (HR) is extremely valuable in the study of complex behaviours and their physiological correlates in non-human primates. However, collecting this information is often challenging, involving either invasive implants or tedious behavioural training. In the present study, we implement a Eulerian video magnification (EVM) heart tracking method in the macaque monkey combined with wavelet transform. This is based on a measure of image to image fluctuations in skin reflectance due to changes in blood influx. We show a strong temporal coherence and amplitude match between EVM-based heart tracking and ground truth ECG, from both color (RGB) and infrared (IR) videos, in anesthetized macaques, to a level comparable to what can be achieved in humans. We further show that this method allows to identify consistent HR changes following the presentation of conspecific emotional voices or faces. EVM is used to extract HR in humans but has never been applied to non-human primates. Video photoplethysmography allows to extract awake macaques HR from RGB videos. In contrast, our method allows to extract awake macaques HR from both RGB and IR videos and is particularly resilient to the head motion that can be observed in awake behaving monkeys. Overall, we believe that this method can be generalized as a tool to track HR of the awake behaving monkey, for ethological, behavioural, neuroscience or welfare purposes.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Introduction
Tracking variations in autonomous responses has proven to be invaluable in the study of complex behaviours and their physiological correlates in non-human primates1. These include tracking changes in pupil diameter2,3,4,5, in skin conductance6, social blinks7, blink rates8,9, nose temperature10 and heart rate (HR)11,12. HR measure is of particular relevance in diverse cognitive contexts. For example, it has been shown that HR increases when monkeys watch videos with high affective content13 and during learning process14,15. In spite of this, very few methods currently allow to easily, reliably and non-invasively track HR in awake behaving untrained monkeys. The aim of the present study is to fill this methodological gap.
The classical tools already available on the market to extract heart rate, such as electrocardiograms (ECG) or pulse oximeters, require a direct contact of electrodes or captors with the skin. Indeed, ECG detects changes in voltage generated by the cardiac muscles and requires to place electrodes on a shaved skin. The pulse oximetry method measures oxygen saturation and pulsations of blood thanks to photoplethysmography (PPG). PPG consists in detecting luminosity variations of the skin that are directly related to changes in blood flow16,17. It also involves placing a captor on the subject, usually on the fingers. For both these methods, signal quality can deteriorate in time, due to a displacement of the electrodes or the captor. In addition, when dealing with adult human subjects, this may introduce experimental biases due to the fact that subjects possibly becomes aware of the scope of the study. In young infants or animals, placing the captor or maintaining it all throughout the experiment may turn out to be challenging if not impossible. In monkeys, recording HR either involves ECG or PPG under sedation18,19,20 or implanting a telemetry device for HR measure during behaviour21,22. PPG recording or HR measures using captors embedded in a wearable jacket is also an option11,23,24. However, this requires intensive monkey training and might bias HR measures due to discomfort or stress.
Ballistocardiography has proven efficient in tracking human HR in open field situation, such as the home, analysing whole body movement using machine learning methods25,26,27. This method is based on the mechanical effect of blood ejection from the heart on hole body posture. More recently, methods allowing to extract HR at a distance from human subjects have been developed based on video image processing28,29,30. Imaging photoplethysmogram (iPPG), detects, as is the case for PPG, variation of skin light absorption/reflection properties31,32,33. Indeed, heartbeat induces blood flow in all the body including the face skin. This results in a change in the skin reflectance34,35,36,37,38. These changes in human skin reflectance can be tracked from webcam39,40 or smartphone41 video quality images associated with ICA signal processing techniques.
These methods appear highly relevant to non-human primate research and welfare, as cognitive processes, emotional states or welfare indicators such as stress can only be inferred by indirect measures. However, one of the major challenges in this context is the fact that changes in skin reflectance are more difficult to detect in monkeys due to reduced glabrous facial skin surface. In spite of this limitation, Unakafov et al.42 have successfully applied HR tracking in awake macaques in combination with discrete Fourier and wavelet transform based iPPG. While this study is of great interest, it falls short of two objectives that are useful to behavioural and experimental studies in non-human primates. First, Unakafov et al.42 do not address IR video-based hear rate estimation, although for example, a lot of neuroscience studies require video recording in light controlled environments. Second, they do not evaluate the sensitivity of their method in the awake behaving monkey and its ability to track subtle changes in heart rate, for example during the processing of emotional stimuli.
Here, we present an alternative indirect HR tracking method in the monkey, using Eulerian Video Magnification (EVM)30. A major advantage of this approach relative to iPPG is its resilience to subject motion29. We have further associated EVM video extraction with wavelet transformation based analyses, that has also been shown to be motion tolerant on poor quality human webcam video data43. In a first step, we show that EVM-based HR tracking has a high temporal coherence with ground truth ECG data, whether extracted from RGB video images or IR video images (that are often used in neuroscience experimental protocols) and that EVM-based HR estimate is very close to ECG-based HR estimate. For both types of video quality, we show that temporal coherence between EVM-based heart tracking and ground truth ECG is not significantly different between humans and monkeys. Last, we describe the dependence of temporal coherence between EVM-based heart tracking and ground truth ECG on the localization of the specific facial region EVM is performed onto. In a second step, we apply EVM-based heart tracking to the awake monkey and we show that this measure allows to identify consistent HR changes following the presentation of conspecific emotional voices or faces. Overall, we believe that this method can be generalized as a tool to track HR of the awake behaving monkey, for ethological, behavioural or welfare purposes.
Material and methods
Subjects
Monkeys
Three rhesus monkeys (Macaca mulatta) participated at this study. They were aged between 9 and 17 years (2 males: monkeys T and S, 1 female: monkey Z). The project was authorized by the French Ministry for Higher Education and Research (project no. 2016120910476056 and 2015090114042892) in agreement with the French implementation of European Directive 2010/63/UE. This authorization was based on the ethical evaluation by the local Committee on the Ethics of Experiments in Animals (C2EA) CELYNE registered at the national level as C2EA number 42 and the National Ethics of Experiments in Animals board of the French Ministry of Higher Education, Research and Innovation. In order to meet the ethical requirement of reduction, following the recommendation of the ethical committee, we describe our finding and perform our statistical tests in two monkeys.
Humans
Two human participants were included in this study and were covered by a broader project authorization (ID RCB 2018-A03438-47).
Monkey anaesthesia
Monkeys were lightly anesthetized with Zoletil (Tiletamine-Zolazepam, Virbac, 10 mg/kg) so as to avoid head movements. During the video and ECG acquisitions, monkeys were gently resting on their side, under constant physiological monitoring.
Monkey Behavioural task
During these sessions, monkeys were awake and sat in a sphinx position in a plastic monkey chair and head restrained to avoid movement. They faced a screen (1920 × 1200 pixels and a refresh rate of 60 Hz) placed 54 cm from their eyes on which stimuli were presented by an experimental control and stimulus delivery software (EventIDE). The auditory stimuli were displayed by a Sensimetrics S14 insert earphones and set up. Monkeys were required to fixate the centre of the screen all throughout the recording blocks. Eye fixation was controlled thanks to an Eyelink video eye tracker (EyeLink). Recording blocks consisted in 2 alternations of 16 s of fixation and 16 s of emotional stimuli presentation (alternations of 450 ms stimuli of the same sensory and emotional category, differing in specific identity). In one type of recording blocks, fixations alternated with highly emotional auditory content (screams). In a second type of recording blocks, fixations alternated with highly emotional visual content (4° × 4° aggressive faces). In total, 54 fixation to scream transitions (30 for monkey T and 24 for monkey S), and 57 fixation to aggressive faces (30 for monkey T and 27 for monkey S) were collected. The auditory stimuli and part of the visual stimuli were recorded in Cayo Santiago, Puerto Rico and kindly produced by Marc Hauser. The other visual stimuli were created in our own lab.
Electrocardiogramm recordings
Electrocadiographic signal (ECG) was recorded thanks to a BiopacSystem. In humans, two electrodes were placed on the subject’s thoracic cage, on each side of the heart, while the reference electrode was placed on the abdomen, close to the stomach.
In macaques, two electrodes were placed on the subject’s thoracic cage, on each side of the heart, while the reference electrode was placed close to the groin on a shaved skin. ECG signal was recorded at a frequency of 2 kHz, in order to have a well-defined QRS waveform.
Video recordings
We used a USB camera with a variable framerate (maximum frame rate of 30 frames per second), and a spatial resolution of 640 × 480 pixels. The camera had two working modes depending of light intensity. At high light intensity level, the camera was a color (RGB) device. At low light intensity level, the camera was an infrared (IR) device.
When comparing EVM-based HR tracking to ground truth ECG HR estimation in monkeys (monkey T and monkey Z), the animals were anesthetized and laying on their side. The video recording was targeted to the face. When comparing EVM-based HR tracking to ground truth ECG HR estimation in humans (subject H1 and H2), subjects were requested to gently and steadily gaze at the camera and video recording were targeted to the face. For each monkey and human subject, we collect ten minutes of videos in full light (RGB mode) or in the dark (IR mode).
When analysing the effect of emotional stimuli on EVM-based HR tracking, we recorded IR videos while monkeys T and S were performing the above described task.
ECG and video time series were synchronized using the AcqKnowledge software. Specifically, the AcqKnowledge software was used to record the ECG signal and send start and stop synchronization triggers to the video recording system.
HR extraction from recorded video
Definition of Region of Interest (ROI)
In order to optimize HR extraction, the first processing step involves defining, in the recorded video a region of interest (ROI) to feed in the rest of the processing pipeline (Fig. 1A). Because subsequent processing involves estimating variations in skin luminosity, ROIs should be placed on the face. The optimal location on the face is further discussed in the result section. The video is cropped around this ROI and the output is fed into a first EVM processing step.
(A) HR video extraction pipeline. A Region of interest (ROI) is defined on the video input, ideally placed in a hairless skin region, such as the face. The video is cropped around this ROI selection and serves as input to the Eulerian video magnification (EVM) algorithm (see text for specifications). The result is a video in which luminosity changes due to HR are enhanced. A first HR approximation is extracted from this video (as described in B). In order to obtain a more precise HR estimate, this approximated HR is used as a parameter for a second EVM processing round. (B) HR approximation. Average time series are extracted from the ROI pixels of highest luminosity, for each color channel, and their frequency power profile is extracted using a wavelet transform. Peak frequency is taken as the estimate of HR.
Eulerian Video Magnification –step one
The Eulerian video magnification algorithm or EVM30 allows to magnify variations in frame to frame video information and can thus be used amongst other things to amplify skin colour variations due to blood circulation. It involves both a spatial and a temporal processing such that any variation in pixel properties through time and space is amplified. This can be modelled as follows: on a 1D signal, let I(x,t) be the intensity of the signal at pixel x and sapling time t. The displacement function, δ(t), represents at a given time the distance of the pixel from its original position. Thus the intensity of the pixel of interest can be written as
where at the initial condition t = 0, the intensity of the pixel x takes the value:
The EVM process consists in adding an amplified displacement function to the original intensity signal of gain α. Considering that the signal is within the selected range of frequencies of an ideal band-pass filter, the intensity signal generated by the EVM is defined as:
Outside the selected frequency range, the intensity signal is set to identity: Î = I. This results in the selective amplification of movement information in the 1D signal within the frequency range of interest. This procedure can be generalized to a 2D signal such as a video. The input video is decomposed into several spatial frequency bands. The same temporal filter is applied to all these bands. The most relevant spatial frequency band to the signal of interest (here, HR detection) is amplified and the result of this amplification is added to the initial video signal. Amplification factor (α) and temporal filtering parameters are hand-optimized by the experimenters to maximize the identification of the signal of interest.
Specifically, we use the EVM functions for Matlab (https://people.csail.mit.edu/mrub/evm/), and run it on our ROI-cropped video, defining a spatial filtering by a Gaussian blur and a down sample, as well as a temporal filtering by a band pass filter matching the expected range of HR estimates (e.g. 90 to 200 bpm12,44,45). The output of this first EVM processing round is a video in which luminosity changes due to HR are enhanced (Fig. 1A).
HR approximation
The ROI pixels with highest frequency power are further extracted, all video colour time series are averaged and a wavelet transform is used to select frequency with highest peak in these selected pixels (Fig. 1B).
HR estimation—step two
In order to obtain a more precise estimate of HR in time, the EVM is run onto the selected ROI-cropped video a second time, and a band pass temporal filtering better matching the individual subject HR range is applied (Fig. 1A). A second HR estimation is run as described in Fig. 1B and the HR approximation paragraph above.
Signal processing
ECG-based HR Inter-peak intervals were extracted from the raw ECG signal and pulse rate were estimated in time by computing a running average over the inter-peak times series (Fig. 2b, averaging window size = 20 s).
EVM-based HR Instantaneous HR estimates are defined as maximal power frequencies at each time step of the wavelet transform. EVM-based HR is estimated in time by computing a running average over the instantaneous HR times series (Fig. 2c, averaging window size = 20 s).
ECG–EVM temporal coherence In order to statistically assess the extent to which ECG-based and EVM-based HR measures co-vary in time, we perform a wavelet coherence analysis that estimates instantaneous coherence in time and for all frequencies of interest (Fig. 3). Reported temporal coherence is the average of maximum temporal coherence in time, across all frequency ranges. The wavelet coherence improves the time–frequency localization of spatial correlation patterns. It is also particularly well suited to non-stationary and noisy physiological data46.
Stimulus triggered changes in EVM-based HR EVM-based HR is estimated for each run and each monkey the pulse rate along the entire recording blocks. HR time series are extracted around the onset of the stimulus of interest (i.e. scream or aggressive face, [− 16 s 16 s]) and realigned to stimulus event presentation (0 s time reference). Individual time series are baseline corrected ([− 13 − 3 s]) and mean + /− s.e. is computed in time. Pre ([− 13 − 3 s]) and post-stimulus ([3 13 s]) HR estimates are compared using a non-parametric Wilcoxon test.
Ethical standards statement
Monkeys
Three rhesus monkeys (Macaca mulatta) participated at this study. They were aged between 9 and 17 years (2 males: monkeys T and S, 1 female: monkey Z). The project was authorized by the French Ministry for Higher Education and Research (Project No. 2016120910476056 and 2015090114042892) in agreement with the French implementation of European Directive 2010/63/UE. This authorization was based on the ethical evaluation by the local Committee on the Ethics of Experiments in Animals (C2EA) CELYNE registered at the national level as C2EA number 42 and the National Ethics of Experiments in Animals board of the French Minsitry of Higher Education, Research and Innovation. All experiments on non-human primates were performed in accordance with relevant guidelines and regulations.
Humans
Two human participants were included in this study and were covered by a broader project authorization (ID RCB 2018-A03438-47). All individual data was anonymized. All human experiments were performed in accordance with relevant guidelines and regulations. All experimental protocols were approved by the CNRS (research institution acting as promotor) and the CPP-Sud-Est (acting as licensing committee). Informed consent was obtained from all participants.
Analysis
All statistical analyses are non-parametric Wilcoxon rank-sum tests that do not assume normally distributed data. This tests the hypothesis according to which the medians of two independent data distributions are close to each other. Such non-parametric statistical tests are usually considered as more stringent then parametric statistical tests. The effect size Cohen's d was calculated by dividing the mean difference between HR before and after the stimulus by the global standard deviation during the run. When the Cohen's d is equal to 0.2, the effect is considered as small effect, 0.5 as medium and 0.8 and more as large.
Results
Comparing EVM-based HR estimation to ground truth ECG
In order to validate the EVM-based HR measure, we compared the inter-pulse signal estimated using the EVM approach (Fig. 1) to ground truth ECG-based inter-pulse estimation. Figure 2A represents a sample of our ground truth recording measure in a human subject, and the corresponding inter-peak estimation (Fig. 2B, gray) and pulse rate running average on a longer recording period (Fig. 2B, black). Figure 2C represents, during the exact same time period, the frequency over time, the EVM-based time frequency output of our EVM processing pipeline (Fig. 1). HR induced rhythmic changes in the recorded video flow are clearly observed in the 70 to 90 Hz frequency range (Fig. 2C, yellow saturation epochs). At each time point, EVM-based instantaneous HR peak frequencies are extracted resulting in an EVM-based pulse rate estimation in time (Fig. 2D, gray, running average, light gray). The ECG-based (Fig. 2E, back) and EVM-based running averages (Fig. 2E, gray) strongly co-vary in time. In order to statistically assess the extent to which ECG-based and EVM-based HR measures co-vary in time, we perform a wavelet coherence analysis that estimates instantaneous coherence in time and for all frequencies of interest (Fig. 2F). This statistics computes, at each time point of the time series, and each frequency, the degree of coherence between the two signals of interest. On this specific recording, average temporal coherence between ECG-based and EVM-based HR estimates is 0.5 (s.d. = 0.22).
Comparing ECG and EVM HR estimates. (A) Raw ECG exemplar sample. (B) ECG inter-peak interval estimate (gray) and pulse rate running average (black) in time. (C) Time frequency spectrogram of EVM processed video data. Highest power frequency band (yellow) corresponds to the HR estimate. (D) EVM peak frequency estimate (gray) and corresponding pulse rate running average (light gray) in time. (E) Overlay of ECG (black) and EVM (light gray) based running average pulse rates estimates in time. (F) Coherence between ECG and EVM HR estimates.
EVM-based HR estimation performs better in monkeys than in humans, whether using color (RGB) or infrared (IR) videos
EVM-based HR estimation has already been validated with human RGB data30. Here, we confirm that HR can be estimated from human RGB (Fig. 3, first column) as well as IR videos (Fig. 3, second column). We further show that EVM-based HR estimation can also be achieved from anesthetized macaque RGB (Fig. 3, third column) as well as IR videos (Fig. 3, fourth column). For each type of video, each column represents ECG-based inter-pulse estimation and corresponding running average (upper row), normalized EVM-based pulse rate power estimation (middle row) and temporal coherence between ECG-based and EVM-based HR estimates (lower row).
Table 1 further summarizes pulse rate statistics for each type of recording. Differences between ECG and EVM-based HR estimations range between 0.07 BPM and 8.28 BPM (mean = 0.85, s.d. = 4.01). Both methods reach very similar signal variability (mean s.d.: ECG: 2.9275; EVM: 2.6575). Average coherence between the two signals is 0.51 (s.d. = 0.08). Importantly, coherence between ECG-based and EVM-based HR estimates tend to be higher in monkeys (mean = 0.5763, s.d. = 0.05) than in humans (mean = 0.4554, s.d. = 0.05, unilateral Wilcoxon, p = 0.06, Effect size: Cohen’s d = 2.418). Overall, this is thus evidence for the fact that EVM can be used to provide a reliable non-invasive measure of HR estimation in the anesthetized preparation.
Effect of ROI selection on EVM-based HR estimation
During the EVM signal analysis, a ROI must be defined in order to optimize HR extraction. This ROI is usually placed in the most luminous part of the video, in order to record the luminosity variabilities as precisely as possible and thus have the best EVM-based HR estimation. (see Fig. 1B). Although coherence between ECG and EVM-based HR estimations is always higher than 0.45, it can reach up to 0.55 when adequately placed on the face. Figure 4A represents the initial video frame recorded in an anesthetized monkey. Figure 4B represents coherence between ECG and EVM-based HR estimations computed over 10 × 10 independent ROIs covering the video frame presented in Fig. 4A. Coherence is overall higher in the glabrous skin parts of the face (eyes and eye lids, snout and mouth), although important variations can still be observed between different parts of this glabrous skin. The skin around the eyes and the snout appear to be most informative in relation with heart-rate extraction. Focusing on the face regions (Fig. 4C) and defining 270 smaller pixels in this region produces local pixels of maximal coherence at the bottom of the snout. However, on average, these smaller voxels do not produce higher coherence between ECG and EVM-based HR estimations than larger voxels as presented in Fig. 4B.
Effect of ROI size and localization on ECG-EVM pulse rate coherence. (A) Reference monkey face on which is superimposed ECG-EVM coherence maximum power based on a 10 × 10 pixel matrix covering the entire face (B) or smaller pixels covering the eyes and muzzle (C). Note that B and C share the same color scale.
EVM-based HR estimation tracks changes in HR in the awake behaving monkey
The main objective of this paper is to provide a non-invasive alternative to ECG and pulse oximeter HR tracking method for monkeys during typical behavioral tasks, with no behavioral training requirements. During such tasks, HR measures have been shown to co-vary with cognitive47,48 or emotional processes13. A non-invasive HR tracking alternative thus needs to be able to track subtle changes in HR while monkeys are actively performing a task. Here, we required two monkeys to maintain eye fixation on a central cross for reward, while stimulating them with either monkey screams (Fig. 5A, auditory negative emotion) or with a static aggressive monkey picture (Fig. 5B, visual negative emotion). Meanwhile, we recorded their faces thanks to an IR video system. The videos were EVM-processed as described in Fig. 1, placing a ROI between the two eyes, at the base of the snout, allowing to obtain an optimal estimate of HR. Then, we synchronized the latter with events, characterized by the sensory stimuli and corrected it with respect to the pre-event baseline (baseline corrected), such thus we could report the HR changes induced by stimulus presentation, irrespective of other possible modulatory effects. Both the monkey screams (Fig. 5A, pre-post comparison, Wilcoxon p = 0.03, Effect size: Cohen’s d = 0.3943) and the aggressive monkey faces (Fig. 5B, p = 0.001, Effect size: Cohen’s d = 2.05) induce a small but systematic change in HR. The onset of these systematic changes are of the order of a few seconds and are compatible with the reported latency of HR changes during emotional processing13.
Discussion
Overall, we demonstrate that EVM combined with wavelet transform analyses allows to reliably extract HR estimates from both RGB and IR videos of both anesthetized and awake macaque monkeys. These HR estimates are directly comparable to ground truth ECG HR estimate, as they have the same temporal stability and show a high temporal coherence with these reference signals. These EVM-based HR estimates also show a higher similarity with ECG in monkeys than in human subjects (max difference in BPM: human: 8.28 BPM; monkeys: 3.91 BPM) probably due to the fact that monkeys were under anaesthesia while human subjects were awake. Irrespective of anaesthesia and quite remarkably, coherence between EVM-based and ECG-based HR estimates tended to be higher when extracted from monkey videos than from humans. While this could still be due to improved stability of the face in the video stream in the anesthetized preparation, it still noteworthy, as human faces have more glabrous as well as a thinner skin, thus allowing for a better capture of superficial vascular changes. In any case, reporting this temporal coherence measure is crucial as it indicates that EVM-based HR estimation is sufficiently sensitive to track actual physiological variation of HR in time. These EVM-based HR estimates compare to those reported in a previous study extracting monkey HR from videos using imaging photoplethysmogram42. Importantly, and in contrast with this previous study, EVM-based HR estimates can be reliably obtained both from RGB and IR videos.
Our present work addresses one crucial aspect of highest relevance to behavioural and cognitive studies in non-human primates, namely HR estimation in awake behaving monkeys. Here, using our EVM-based HR estimation method, we reproduce the observation that emotional sensory stimuli, whether it be auditory or visual, induce HR changes in monkeys13. Reported HR changes can thus be specifically associated to stimulus emotional informational content rather than to visual stimulus presentation. This is an important point as local luminosity changes due to for example visual stimuli presentation have been shown to affect plethysmographic signals49 but not ambient light50. Indeed, HR has been shown to be modulated in a variety of tasks: emotional or valence tasks13,51,52,53, attentional tasks48,54,55,56 as well as learning tasks47. Tracking this physiological parameter non-invasively, is methodologically easier, brings no stress and thus improves animal welfare while experimenting, saves training time and minimizes possible measure biasing factors (for example when animals are training to accept pulse oximetry measures). In addition, HR measure has been shown to covary with pupil dilation, typically controlled by the autonomic nervous system57. Pupil dilation has been shown to vary as a function of reward57,58, surprise59, vigilance for social distractors60, arousal61 and systemic pharmacological neuromodulation5. Last, HR can be a crucial parameter to assess behaviour following a drug induction62 or a lesion15. Overall, this ability to track changes in HR measure in an experimental context, that we demonstrate here, is thus of major implications to behavioural, cognitive and neuroscience experiments in awake macaque monkeys. This method is less expensive and requires no training. It can thus now be recommended and implemented as a control measure in most such awake macaque experiments.
In order to improve HR detection from videos, a recent paper suggests to use neural networks to detect and enhance the ROI from which the signal is extracted63. This technique can be implemented to detect moving animals in open fields or working animals in less restrained environments than ours, provided a high-resolution fast frame rate camera is used. This would be an important add-on to our work as HR and HR variation in monkeys in their home cage, during their time in the experimental setup or in open zoo spaces is considered as a good health state and stress marker12,44,45. For example, Hassimoto et al.64 tracked the first 3 months of acclimation of rhesus monkeys in a new laboratory environment and they demonstrate a decrease of HR following this stressful period64.
In summary, the method we describe here is an easy and reliable non-invasive alternative for HR estimation both in anesthetized and awake monkeys. It has several notable advantages. It is very easy to set up as it only requires a decent recording camera and a computer to implement the processing pipeline. It is stable over time and does not require any specific training from the animal due to its absence of body sensors. It works in a classical behavioural task environment and is resilient to luminosity changes. Its major disadvantage lies in the fact that it doesn’t, as it stands, allow real-time tracking of HR or the tracking of HR in freely moving subjects. Once these two limitations are overcome, the method will be usable during veterinary or health visits whether under sedation or light anaesthesia, under minimal contention condition, or even in home cage or open field environments.
The generalization of this method to experimental and ethology animal facilities can be considered as a contribution to animal welfare. During actual cognitive, behavioural or neuroscience experiments it can be considered as a refinement measure as well as a crucial physiological control parameter to include in the data analyses or in the framework of data sharing consortia65,66. By extension, we expect that this method can also be applied on young infants in neurodevelopment studies, where pulse oximetry HR tracking can turn out to be extremely challenging.
Conclusion
Overall, the non-invasive video-based HR extraction method described here generalizes to experimental situations that have not been addressed by previous studies. First, it successfully extracts non-human primate HR estimates both from RGB videos, as previously achieved by others, as well as from IR videos. Second, we show that this method is very robust to small head movements, successfully tracking HR in the awake behaving monkey. Third, we show that this method is sufficiently sensitive to track HR variations during the exposition of non-human primates to emotional visual and auditory stimuli. It thus represents a non-invasive low cost and easy to implement HR tracking method that can be used in multiple anesthetized and awake monkey behavioural, veterinary and experimental set-ups. Association with automated face detection algorithms is further expected to generalize this method to open-field situations, thus representing a real breakthrough in the study of monkey behaviour and well-being.
References
Bradley, M. M., Sapigao, R. G. & Lang, P. J. Sympathetic ANS modulation of pupil diameter in emotional scene perception: effects of hedonic content, brightness, and contrast. Psychophysiology 54, 1419–1435 (2017).
Bradley, M. M., Miccoli, L., Escrig, M. A. & Lang, P. J. The pupil as a measure of emotional arousal and autonomic activation. Psychophysiology 45, 602–607 (2008).
Henderson, R. R., Bradley, M. M. & Lang, P. J. Emotional imagery and pupil diameter. Psychophysiology 55, e13050 (2018).
Macatee, R. J., Albanese, B. J., Schmidt, N. B. & Cougle, J. R. The moderating influence of heart rate variability on stressor-elicited change in pupillary and attentional indices of emotional processing: An eye-Tracking study. Biol. Psychol. 123, 83–93 (2017).
Reynaud, A. J. et al. Atomoxetine improves attentional orienting in a predictive context. Neuropharmacology 150, 59–69 (2019).
Nakasone, A., Prendinger, H. & Ishizuka, M. Emotion recognition from electromyography and skin conductance. In Proc. of the 5th international workshop on biosignal interpretation. 2005, 219–222 (2005).
Ballesta, S., Mosher, C. P., Szep, J., Fischl, K. D. & Gothard, K. M. Social determinants of eyeblinks in adult male macaques. Sci. Rep. 6, 1–8 (2016).
Cléry, J. et al. The prediction of impact of a looming stimulus onto the body is subserved by multisensory integration mechanisms. J. Neurosci. 37, 10656–10670 (2017).
Guipponi, O., Odouard, S., Pinède, S., Wardak, C. & Ben Hamed, S. fMRI cortical correlates of spontaneous eye blinks in the nonhuman primate. Cereb. Cortex 25, 2333–2345 (2015).
Kuraoka, K. & Nakamura, K. The use of nasal skin temperature measurements in studying emotion in macaque monkeys. Physiol. Behav. 102, 347–355 (2011).
Hassimoto, M., Harada, T., Kaga, N., Murano, H. & Obata, M. Accurate evaluation of QT interval in conscious rhesus monkeys (Macaca mulatta) by use of Holter ECG. J. Electrocardiol. 35, 333–342 (2002).
Grandi, L. C. & Ishida, H. The physiological effect of human grooming on the heart rate and the heart rate variability of laboratory non-human primates: a pilot study in male rhesus monkeys. Front. Vet. Sci. 2, 50 (2015).
Bliss-Moreau, E., Machado, C. J. & Amaral, D. G. Macaque cardiac physiology is sensitive to the valence of passively viewed sensory stimuli. PLoS ONE 8, e71170 (2013).
Uchiyama, H., Ohtani, N. & Ohta, M. The evaluation of autonomic nervous system activation during learning in rhesus macaques with the analysis of the heart rate variability. J. Vet. Med. Sci. 69, 521–526 (2007).
Mitz, A. R., Chacko, R. V., Putnam, P. T., Rudebeck, P. H. & Murray, E. A. Using pupil size and heart rate to infer affective states during behavioral neurophysiology and neuropsychology experiments. J. Neurosci. Methods 279, 1–12 (2017).
Challoner, A. V. & Ramsay, C. A. A photoelectric plethysmograph for the measurement of cutaneous blood flow. Phys. Med. Biol. 19, 317–328 (1974).
Kamal, A. A., Harness, J. B., Irving, G. & Mearns, A. J. Skin photoplethysmography—a review. Comput. Methods Progr. Biomed. 28, 257–269 (1989).
Huss, M. K., Ikeno, F., Buckmaster, C. L. & Albertelli, M. A. Echocardiographic and electrocardiographic characteristics of male and female squirrel monkeys (Saimiri spp.). J. Am. Assoc. Lab. Anim. Sci. JAALAS 54, 25–28 (2015).
Yamaoka, A., Koie, H., SatoK Kanayama, T. & Taira, M. Standard electrocardiographic data of young Japanese monkeys (Macaca fusucata). J. Am. Assoc. Lab. Anim. Sci. JAALAS 52, 491–494 (2013).
Sun, X. et al. Decreases in electrocardiographic R-wave amplitude and QT interval predict myocardial ischemic infarction in rhesus monkeys with left anterior descending artery ligation. PLoS ONE 8, e71876 (2013).
Hoffmann, P. et al. Vascular origin of vildagliptin-induced skin effects in Cynomolgus monkeys: pathomechanistic role of peripheral sympathetic system and neuropeptide Y. Toxicol. Pathol. 42, 684–695 (2014).
Chui, R. W., Derakhchan, K. & Vargas, H. M. Comprehensive analysis of cardiac arrhythmias in telemetered cynomolgus monkeys over a 6 month period. J. Pharmacol. Toxicol. Methods 66, 84–91 (2012).
Derakhchan, K., Chui, R. W., Stevens, D., Gu, W. & Vargas, H. M. Detection of QTc interval prolongation using jacket telemetry in conscious non-human primates: comparison with implanted telemetry. Br. J. Pharmacol. 171, 509–522 (2014).
Kremer, J. J. et al. Comparison of ECG signals and arrhythmia detection using jacketed external telemetry and implanted telemetry in monkeys. J. Pharmacol. Toxicol. Methods 1, e47 (2011).
Brüser, C., Stadlthanner, K., de Waele, S. & Leonhardt, S. Adaptive beat-to-beat heart rate estimation in ballistocardiograms. IEEE Trans. Inf. Technol. Biomed. Publ. IEEE Eng. Med. Biol. Soc. 15, 778–786 (2011).
Bruser, C., Stadlthanner, K., Brauers, A. & Leonhardt, S. Applying machine learning to detect individual heart beats in ballistocardiograms. Conf. Proc. Annu. Int. Conf. IEEE Eng. Med. Biol. Soc. IEEE Eng. Med. Biol. Soc. Annu. Conf. 2010, 1926–1929 (2010).
Choe, S. -T. & Cho, W. -D. Simplified real-time heartbeat detection in ballistocardiography using a dispersion-maximum method. (2017).
Madan, C. R., Harrison, T. & Mathewson, K. E. Noncontact measurement of emotional and physiological changes in heart rate from a webcam. Psychophysiology 55, e13005 (2018).
Alghoul, K., Alharthi, S., Osman, H. A. & Saddik, A. E. Heart rate variability extraction from videos signals: ICA vs. EVM comparison. IEEE Access 5, 4711–4719 (2017).
WuHao-Yu, et al. Eulerian video magnification for revealing subtle changes in the world (ACM Trans. Graph, TOG, 2012).
Huelsbusch, M. & Blazek, V. Contactless mapping of rhythmical phenomena in tissue perfusion using PPGI. In Medical Imaging 2002: Physiology and Function from Multidimensional Images vol. 4683 110–117 (International Society for Optics and Photonics, 2002).
Takano, C. & Ohta, Y. Heart rate measurement based on a time-lapse image. Med. Eng. Phys. 29, 853–857 (2007).
Verkruysse, W., Svaasand, L. O. & Nelson, J. S. Remote plethysmographic imaging using ambient light. Opt. Express 16, 21434–21445 (2008).
Tsumura, N. et al. Image-based skin color and texture analysis/synthesis by extracting hemoglobin and melanin information in the skin. In ACM SIGGRAPH 2003 Papers 770–779 (ACM, 2003).
Jakovels, D., Kuzmina, I., Berzina, A. & Spigulis, J. RGB imaging system for monitoring of skin vascular malformation’s laser therapy. In Biophotonics: Photonic Solutions for Better Health Care III vol. 8427 842737 (International Society for Optics and Photonics, 2012).
Jakovels, D., Kuzmina, I., Berzina, A., Valeine, L. & Spigulis, J. Noncontact monitoring of vascular lesion phototherapy efficiency by RGB multispectral imaging. J. Biomed. Opt. 18, 126019 (2013).
Anderson, R. R. & Parrish, J. A. The optics of human skin. J. Invest. Dermatol. 77, 13–19 (1981).
Angelopoulou, E. Understanding the color of human skin. In Human Vision and Electronic Imaging VI vol. 4299 243–251 (International Society for Optics and Photonics, 2001).
Poh, M.-Z., McDuff, D. J. & Picard, R. W. Non-contact, automated cardiac pulse measurements using video imaging and blind source separation. Opt. Express 18, 10762–10774 (2010).
Poh, M.-Z., McDuff, D. J. & Picard, R. W. Advancements in noncontact, multiparameter physiological measurements using a webcam. IEEE Trans. Biomed. Eng. 58, 7–11 (2011).
Kwon, S., Kim, H. & Park, K. S. Validation of heart rate extraction using video imaging on a built-in camera system of a smartphone. In 2012 Annual International Conference of the IEEE Engineering in Medicine and Biology Society 2174–2177 (2012). https://doi.org/10.1109/EMBC.2012.6346392.
Unakafov, A. M. et al. Using imaging photoplethysmography for heart rate estimation in non-human primates. PLoS ONE 13, e0202581 (2018).
Bousefsaf, F., Maaoui, C. & Pruski, A. Continuous wavelet filtering on webcam photoplethysmographic signals to remotely assess the instantaneous heart rate. Biomed. Signal Process. Control 8, 568–574 (2013).
Tatsumi, T., Koto, M., Komatsu, H. & Adachi, J. Effects of repeated chair restraint on physiological values in the rhesus monkey (Macaca mulatta). Jikken Dobutsu 39, 361–369 (1990).
Clarke, A. S., Mason, W. A. & Mendoza, S. P. Heart rate patterns under stress in three species of macaques. Am. J. Primatol. 33, 133–148 (1994).
Chavez, M. & Cazelles, B. Detecting dynamic spatial correlation patterns with generalized wavelet coherence and non-stationary surrogate data. Sci. Rep. 9, 7389 (2019).
Zeki Al Hazzouri, A., Haan Mary, N., Deng, Y., Neuhaus, J. & Yaffe, K. Reduced heart rate variability is associated with worse cognitive performance in elderly Mexican Americans. Hypertension 63, 181–187 (2014).
Siennicka, A. et al. Resting heart rate variability, attention and attention maintenance in young adults. Int. J. Psychophysiol. 143, 126–131 (2019).
Lewandowska, M., Rumiński, J., Kocejko, T. & Nowak, J. Measuring pulse rate with a webcam—a non-contact method for evaluating cardiac activity. In 2011 Federated Conference on Computer Science and Information Systems (FedCSIS) 405–410 (2011).
Sun, Y. et al. Use of ambient light in remote photoplethysmographic systems: comparison between a high-performance camera and a low-cost webcam. J. Biomed. Opt. 17, 037005 (2012).
Kreibig, S. D. Autonomic nervous system activity in emotion: a review. Biol. Psychol. 84, 394–421 (2010).
Bauer, R. M. Physiologic measures of emotion. J. Clin. Neurophysiol. Off. Publ. Am. Electroencephalogr. Soc. 15, 388–396 (1998).
Lang, P. J. The emotion probe: studies of motivation and attention. Am. Psychol. 50, 372–385 (1995).
Petrie Thomas, J. H., Whitfield, M. F., Oberlander, T. F., Synnes, A. R. & Grunau, R. E. Focused attention, heart rate deceleration, and cognitive development in preterm and full-term infants. Dev. Psychobiol. 54, 383–400 (2012).
Gazzellini, S. et al. Association between attention and heart rate fluctuations in pathological worriers. Front. Hum. Neurosci. 10, 648 (2016).
Duschek, S., Muckenthaler, M., Werner, N. & del Paso, G. A. R. Relationships between features of autonomic cardiovascular control and cognitive performance. Biol. Psychol. 81, 110–117 (2009).
Varazzani, C., San-Galli, A., Gilardeau, S. & Bouret, S. Noradrenaline and dopamine neurons in the reward/effort trade-off: a direct electrophysiological comparison in behaving monkeys. J. Neurosci. Off. J. Soc. Neurosci. 35, 7866–7877 (2015).
Satterthwaite, T. D. et al. Dissociable but inter-related systems of cognitive control and reward during decision making: evidence from pupillometry and event-related fMRI. NeuroImage 37, 1017–1031 (2007).
Lavin, C., San Martín, R. & Rosales Jubal, E. Pupil dilation signals uncertainty and surprise in a learning gambling task. Front. Behav. Neurosci. 7, 218 (2014).
Ebitz, R. B., Pearson, J. M. & Platt, M. L. Pupil size and social vigilance in rhesus macaques. Front. Neurosci. 8, 100 (2014).
Kennerley, S. W. & Wallis, J. D. Reward-dependent modulation of working memory in lateral prefrontal cortex. J. Neurosci. 29, 3259–3270 (2009).
Bloch, S., Pragay, E. B. & Mirsky, A. F. Heart rate and respiratory rate changes during drug-induced impairment in a conditioned avoidance task in monkeys. Pharmacol. Biochem. Behav. 1, 29–34 (1973).
Pursche, T., Clauß, R., Tibken, B. & Möller, R. Using neural networks to enhance the quality of ROIs for video based remote heart rate measurement from human faces. In 2019 IEEE International Conference on Consumer Electronics (ICCE) 1–5 (2019).
Hassimoto, M., Harada, T. & Harada, T. Changes in hematology, biochemical values, and restraint ECG of rhesus monkeys (Macaca mulatta) following 6-month laboratory acclimation. J. Med. Primatol. 33, 175–186 (2004).
Milham, M. P. et al. An open resource for non-human primate imaging. Neuron 100, 61-74.e2 (2018).
Margulies, D. S. et al. Accelerating the evolution of nonhuman primate neuroimaging. Neuron 105, 600–603 (2020).
Funding
This work was funded by the French National Research Agency (ANR) ANR-16-CE37-0009-01 Grant.
Author information
Authors and Affiliations
Contributions
Conceptualization, S.B.H. M.F. and Q.G.; Stimuli preparation, M.H., M.F, Q.G, M.G; Data Acquisition, M.F. Q.G. M.G.; Methodology, Q.G., M.F. and S.B.H; Investigation, M.F., Q.G. and S.B.H.; Writing–Original Draft, M.F, S.B.H. and Q.G; Writing–Review and Editing, S.B.H., M.F., Q.G; Funding Acquisition, S.B.H.; Supervision, S.B.H.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Froesel, M., Goudard, Q., Hauser, M. et al. Automated video-based heart rate tracking for the anesthetized and behaving monkey. Sci Rep 10, 17940 (2020). https://doi.org/10.1038/s41598-020-74954-5
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-020-74954-5
- Springer Nature Limited
This article is cited by
-
Contactless vital signs monitoring in macaques using a mm-wave FMCW radar
Scientific Reports (2024)
-
Non-invasive measurements of respiration and heart rate across wildlife species using Eulerian Video Magnification of infrared thermal imagery
BMC Biology (2023)
-
A novel method for automatically analysing the activity of fast-moving animals: a case study of Callimico goeldii monkeys housed in a zoological garden
Scientific Reports (2023)
-
Socially meaningful visual context either enhances or inhibits vocalisation processing in the macaque brain
Nature Communications (2022)