Microstructure Image Analysis
This project was built as a way to extract data from images of the microscopic structure of metals. The microstructure of metals such as steel often contains different phases (crystal structures), which are identifiable through the difference in colour and its sharp boundary lines, known as grain boundaries.
It is useful to determine how much of a microstructure is in each phase. For example, in a steel sample this approach can be used to help identify the metalworking processes applied to the sample. MATLAB Image Processing Toolbox was primarily used to process microstructure images into a black and white image and find the percentage of the image in each phase.
Most microstructures are not as distinct as in the image above. Preciptates are often present, and these must be filtered out to avoid artificially increasing the proportion of the dark phase. Erosion algorithms were written to solve this problem, along with dilation operations to sharpen the rest of the image.
The most challenging aspect of this project was tackling microstructure images with poor lighting conditions. This made it extremely difficult to accurately assess the brightness of each grain, as light phase grains appeared to be darker than dark phase grains in the spotlight and made the grain boundaries hard to distinguish.
Histogram equalization proved to be effective in finding a solution, along with Wiener deblurring filters and Canny filters for edge detection. Eventually, it was combination of all these techniques as well as playing with the brightness and contrast that produced optimal results.
The results were accurate to within 1 percent, highlighting how this software can be used to efficiently identify characteristics of the microstructure in question.