This paper focuses on the application of radio tomographic imaging in through-the-wall image reconstruction. By using the simple wireless communication devices, e.g., Wi-Fi cards, the whole building layout can be reconstructed with only the received signal strength (RSS). For the reconstruction algorithms, the total variation (TV) minimization algorithm has been used to reconstruct the image. However, some false artifacts may exist in the image results due to the inherent defects of the algorithm. The artifacts can be misestimated as wall structures. In this paper, a reweighted total variation and prior information regularization algorithm named as RTV-PIR is proposed to reconstruct the image. This algorithm is based on the TV minimization of the image. And the prior information that the wall is only oriented horizontally or vertically is also considered simultaneously, which is used to keep the wall orientation. To verify the performance of the proposed algorithm, the simulations and experiments based on real data are conducted. It is shown that the RTV-PIR algorithm can get a better result with respect to the root mean square error (RMSE) and the structural similarity (SSIM), in comparison with the state-of-the-art algorithms.