Abstract
This research automates edge detection for perovskite crystal grains using machine learning (ML). Once the edges of the crystal grains are located, a flood-fill algorithm can be used to find the distribution of crystal grain areas. The ML algorithm uses GNU Octave to run a regularized logistic regression algorithm that classifies each pixel of an input image as part of an edge or not part of an edge. The basic features used for the algorithm are each pixel’s grayscale intensity, its Sobel derivative. Higher order Sobel derivatives, higher degree polynomial terms, and intensities convolved by various kernels were used as additional features to improve the program’s accuracy and true-positive rate. Training data is obtained by using non-ML Canny Edge Detection to annotate the edges an SEM image of a pure perovskite solar cell (PSC). The classifier exhibits an 85.58% accuracy and produces an edge mask that clearly outlines the crystals visually. The ML edge mask exhibits far fewer false-positive mis-classifications for pixels in the middle of the crystals than Canny. However, the ML mask’s edges are fainter, owing to a lower true-positive classification rate. Using more kernels, higher order derivatives, and higher degree polynomial terms all significantly increased the true positive rate of the classifier, leading to thicker edges. This algorithm can greatly accelerate perovskite solar cell research (and potentially any research requiring particle size analysis), automating a process scientists previously had to perform by hand. This will facilitate the search for a solution for the world’s growing demands for renewable energy.
Similar content being viewed by others
References
M. Alifierakis. Available at: https://github.com/alifier/edgedetection//alifier/edgedetection/. (unpublished).
D. Bi, C. Yi, J. Luo, J. Décoppet, F. Zhang, S. Zakeeruddin, . . . M. Grätzel. Nature Energy, 1(10), 16142 (2016).
S. Dreiseitl and L. Ohno-Machado J. Biomed. Informatics 35 (5-6), 352–359 (2003).
GNU Octave (2018). Available at: https://www.gnu.org/software/octave//software/octave/ (accessed 11 November 2018)
J.-P. Correa-Baena, A. Abate, M. Saliba, W. Tress, T. Jesper Jacobsson, M. Gratzel and A. Hagfeldt. Energy & Environmental Science, 10 (3), 710–727 (2017).
S. Savant. International Journal of Computer Science and Information Technologies 5 (4). 5898–5900 (2014).
T. Salim, S. Sun, Y. Abe, A. Krishna, A. C. Grimsdale and Y. M. Lam. J. Mater. Chem. A, 3 (17), 8943–8969 (2015).
C. Zhang, M. Li, Z. K.Wang, Y.R. Jiang, H.R. Liu, Y.G. Yang, X.Y. Gao, and H. Ma. J. Mater. Chem. A, 5 (6), 2572–2579 (2017)
Z.Q. Zhao, P. Zheng, S.T. Xu, and X.D. Wu. J. Computing Research Repositories, 14 (8) (2018).
L. Zuo, H. Guo, D. W. deQuilettes, S. Jariwala, N. De Marco, S. Dong, R. DeBlock, D. S. Ginger, B. Dunn, M. Wang, Y. Yang, Sci. Adv., 3, (2017)
J. M. Howard, E.M. Tennyson, B. Neves, M. S. Leite. Joule, 3, (2018)
K. Takahashi, L. Takahashi, I. Miyazato, Y. Tanaka, ACS Photonics, 5 (3).771–775 (2018).
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Chen, T., Zhou, Y. & Rafailovich, M. Application of Machine Learning in Perovskite Solar Cell Crystal Size Distribution Analysis. MRS Advances 4, 793–800 (2019). https://doi.org/10.1557/adv.2019.145
Published:
Issue Date:
DOI: https://doi.org/10.1557/adv.2019.145