The study of the relationship among the manufacturing process, the structure and the property of materials can help to develop the new materials. The material images contain the microstructures of materials, therefore, the quantitative analysis for the material images is the important means to study the characteristics of material structures. Generally, the quantitative analysis for the material microstructures is based on the exact segmentation of the materials images. However, most material microstructures are shown with various shapes and complex textures in images, and they seriously hinder the exact segmentation of the component elements. In this research, machine learning method and complex networks method are adopted to the challenge of automatic material image segmentation. Two segmentation tasks are completed: on the one hand, the images of the titanium alloy are segmented based on the pixel-level classification through feature extraction and machine learning algorithm; on the other hand, the ceramic images are segmented with the complex networks theory. In the first task, texture and shape features near each pixel in titanium alloy image are calculated, such as Gabor filters, Hu moments and GLCM (Gray-Level Co-occurrence Matrix) etc.. The feature vector for the pixel can be obtained by arraying these features. Then, classification is performed with the random forest model. Once each pixel is classified, the image segmentation is completed. In the second task, a complex network structure is built for the ceramic image. Then, a clustering algorithm of complex network is used to obtain network connection area. Finally, the clustered network structure is mapped back to the image and getting the contours among the component elements. The experimental results demonstrate that these methods can accurately segment material images.