{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,4]],"date-time":"2026-03-04T07:49:40Z","timestamp":1772610580784,"version":"3.50.1"},"reference-count":33,"publisher":"MDPI AG","issue":"12","license":[{"start":{"date-parts":[[2021,6,10]],"date-time":"2021-06-10T00:00:00Z","timestamp":1623283200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>An annotated photoplethysmogram (PPG) is required when evaluating PPG algorithms that have been developed to detect the onset and systolic peaks of PPG waveforms. However, few publicly accessible PPG datasets exist in which the onset and systolic peaks of the waveforms are annotated. Therefore, this study developed a MATLAB toolbox that stitches predetermined annotated PPGs in a random manner to generate a long, annotated PPG signal. With this toolbox, any combination of four annotated PPG templates that represent regular, irregular, fast rhythm, and noisy PPG waveforms can be stitched together to generate a long, annotated PPG. Furthermore, this toolbox can simulate real-life PPG signals by introducing different noise levels and PPG waveforms. The toolbox can implement two stitching methods: one based on the systolic peak and the other on the onset. Additionally, cubic spline interpolation is used to smooth the waveform around the stitching point, and a skewness index is used as a signal quality index to select the final signal output based on the stitching method used. The developed toolbox is free and open-source software, and a graphical user interface is provided. The method of synthesizing by stitching introduced in this paper is a data augmentation strategy that can help researchers significantly increase the size and diversity of annotated PPG signals available for training and testing different feature extraction algorithms.<\/jats:p>","DOI":"10.3390\/s21124007","type":"journal-article","created":{"date-parts":[[2021,6,10]],"date-time":"2021-06-10T21:34:38Z","timestamp":1623360878000},"page":"4007","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":6,"title":["PPGTempStitch: A MATLAB Toolbox for Augmenting Annotated Photoplethsmogram Signals"],"prefix":"10.3390","volume":"21","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-5828-1509","authenticated-orcid":false,"given":"Qunfeng","family":"Tang","sequence":"first","affiliation":[{"name":"School of Electronic Engineering and Automation, Guilin University of Electronic Technology, Guilin 541004, China"},{"name":"Department of Electrical and Computer Engineering, University of British Columbia, Vancouver, BC V6T 1Z4, Canada"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Zhencheng","family":"Chen","sequence":"additional","affiliation":[{"name":"School of Electronic Engineering and Automation, Guilin University of Electronic Technology, Guilin 541004, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2309-9977","authenticated-orcid":false,"given":"Carlo","family":"Menon","sequence":"additional","affiliation":[{"name":"Biomedical and Mobile Health Technology Laboratory, Department of Health Sciences and Technology, ETH Zurich, 8008 Zurich, Switzerland"},{"name":"School of Mechatronic Systems Engineering, Simon Fraser University, Surrey, BC V3T 0A3, Canada"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2471-1902","authenticated-orcid":false,"given":"Rabab","family":"Ward","sequence":"additional","affiliation":[{"name":"Department of Electrical and Computer Engineering, University of British Columbia, Vancouver, BC V6T 1Z4, Canada"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Mohamed","family":"Elgendi","sequence":"additional","affiliation":[{"name":"Department of Electrical and Computer Engineering, University of British Columbia, Vancouver, BC V6T 1Z4, Canada"},{"name":"School of Mechatronic Systems Engineering, Simon Fraser University, Surrey, BC V3T 0A3, Canada"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2021,6,10]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"23","DOI":"10.1186\/s12938-017-0317-z","article-title":"Highly wearable cuff-less blood pressure and heart rate monitoring with single-arm electrocardiogram and photoplethysmogram signals","volume":"16","author":"Zhang","year":"2017","journal-title":"Biomed. Eng. Online"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"R1","DOI":"10.1088\/0967-3334\/28\/3\/R01","article-title":"Photoplethysmography and its application in clinical physiological measurement","volume":"28","author":"Allen","year":"2007","journal-title":"Physiol. Meas."},{"key":"ref_3","first-page":"1","article-title":"Differential effects of the blood pressure state on pulse rate variability and heart rate variability in critically ill patients","volume":"4","author":"May","year":"2021","journal-title":"NPJ Digit. Med."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"89","DOI":"10.1016\/j.bspc.2015.03.008","article-title":"A new signal decomposition to estimate breathing rate and heart rate from photoplethysmography signal","volume":"19","author":"Li","year":"2015","journal-title":"Biomed. Signal Process. Control"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"S31","DOI":"10.1213\/01.ane.0000269512.82836.c9","article-title":"Photoplethysmography: Beyond the calculation of arterial oxygen saturation and heart rate","volume":"105","author":"Shelley","year":"2007","journal-title":"Anesth. Analg."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Pirhonen, M., Peltokangas, M., and Vehkaoja, A. (2018). Acquiring respiration rate from photoplethysmographic signal by recursive Bayesian tracking of intrinsic modes in time-frequency spectra. Sensors, 18.","DOI":"10.3390\/s18061693"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"1514","DOI":"10.1109\/TBME.2018.2874957","article-title":"Multi-wavelength photoplethysmography enabling continuous blood pressure measurement with compact wearable electronics","volume":"66","author":"Liu","year":"2019","journal-title":"IEEE Trans. Biomed. Eng."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"60","DOI":"10.1038\/s41746-019-0136-7","article-title":"The use of photoplethysmography for assessing hypertension","volume":"2","author":"Elgendi","year":"2019","journal-title":"NPJ Digit. Med."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Perpetuini, D., Chiarelli, A.M., Cardone, D., Rinella, S., Massimino, S., Bianco, F., Bucciarelli, V., Vinciguerra, V., Fallica, G., and Perciavalle, V. (2020). Photoplethysmographic prediction of the Ankle-Brachial pressure index through a machine learning approach. Appl. Sci., 10.","DOI":"10.3390\/app10062137"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"266","DOI":"10.2478\/v10048-012-0036-3","article-title":"I; Ali, M.A.M. The analysis of PPG morphology: Investigating the effects of aging on arterial compliance","volume":"12","author":"Yousef","year":"2012","journal-title":"Meas. Sci. Rev."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"19756","DOI":"10.1038\/s41598-020-76816-6","article-title":"Prediction of vascular aging based on smartphone acquired PPG signals","volume":"10","author":"Curti","year":"2020","journal-title":"Sci. Rep."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Chen, X., Chen, T., Luo, F., and Li, J. (2013, January 16\u201318). Comparison of valley-to-valley and peak-to-peak intervals from photoplethysmographic signals to obtain heart rate variability in the sitting position. Proceedings of the 2013 6th International Conference on Biomedical Engineering and Informatics, Hangzhou, China.","DOI":"10.1109\/BMEI.2013.6746936"},{"key":"ref_13","first-page":"657","article-title":"A Database to support development and evaluation of intelligent intensive care monitoring","volume":"23","author":"Moody","year":"1996","journal-title":"Comput. Cardiol."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"1946","DOI":"10.1109\/TBME.2013.2246160","article-title":"Multiparameter respiratory rate estimation from the photoplethysmogram","volume":"60","author":"Karlen","year":"2013","journal-title":"IEEE Trans. Biomed. Eng."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Rundo, F., Conoci, S., Ortis, A., and Battiato, S. (2018). An advanced bio-inspired photoplethysmography (PPG) and ECG pattern recognition system for medical assessment. Sensors, 18.","DOI":"10.3390\/s18020405"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"2432","DOI":"10.1109\/TBME.2013.2257770","article-title":"Stochastic modeling of the PPG signal: A synthesis-by-analysis approach with applications","volume":"60","year":"2013","journal-title":"IEEE Trans. Biomed. Eng."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"130","DOI":"10.1016\/j.compbiomed.2016.12.016","article-title":"Modeling of the photoplethysmogram during atrial fibrillation","volume":"81","author":"Solosenko","year":"2017","journal-title":"Comput. Biol. Med."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"597774","DOI":"10.3389\/fmed.2020.597774","article-title":"PPGSynth: An innovative toolbox for synthesizing regular and irregular photoplethysmography waveforms","volume":"7","author":"Tang","year":"2020","journal-title":"Front. Med."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"13883","DOI":"10.1038\/s41598-020-69076-x","article-title":"Synthetic photoplethysmogram generation using two Gaussian functions","volume":"10","author":"Tang","year":"2020","journal-title":"Sci. Rep."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"59","DOI":"10.1007\/s11263-006-0002-3","article-title":"Automatic panoramic image stitching using invariant features","volume":"74","author":"Brown","year":"2007","journal-title":"Int. J. Comput. Vis."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"1672","DOI":"10.1109\/TMM.2017.2777461","article-title":"Parallax-tolerant image stitching based on robust elastic warping","volume":"20","author":"Li","year":"2018","journal-title":"IEEE Trans. Multimed."},{"key":"ref_22","unstructured":"(2015). Kyal,S.; Mestha, L.K.; Xu, B. Continuous Cardiac Pulse Rate Estimation from Multi-Channel Source Video Data with Mid-Point Stitching. (9,036,877), U.S. Patent."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Elgendi, M. (2016). Optimal signal quality index for photoplethysmogram signals. Bioengineering, 3.","DOI":"10.3390\/bioengineering3040021"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"325","DOI":"10.2307\/2006241","article-title":"A Practical guide to splines","volume":"34","year":"1980","journal-title":"Math. Comput."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"60","DOI":"10.1186\/s40537-019-0197-0","article-title":"A survey on image data augmentation for deep learning","volume":"6","author":"Shorten","year":"2019","journal-title":"J. Big Data"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"807","DOI":"10.1109\/TIM.2018.2857878","article-title":"A robust pulse onset and peak detection method for automated PPG signal analysis system","volume":"68","author":"Vadrevu","year":"2019","journal-title":"IEEE Trans. Instrum. Meas."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"14","DOI":"10.2174\/157340312801215782","article-title":"On the analysis of fingertip photoplethysmogram signals","volume":"8","author":"Elgendi","year":"2012","journal-title":"Curr. Cardiol. Rev."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Chakraborty, A., Sadhukhan, D., and Mitra, M. (2020, January 28\u201329). A robust PPG onset and systolic peak detection algorithm based on Hilbert transform. Proceedings of the 2020 IEEE Calcutta Conference (CALCON), Kolkata, India.","DOI":"10.1109\/CALCON49167.2020.9106571"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"78","DOI":"10.1016\/j.bspc.2015.04.009","article-title":"Automated detection of the onset and systolic peak in the pulse wave using Hilbert transform","volume":"20","year":"2015","journal-title":"Biomed. Signal Process. Control"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Elgendi, M., Norton, I., Brearley, M., Abbott, D., and Schuurmans, D. (2013). Systolic peak detection in acceleration photoplethysmograms measured from emergency responders in tropical conditions. PLoS ONE, 8.","DOI":"10.1371\/journal.pone.0076585"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Elgendi, M. (2013). Fast QRS detection with an optimized knowledge-based method: Evaluation on 11 standard ECG databases. PLoS ONE, 8.","DOI":"10.1371\/journal.pone.0073557"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Elgendi, M., Liang, Y., and Ward, R. (2018). Toward generating more diagnostic features from photoplethysmogram waveforms. Diseases, 6.","DOI":"10.3390\/diseases6010020"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Liang, Y., Chen, Z., Ward, R., and Elgendi, M. (2019). Hypertension assessment using photoplethysmography: A risk stratification approach. J. Clin. Med., 8.","DOI":"10.3390\/jcm8010012"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/12\/4007\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T06:12:49Z","timestamp":1760163169000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/12\/4007"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,6,10]]},"references-count":33,"journal-issue":{"issue":"12","published-online":{"date-parts":[[2021,6]]}},"alternative-id":["s21124007"],"URL":"https:\/\/doi.org\/10.3390\/s21124007","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,6,10]]}}}