The invention discloses a sandstone
microscopic image classification method and
system based on an improved Swin Transform, and relates to the field of geology and oil gas exploration based on
artificial intelligence. The sandstone
microscopic image classification method based on the
deep learning is provided for solving the problems that the sandstone microscopic images cannot be accurately classified through an existing
deep learning method due to the complex texture characteristics of the sandstone images, subtle differences between categories and the imbalance of training sample distribution. According to the invention, by improving a Swinin-Transform framework and introducing three key technology modules, namely a spatial adaptive enhancement module, a local sensing module and a balanced adaptive mechanism, main problems encountered in a sandstone
microscopic image classification task by a traditional
deep learning method are effectively solved. The comprehensive application of the modules not only enhances the ability of the model to capture fine features in the sandstone microscopic image, but also optimizes the classification precision of the model in
processing different sandstone class images, and shows better generalization ability in
processing the sample imbalance problem. According to the method, the automatic classification performance of the sandstone microscopic image is remarkably improved, and a new technical scheme and a new research idea can be brought to the field of geological
image processing and analysis.