The invention relates to the technical field of
nickel-based
superalloy grain segmentation and extraction, in particular to a
nickel-based
superalloy grain segmentation and extraction method based on a VGG and U-Net fusion model. The method comprises the following steps: preparing an
Inconel 740H high-temperature
alloy sample; carrying out an in-situ tensile experiment according to the manufactured sample, and observing the
microstructure by using a
scanning electron microscope in the experiment process; acquiring image data according to different stages of the experiment; performing data enhancement on the acquired image according to the
brightness contrast; marking according to the characteristics of the
crystal grains to be segmented; obtaining a
reference image data set according to the
annotation file; performing normalization
processing according to the
reference image data set to obtain a
data set; designing a
feature extraction module according to the VGG
network model; designing a
feature fusion module according to the U-Net
network model; carrying out fusion according to the two designed modules to obtain a V-Unet fusion model; designing a
loss function according to gray information and structural information of the
grain boundary area of the
reference image grain relative to other areas, and obtaining a
loss function weight of the
grain boundary area of the reference image grain; calculating according to the weight of the
loss function to obtain model feedback; training according to the V-Unet fusion model to obtain a model; carrying out grain segmentation extraction on an
Inconel 740H high-temperature
alloy scanning electron microscope image according to the model; performing morphological post-
processing according to a segmentation extraction result to obtain a grain image result; and performing statistics and
data analysis according to a grain image result. The method can be used for segmenting, extracting and counting the same type of grains at different positions of the
nickel-based
superalloy and refining the grains to improve the
mechanical property of the superalloy, and has great significance.