Current approach for microstructure images recognition and image-based properties measurement utilized manual iterative image filtering and threshold-binarization process until image areas, corresponding to desired structure elements, were extracted. This approach, however, led to information loss and inaccurate results, due to extensive filtering required to remove noise and extract features. Results were very sensitive to scanning method used to obtain images, image quality and coloring. Also, manual binarization process assumes that desired structure features are already known.In this article, we present and describe implementation and results of new approach, where image is segmented using algorithms based on Watershed , Morphological Geodesic Active Contours (MorphGAC), and Morphological Active Contours without Edges (MorphACWE) [2-3] algorithms, providing context-independent image partitioning. After image is segmented, obtained segments are classified and then measurements are taken for desired classes. This approach allows to find more features than binarization approach with higher accuracy, as minimal filtering is required, and MorphGAC/ACWE algorithms tend to be more accurate in edge and contour detection than simple thresholding or linear filters.Our program is written in Python, with use of OpenCV and Scikit-image libraries. It implements mentioned algorithm and provides tools for image filtering, and also analysis and measurements tools including features size and distribution statistics are available. For optimization enhancements, Python C-extensions and OpenCL-based GPU processing will be used if needed.Future enhancements include graph theory structure analysis, as image partitioned into segments corresponding to structure elements can be easily represented in a graph form. Our goal is also to utilize neural network for microstructure recognition, segmentation and property analysis.Keywords: microstructure images recognition, grain boundary, images recognition algorithms, Python
© This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.