The displacement of the object can be calculated by Eq.(REF ), and then the displacement of the current frame can be determined. At the same time, four binary Fourier basis patterns, one Hadamard basis pattern, and the corresponding five single-pixel detection values are obtained for each frame which could be used for the final imaging procedure. The displacement of the object during the pattern modulation is equivalent to that the object is static and the pattern moves in the opposite direction to the object motion, then the object image can be reconstructed from the recorded single-pixel values and transformed patterns when transformed patterns are sufficient. The process of transforming pattern is shown in Fig.REF . Total variation augmented lagrangian alternative direction algorithm (TVAL3)[1]} is an efficient and widely used compressed sensing[2]}, [3]}, [4]} algorithm. The TVAL3 solver can be adopted to reconstruct the object using the transformed patterns sequence and corresponding single-pixel detection values.
