Submitted:
30 May 2023
Posted:
31 May 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods

2.1. Segmentation

2.2. Preprocessing and Signal Extraction
2.3. RR-Computation
2.4. ECG Analysis and ECG-Derived-Respiration
3. Experimental Protocol
- Day 1: One video recording was done for establishing a baseline and let the rats acclimate to the environment. For this recording no ECG was recorded.
- Day 2: Surgery day where the EEG- and ECG-transponder were implanted. Two recordings with all three rats were carried out: the first directly after the surgical procedure and the second approximately two hours later.
- Days 3 to 5 followed a similar schedule, with recordings starting at 9 am, 11 am, 1 pm, and 3 pm. On day 5 only the two first video acquisitions were made.
4. Results
4.1. Reference Respiratory Rate
4.2. Segmentation
4.3. Respiratory Rate
5. Discussion
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Data Availability Statement
Conflicts of Interest
Appendix A
| Parameter | Value | Description |
| INPUT.MIN SIZE TRAIN | (480,512,544,576,608,640) | Size of short edge for rescale |
| INPUT.MIN SIZE TEST | (480) | Size of short edge for Rescale |
| SOLVER.IMS PER BATCH | 8 | Batch size |
| SOLVER.BASE LR | 0.0001 | Learning rate |
| SOLVER.MAX ITER | 100,000 | Number of training iterations |
| MODEL.ROI HEADS.BATCH SIZE PER IMAGE | 128 | Number of regions of interest heads |
| MODEL.SEM SEG HEAD.LOSS WEIGHT | 2 | Weight for segmentation loss |
| MODEL.ROI HEADS.NUM CLASSES | 1 | number of classes |
Appendix B
| Augmentation | |
| 1. | RandomBrightness(intensity min = 0.5, intensity max = 2) |
| 2. | RandomContrast(intensity min = 0.5, intensity max = 2) |
| 3. | RandomSaturation(intensity min = 0.5, intensity max = 2) |
| 4. | RandomFlip(prob=0.5) |
| 5. | RandomFlip(prob=0.5, horizontal=False, vertical=True) |
| 6. | RandomExtent(scale range = (0.8,1.2), shift range = (0.05,0.05)) |
| 7. | RandomRotation(expand=False, angle=[-15,15], interp=BILINEAR) |
| 8. | ResizeShortestEdge(short edge length= INPUT.MIN SIZE TRAIN, sample style=’choice’, max size=1368) |
References
- N. H. Franco, “Animal experiments in biomedical research: A historical perspective”, Animals 3(1), 238–273 (2013). [CrossRef]
- E. Parliament, “Directive 2010/63/EU of the European parliament and of the council of 22 September 2010 on the protection of animals used for scientific purposes”, Official Journal of the European Union (2010).
- W. M. S. Russell and R. L. Burch, “The principles of humane experimental technique”, Methuen (1959).
- European Commission, “2019 report on the statistics on the use of animals for scientific purposes in the Member States of the European Union in 2015-2017”, Report from the Commission to the European Parliament and the Council (2019).
- E. C. Bryda, “The mighty mouse: the impact of rodents on advances in biomedical research”, Missouri medicine 110(3), 207 (2013).
- N. Cesarovic, P. Jirkof, A. Rettich, et al., “Implantation of radiotelemetry transmitters yielding data on ecg, heart rate, core body temperature and activity in free-moving laboratory mice”, JoVE (Journal of Visualized Experiments) (57), e3260 (2011). [CrossRef]
- V. A. Braga, M. A. Burmeister, “Applications of telemetry in small laboratory animals for studying cardiovascular diseases”, Modern Telemetry, 183 –196 1 ed. InTech, Rijeka, Croatia (2011). [CrossRef]
- J. Kunczik, C. B. Pereira, L. Zieglowski, et al., “Remote vitals monitoring in rodents using video recordings”, Biomedical optics express 10(9), 4422–4436 (2019). [CrossRef]
- M. Kumar, A. Veeraraghavan, and A. Sabharwal, “DistancePPG: Robust non-contact vital signs monitoring using a camera”, Biomed. Opt. Express 6, 1565–1588 (2015). [CrossRef]
- M. Takahashi, T. Yamaguchi, R. Takahashi, et al., “Non-contact measurement of pulse wave in rats using an RGB camera”, Optical Diagnostics and Sensing XXI: Toward Point-of-Care Diagnostics, 11651, 46–53, SPIE (2021). [CrossRef]
- Y. Wu, A. Kirillov, F. Massa, et al., “Detectron2” (2019). https://github.com/facebookresearch/detectron2.
- T.-Y. Lin, M. Maire, S. Belongie, et al., “Microsoft coco: Common objects in context”, (2015). [CrossRef]
- Ewa M. Nowara, Tim K. Marks, Hassan Mansour, Ashok Veeraraghavan, “Near-Infrared Imaging Photoplethysmography During Driving”, IEEE Transactions on Intelligent Transportation Systems, p. 1-12 (2020). [CrossRef]
- D. Khodadad, et al., “Optimized breath detection algorithm in electrical impedance tomography “, Physiological measurement, Vol. 39, No. 9 (2018). [CrossRef]
- J. Pan and W. J. Tompkins, “A real-time QRS detection algorithm”, IEEE transactions on biomedical engineering (3), 230–236 (1985). [CrossRef]
- N. Vuong, T. Nguyen, L. Duc Tran, et al., “Detect QRS complex in ECG”, in 2017 12th IEEE Conference on Industrial Electronics and Applications (ICIEA), 2022–2027 (2017). [CrossRef]
- V. Kalidas and L. Tamil, “Real-time QRS detector using stationary wavelet transform for automated ECG analysis”, 2017 IEEE 17th international conference on Bioinformatics and Bioengineering (BIBE), 457–461, IEEE (2017). [CrossRef]
- T. Koka and M. Muma, “Fast and Sample Accurate R-Peak Detection for Noisy ECG Using Visibility Graphs”, 2022 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), 121–126, IEEE (2022). [CrossRef]
- D. Makowski, T. Pham, Z. J. Lau, et al., “NeuroKit2: A python toolbox for neurophysiological signal processing”, Behavior Research Methods 53, 1689–1696 (2021). [CrossRef]
- S. Sarkar, S. Bhattacherjee, and S. Pal, “Extraction of respiration signal from ECG for respiratory rate estimation”, (2015). [CrossRef]
- P. H. Charlton, T. Bonnici, L. Tarassenko, et al., “An assessment of algorithms to estimate respiratory rate from the electrocardiogram and photoplethysmogram”, Physiological measurement 37(4), 610 (2016). [CrossRef]
- P. van Gent, H. Farah, N. van Nes, et al., “Heartpy: A novel heart rate algorithm for the analysis of noisy signals”, Transportation Research Part F: Traffic Psychology and Behaviour 66, 368–378 (2019). [CrossRef]
- S. Kontaxis, J. Lazaro, V. D. Corino, et al., “ECG-derived respiratory rate in atrial fibrillation”, IEEE Transactions on Biomedical Engineering 67(3), 905–914 (2019). [CrossRef]
- P. Langley, E. J. Bowers, and A. Murray, “Principal component analysis as a tool for analyzing beat-to-beat changes in ECG features: application to ECG-derived respiration”, IEEE transactions on biomedical engineering 57(4), 821–829 (2009). [CrossRef]
- Seiffert, et al., “Toward evidence-based severity assessment in rat models with repeated seizures: III. Electrical post-status epilepticus model”, Epilepsia, Vol. 60, 1539-1551 (2019). [CrossRef]
- C. Varon, J. Morales, J. Lazaro, et al., “A Comparative Study of ECG-derived Respiration in Ambulatory Monitoring using the Single-lead ECG”, Scientific reports 10(1), 1–14 (2020). [CrossRef]
- G. Wang, Y. Zhang, H. Yang, et al., “Fast-response humidity sensor based on laser printing for respiration monitoring”, RSC advances 10(15), 8910–8916 (2020). [CrossRef]
- Y. Guan, X. Le, M. Hu, et al., “A noninvasive method for monitoring respiratory rate of rats based on a microcantilever resonant humidity sensor,” Journal of Micromechanics and Microengineering 29, 125001 (2019). [CrossRef]
- J. Esquivelzeta Rabell, K. Mutlu, J. Noutel, et al., “Spontaneous rapid odor source localization behavior requires interhemispheric communication”, Current Biology 27(10), 1542– 1548.e4 (2017). [CrossRef]
- Kurnikova, J. D. Moore, S.-M. Liao, et al., “Coordination of orofacial motor actions into exploratory behavior by rat”, Current Biology 27(5), 688–696 (2017). [CrossRef]
- L. Anishchenko and E. Gaysina, “Comparison of 4 GHz and 14 GHz SFCW radars in measuring of small laboratory animals vital signs”, 2015 IEEE International Conference on Microwaves, Communications, Antennas and Electronic Systems (COMCAS), 1–3 (2015). [CrossRef]










