View full-text article in PMC Sensors (Basel). 2019 Jun 27;19(13):2848. doi: 10.3390/s19132848 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2019 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/). PMC Copyright notice Algorithm 1 Incremental PCA with mean update 1:Compute the mean vectors I¯B=1m∑i=n+1n+mIi, and I¯C=nn+mI¯A+mn+mI¯B. 2:Form the matrix B^=(In+1−IB)...(In+m−IB)nmn+m(IB−IA). 3:Compute B˜=orth(B^−UUTB^) and R=fΣUTB^0B˜(B^−UUTB^). 4:Compute the SVD of R: R=U˜Σ˜V˜T. 5:Finally, U′=[UB˜]U˜ and Σ′=Σ˜. 6:Repeat for each new block of frames. Now with A=U′.