A new method for classifying and segmenting material microstructure based on machine learning | Synapse