I. Introduction
TERAHERTZ frequency range is between microwave and infrared in the electromagnetic spectrum and is usually defined as 0.1THz to 10THz electromagnetic radiation [1]. Professor Cui Tiejun proposed the concept of digital coding metamaterials, which are binary coded according to the phase or amplitude of the unit response. [2]. A terahertz spatial light modulator is constructed by metasurface array, the transmission state of each metassurface unit can be designed according to the required pattern, where the non-transmission corresponds to the digital state 0, and the transmission corresponds to the digital state 1. The terahertz beam is incident on a metasurface spatial light modulator with a certain pattern, and after beam modulation, it is transmitted to the pixel detector for terahertz radiation intensity detection. The reconstructed image can be imaged based on compressed sensing technology [3]. In general, the damaged metasurface of some units cannot properly control the electromagnetic wave states according to the imaging requirements, which will cause the final imaging results to be significantly different from the required results. If we know the exact positions of errors without their information, this type of error is called an erasure error. Erasure codes can correct this pixel error in metasurface based imaging technology. Subsequently, the time division multiplexing technology can be used to increase the redundancy in the message to enhance the error-correcting capability, thus improving the resource utilization.