Ground penetrating radar (GPR) receives the reflected wave from the interface. Therefore, when the data is collected, the process of data collection should be defined in the vertical direction. However, there is a certain deviation between the reflection point and the detection point in the process of practical detection. Therefore, it is only necessary to use the normal plane to pass through the detection point when analyzing, and all the echoes of the reflection point can be recorded. Therefore, in the process of practical detection, the data of GPR should be defined. In general, this detection method is called GPR data migration processing in practice. In this paper, based on the reverse-time migration and F-K migration theory, the original physical model data of tunnel lining cavity is analyzed by MATLAB. By comparison, reverse-time migration obviously raises a higher requirement for velocity model, and the GPR detection data is more suitable for F-K migration processing. In addition, a graphical user interface (GUI) is built to provide users with the development program for user interface, so it is more convenient for non-professional users, who can operate it more easily without the need to know a great number of commands.