The invention relates to the technical field of material science and
image processing, in particular to an iron-
carbon alloy microstructure identification method based on
deep learning, which comprises the following steps of:
processing and shooting all metallographic samples; the method comprises the following steps of: calculating a gray
histogram of a metallographic image, then calculating a cumulative
distribution function, then equalizing the image, and finally
cutting the preprocessed image to a proper size; inputting the preprocessed picture into a Swin Transform model to carry out deep
feature extraction learning on the picture; and inputting the extracted image features of each class of iron-
carbon alloy microstructures into a full-connection layer through a LayerNorm layer and an Average
Pool layer to
train a multi-classifier, thereby realizing classification and identification of the iron-
carbon alloy microstructures. According to the method, various microstructures of the iron-carbon
alloy can be efficiently classified and recognized, and the accuracy and efficiency of recognizing the microstructures of the iron-carbon
alloy are improved.