I. Introduction
Confocal microscopy is a new instrument developed in recent decades with high light sensitivity and high resolution. It has been widely used in biomedical research and surface analysis of materials science [1], [2], [3]. Wafer defect detection is one of the important application directions of confocal microscopy [4]. In recent years, with the growing popularity and demand for smart phones, tablet computers, smart watches and electronic devices, the semiconductor chip industry has developed rapidly. In addition, the development of the global Internet of Things is still in its infancy. Due to the rapid development of 5G communication, there will be a strong demand for semiconductor chips in the future, as will the construction of other modern and intelligent cities [5]. With the development of these industries, the processing costs and detection efficiency of chips are more demanding, so chip processing technologies are constantly updated, chip specifications are continuously reduced, and the demand for chips is constantly increasing [6], [7]. As a result, wafer defect detection is continually facing more difficult challenges, and technical innovation is urgently needed [8], [9].