| Day | MT | Rat-ID | Mean EDR [breaths/min] |
Mean RRcam [breaths/min] |
Rel. Error [%] |
Abs. Error [breaths/min] |
|
|---|---|---|---|---|---|---|---|
| Day 2 | MT3 | R1 | 96.28 | 99.56 | 3.41 | 3.28 | |
| R2 | 79.08 | 98.63 | 24.72 | 19.55 | |||
| R3 | 91.34 | 103.23 | 13.02 | 11.89 | |||
| MT4 | R1 | 94.05 | 80.29 | 14.63 | 13.76 | ||
| R2 | 85.55 | 97.73 | 14.24 | 12.18 | |||
| R3 | 94.97 | 96.83 | 1.96 | 1.86 | |||
| Day 3 | MT1 | R1 | 94.61 | 92.88 | 1.83 | 1.73 | |
| R2 | 90.69 | 82.72 | 8.79 | 7.97 | |||
| R3 | 89.70 | 91.45 | 1.95 | 1.75 | |||
| MT2 | R1 | 96.28 | 91.64 | 4.82 | 4.64 | ||
| R2 | 93.45 | 90.37 | 3.30 | 3.08 | |||
| R3 | 89.27 | 87.77 | 1.68 | 1.5 | |||
| MT3 | R1 | 98.73 | 99,01 | 0.28 | 0.28 | ||
| R2 | 96.32 | 103.9 | 7.87 | 7.58 | |||
| R3 | 90.27 | 91.15 | 0.97 | 0.88 | |||
| MT4 | R1 | 98.87 | 89.18 | 9.80 | 9.69 | ||
| R2 | 92.41 | 88.86 | 3.84 | 3.55 | |||
| R3 | 90.60 | 95.97 | 5.93 | 5.37 | |||
| Day 4 | MT1 | R1 | 97.40 | 90.03 | 7.57 | 7.37 | |
| R2 | 89.8 | 87.75 | 2.33 | 2.09 | |||
| R3 | 90.34 | 98.22 | 8.72 | 7.88 | |||
| MT2 | R1 | 92.79 | 92.75 | 0.04 | 0.04 | ||
| R2 | 92.74 | 91.49 | 1.35 | 1.25 | |||
| R3 | 90.55 | 92.68 | 2.35 | 2.13 | |||
| MT3 | R1 | 97.29 | 97.04 | 0.26 | 0.25 | ||
| R2 | 84.8 | 93.48 | 10.24 | 8.68 | |||
| R3 | 91.48 | 97.03 | 6.07 | 5.55 | |||
| MT4 | R1 | 89.24 | 88.32 | 1.03 | 0.92 | ||
| R2 | 89.74 | 87.41 | 2.60 | 2.33 | |||
| R3 | 87.79 | 93.49 | 6.49 | 5.7 | |||
| Day 5 | MT1 | R1 | 98.03 | 93.67 | 4.45 | 4.36 | |
| R2 | 93.69 | 86.25 | 7.94 | 7.44 | |||
| R3 | 93.89 | 98.2 | 4.59 | 4.31 | |||
| MT2 | R1 | 93.86 | 91.41 | 2.61 | 2.45 | ||
| R2 | 85.3 | 86.09 | 0.93 | 0.79 | |||
| R3 | 93.95 | 89.95 | 4.26 | 4 | |||
| Ø | 92.09 | 92.67 | 5.47 | 4.94 |
| Rat-ID | N | IoU-Box [%] | IoU-Mask [%] | Certainty-Score [%] |
|---|---|---|---|---|
| R1 | 637 | 82.27 ± 7.73 | 86.86 ± 6.18 | 99.84 ± 0.40 |
| R2 | 654 | 82.85 ± 6.01 | 88.28 ± 4.61 | 99.90 ± 0.26 |
| R3 | 659 | 82.42 ± 6.37 | 88.09 ± 4.39 | 99.80 ± 1.69 |
| Ø | 650 | 82.52 ± 6.69 | 87.75 ± 5.04 | 99.85 ± 0.79 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).