PCA: A Bayesian Computer Vision System for Modeling Human Interactions
Principal Component Analysis (PCA) is a matrix decomposition method for motion detection. It is based on the assumption that the moving objects are typically small and do not appear in the same location in a video. Because of that, the foreground objects do not have a significant contribution to background, and they will not be included in the most important eigenvectors when we apply matrix decomposition on the video.
By considering the whole video as a 3D matrix, PCA first apply singular value decomposition on it to find the eigenvalues and the eigenvectors. The eigenvectors are ranked according to their correlated eigenvalues. The top M eigenvectors are selected to be the eigenbackground space. When a new frame arrives, it will be first mean normalized, and then projected to the eigenbackground space to calculate the background image. After that, the foreground is calculated as the thresholding result of the difference between the input image and the background image.