Abstract: This paper introduces a robust and automated method for detecting grain boundaries and estimating particle sizes in microstructural images using OpenCV-based image processing techniques. The ...