One-dimensional line velocity interferometer system for any reflectors (VISARs) acts as a significant diagnostic device in the process of the inertial confinement fusion, which can be used to measure the free surface velocity and the history of shockwave velocity in transparent media over time. But the lack of spatial information makes it impossible to measure the flatness of wavefront. The compressed ultrafast photography (CUP) system developed in recent years can realize two-dimensional ultrafast photography. We have designed a new two-dimensional VISAR diagnosis system by combining the CUP with line-VISAR, called the CUP-VISAR, which will be of great significance in two-dimensional shockwave front measurement. In this paper, a data simulation method of CUP-VISAR is proposed to study the length of diagnostic time window of the device. A series of original VIASR images are firstly generated and then the compressed images are simulated after image encoding and compression. Finally, two-step iterative shrinkage thresholding algorithm is used to reconstruct the compressed images, which results in corresponding reconstructed images. In order to verify the restoration effect of the algorithm, we calculate the velocity error and image correlation coefficient value. Finally the relationship between the image reconstruction quality and the number of images is preliminarily obtained, which provides reference for the actual experiment.