According to the two-dimensional
grain boundary filling method based on the three-dimensional information, firstly, an image is collected through a high-resolution two-dimensional
imaging technology, reference registration is carried out, and accurate association of spatial information is ensured; after a first-layer metallographic pattern
grain boundary is completed through hand drawing, preprocessing operations such as graying, enhancing and filtering are carried out on an image. Noisy points are removed by using a
specific function and a formula, binarization is carried out, and a
grain boundary is refined by using professional
software. And performing grain
corrosion by setting a threshold value to obtain a central mark point, and calculating a proportion parameter of adjacent grains by eight-direction tracking. And detecting and scaling the
crystal grain edge of the first-layer metallographic pattern, and filling the second-layer
crystal grain by using a special program until a complete metallographic pattern is output. According to the method, a filling result is verified by combining a three-dimensional reconstruction technology, and an
algorithm is optimized. According to the technology, the
structural integrity and performance of the
crystal material are effectively improved, the grain boundary reconstruction precision is improved, the material
performance prediction reliability is enhanced, the experiment and calculation cost is reduced, the
data processing efficiency is improved, the technology is suitable for various materials, and a new way is developed for material microcosmic research and application.