How to generate a quality attribute map
A machine learning approach using convolutional neural networks predicts material quality characteristics from images, overcoming the need for extensive samples and electron microscopy knowledge, enabling efficient material development.
Patent Information
- Application Number
- JP2020192492
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-01-06
- Filing Date
- 2020-11-19
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-11-19
AI Technical Summary
Existing methods for generating quality characteristic maps require large quantities of materials, their images, and knowledge of electron microscopy principles, making them cumbersome and limiting for new material development.
A method using machine learning, specifically a regression model trained with convolutional neural networks, to predict quality characteristics from images without the need for extensive material samples, allowing for the generation of quality characteristic maps.
Enables the creation of quality characteristic maps representing the distribution of material properties, facilitating new material development by identifying high and low performance areas without requiring extensive data or specialized knowledge.
Smart Images

Figure 00000012_0000 
Figure 00000012_0001 
Figure 00000012_0002
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for capturing an image of a material such as a magnet or ceramics using an image capturing device and generating a quality characteristic map from the image. [Background technology]
[0002] In recent years, the technical field of materials informatics, which effectively utilizes information science, especially data science, to develop new materials, has been attracting attention. In materials informatics, data such as various experimental conditions and results are associated and stored in a database, and statistical analysis, machine learning, simulation, and other techniques are used to extract information useful for the development of new materials. In particular, images of the manufactured materials taken with imaging devices such as electron microscopes and optical microscopes, and quality characteristics that represent the performance of the materials measured with analytical devices, are accumulated as useful information.
[0003] As a method for obtaining useful information by analyzing images obtained by photographing a material, for example, a method for enhancing an image captured by an electron microscope is disclosed in Patent Document 1. In the method of Patent Document 1, image conversion processing is prepared in advance in accordance with the relationship between the energy signal and angle signal obtained from the electron microscope and the composition information and the microstructure, and an image can be generated in which the parts showing the composition information and the microstructure that the developer of the new material wants to focus on are emphasized.
[0004] Furthermore, as a method of applying machine learning to the analysis of images obtained by photographing materials, for example, Patent Document 2 discloses a method of predicting quality characteristics using a neural network. The method of Patent Document 2 prepares in advance a large number of pairs of images obtained by photographing a plurality of materials and their respective quality characteristics, and trains a neural network, so that by inputting a newly photographed image into the trained neural network, it is possible to predict the quality characteristics of the material. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2018-133174 A [Patent Document 2] JP 2019-012037 A Summary of the Invention [Problem to be solved by the invention]
[0006] To generate an image using the method of Patent Document 1, it is necessary to perform image conversion processing in advance according to the relationship between the energy signal and angle signal obtained from the electron microscope and the composition information and the tissue structure. Furthermore, the developer of the new material must have knowledge of the principles of the electron microscope, composition information, tissue structure, etc.
[0007] In addition, the method of Patent Document 2 has a problem in that it cannot be used unless a large amount of materials, their images, and their quality characteristics are measured in advance for training the neural network. In the development of new materials, it is difficult to prepare a large amount of materials necessary for training the neural network.
[0008] Therefore, the present invention provides a method for generating a quality characteristic map that can generate a map representing the characteristics of a material, i.e., the distribution of quality characteristics, without large amounts of material, images, or quality characteristic measurements, and without knowledge of the principles of electron microscopes, composition information, or microstructural structure, etc. [Means for solving the problem]
[0009] The method for generating a quality characteristic map according to the present invention includes a machine learning step of reading a group of learning images consisting of a plurality of learning images obtained by photographing one or more learning materials, in association with the quality characteristics of the learning materials in the learning images, cutting out a plurality of learning regions from the learning images, extracting learning features from the learning regions, and learning a regression model that predicts the quality characteristics of the learning materials from the learning features; and a machine learning step of reading an evaluation image of one or more evaluation materials, cutting out a plurality of evaluation regions from the evaluation image, extracting evaluation features from the evaluation regions, andfor The method includes a map generation step of predicting the quality characteristics of the evaluation material for each evaluation region using the features and a regression model, and mapping the distribution of the quality characteristics of the evaluation material within the evaluation image using the predicted quality characteristics of the evaluation material.
[0010] In addition, it is preferable that the extraction of the learning features and the evaluation features is performed using a trained convolutional neural network.
[0011] Moreover, it is preferable to use a random forest to train the regression model.
[0012] Preferably, the mapping in the map generating step is a contour map.
[0013] Furthermore, a method for generating a quality characteristic map according to the present invention includes a machine learning step of reading a group of training images consisting of a plurality of training images obtained by photographing one or more training materials, in association with quality characteristics of the training materials in the training images, cutting out a plurality of training regions from the training images, extracting training features from the training regions, and learning a regression model that predicts the quality characteristics of the training materials from the training features; and a machine learning step of reading an evaluation image of one or more evaluation materials, cutting out a plurality of evaluation regions from the evaluation image, extracting a first evaluation feature from the evaluation regions, and learning a regression model that predicts the quality characteristics of the training materials from the training features. for The method may further include a first prediction step of predicting quality characteristics of the evaluation material for each of the evaluation areas using the feature and the regression model, a second prediction step of replacing luminance values of a portion of pixels in the evaluation area with an arbitrary value to extract a second evaluation feature, and predicting quality characteristics of the evaluation material for each of the evaluation areas using the second evaluation feature and the regression model, and a map generation step of mapping a difference in the quality characteristics of the evaluation material predicted in the first prediction step and the second prediction step by changing the luminance values of the portion of pixels.
[0014] In addition, it is preferable that the extraction of the learning features, the first evaluation features, and the second evaluation features is performed using a trained convolutional neural network.
[0015] Moreover, the difference between the quality characteristics of the evaluation material predicted in the first prediction step and the second prediction step is preferably a SHAP value. Effect of the Invention
[0016] According to the present invention, even if only one performance, i.e., quality characteristic, of a material can be obtained from an image of the manufactured material, it is possible to generate a map showing the distribution of quality characteristics within the image, which is extremely useful in materials informatics as beneficial information for the development of new materials. It is also possible to draw quality characteristic maps even for materials with little information, such as images. [Brief description of the drawings]
[0017] [Figure 1] 1 shows an example of an electron microscope image and a generated quality attribute map. [Diagram 2] 1 is an example of a materials list. [Diagram 3] 1 is an example of a flowchart showing a learning procedure of a machine learning step for learning a regression model. [Figure 4] 1 is an example of learning feature data. [Diagram 5] 1 is a diagram showing an example of a relationship between an image and a rectangular area in the present invention; [Figure 6] 13 is an example of a flowchart showing a procedure of a map generating step. [Figure 7] 1 is an example of predicted quality characteristic data. [Figure 8] 1 is an example of a flowchart showing a procedure for generating an image of a Voronoi diagram by Monte Carlo simulation. [Figure 9] This is an example of an image on which a Voronoi diagram is drawn and a quality characteristic map generated using the image as input. [Figure 10] 1 is an example of a flowchart showing a procedure for generating an image of a grain boundary structure by Monte Carlo simulation. [Figure 11] This is an example of an image with lines and dots drawn, and a quality characteristic map generated using this image as input. [Figure 12] 1 shows an example of an electron microscope image and a generated quality attribute map. [Figure 13] 13 is an example of a flowchart showing a procedure of a map generating step. [Figure 14] 1 shows an example of an image in which a Voronoi diagram is drawn, and an example of a quality characteristic map generated by inputting the image. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] The method for generating a quality characteristic map of the present invention will be described in detail below using five embodiments. In the first embodiment, an example is described in which a quality characteristic map is generated from an electron microscope image of a magnet, showing the distribution of magnetic flux density and coercive force, which are important quality characteristics of the magnet. In the second and third embodiments, an example is described of a simulation carried out to verify the reliability of the method of the present invention. In the fourth embodiment, an example is described in which a quality characteristic map showing the distribution of magnetic flux density and coercive force is generated from an electron microscope image of a magnet, using a method that improves resolution. And in the fifth embodiment, an example is described of a simulation carried out to verify the reliability of the method used in the fourth embodiment.
[0019] (First embodiment) 1 shows an example of an input electron microscope image and a quality characteristic map generated based on this embodiment. An input image 10 is an image of a part of a magnet material captured by an electron microscope, and a magnetic flux density map 11 and a coercive force map 12 are a magnetic flux density map and a coercive force map, respectively, generated using the present invention. As described later, the quality characteristic maps of the magnetic flux density map 11 and the coercive force map 12 cannot generate the edges of the images due to the size of the rectangular area used during generation.
[0020] The generated magnetic flux density map 11 and coercive force map 12 indicate that the darker the shading, the higher the predicted quality characteristics, and the lighter the shading, the lower the predicted quality characteristics. By visually comparing the input image 10 captured by an electron microscope with the quality characteristic maps, magnetic flux density map 11 and coercive force map 12, it is possible to compare the tissue structure of the areas predicted to have high magnetic flux density, the tissue structure of the areas predicted to have low magnetic flux density, the tissue structure of the areas predicted to have high coercive force, and the tissue structure of the areas predicted to have low coercive force.
[0021] It is known that the magnetic flux density of a magnet increases as the area of darker shading areas in input image 10 increases, and this phenomenon is reflected in magnetic flux density map 11. It is also known that the coercive force increases as the lighter shading areas in input image 10 become more crowded, and this phenomenon is reflected in coercive force map 12.
[0022] In the present embodiment, the quality characteristic maps, such as the magnetic flux density map 11 and the coercive force map 12, are illustrated in shading, but the magnitude relationship of the quality characteristics can be more easily understood if pseudo-color is used.
[0023] An example of a materials list is shown in Figure 2. The materials list includes the material number, the measured magnetic flux density and coercive force as quality characteristics, and the file name of an electron microscope image, and is used to associate images of materials taken with an electron microscope with the quality characteristics of the images. Data for each material is written vertically. In this example, one magnetic flux density measurement result, one coercive force measurement result, and one image are managed for one material.
[0024] The machine learning step of training a regression model in this embodiment involves reading in a group of training images obtained by photographing multiple training materials and the quality characteristics of the training materials in each training image in the training image group in correspondence with each other, cutting out multiple training rectangular areas from the read-in training images, extracting training features using the cut-out training rectangular areas, and training a regression model that predicts the quality characteristics of the training materials from the training features.
[0025] FIG. 3 is an example of a flowchart showing a learning procedure of a machine learning step for learning a regression model in this embodiment.
[0026] In step 101, a trained feature extractor for a convolutional neural network (CNN) that is publicly available on the Internet is loaded. This feature extractor has not been trained to analyze images of magnets, ceramics, etc., which are the subject of the present invention, but has been trained to identify animals, plants, etc., or to identify cars, pedestrians, etc. For example, in the R language, which is prominent in the field of statistical analysis, this feature extractor can be loaded by executing the function application_vgg16 built into the deep learning library Keras. In step 102, the materials list shown in FIG. 2 is read.
[0027] Steps 103 to 111 are repeated in a loop for the number of lines in the material list, that is, the number of images. In step 104, an image file captured by an electron microscope is read. From step 105 to step 110 and from step 106 to step 109, the read image is processed while moving the X and Y coordinates of the center of the learning rectangular area (hereinafter abbreviated as rectangular area). In step 107, data of a rectangular area is extracted based on the X-coordinate and the Y-coordinate, and in step 108, a feature extractor of the trained convolutional neural network read in step 101 is used to extract learning features (hereinafter, abbreviated as features) for the extracted rectangular area.
[0028] In step 112, the number of types of features is reduced. When features are extracted using a feature extractor of a trained convolutional neural network, not all valid features are extracted. If the size of the rectangular area to be cut out is 256 pixels x 256 pixels x 3 layers (RGB), 32768 types of features are extracted. However, depending on the type of feature, there are many cases where only zero is contained as a value. For example, features in which 90% or more of the rectangular areas contain zero as a feature value are deleted.
[0029] In step 113, a regression model is trained to predict magnetic flux density, and in step 114, a regression model is trained to predict coercivity.
[0030] In both steps 113 and 114, any regression-based machine learning method such as multiple regression analysis, random forest, or support vector machine can be applied as the regression model. These machine learning methods have the advantage of being able to learn with fewer materials than neural networks. Since multiple regression analysis has a limit on the number of types of features that can be input, it is a good idea to reduce the dimensions in advance using principal component analysis. From this perspective, random forests are easy to use.
[0031] That is, an image is input, and via a convolutional neural network, a regression model is generated that predicts the quality characteristics, i.e., magnetic flux density and coercive force in this case, using a random forest.
[0032] 4 is an example of feature data after completion of step 112. This feature data has multiple pairs of X and Y coordinates 301 for one material number. The quality characteristics 302 have the same value for each item for the same material number. The feature amounts 303 are arranged in columns equal to the number of feature amount types.
[0033] The feature extractor of the trained convolutional neural network extracts 32,768 types of features, from F1 to F3268. However, by deleting features in which rectangular areas with zero as a feature value account for 90% or more of the total rectangular area, the number of features is reduced to several hundred types, such as F28, F56, etc., as shown in this example.
[0034] FIG. 5 is a diagram for explaining the relationship between an input image, a rectangular area, and coordinates. For the image read in step 104, the X coordinate is taken in the horizontal direction and the Y coordinate is taken in the vertical direction, and the coordinates are determined according to the number of pixels with the upper left corner as the origin. For an image with 2560 pixels horizontally and 1920 pixels vertically as shown in the figure, the X coordinate ranges from 1 to 2560 and the Y coordinate ranges from 1 to 1920. The rectangular area 13 is a small piece of an image that is cut out from the image.
[0035] For example, the rectangular area 13 shown in the figure has center coordinates of X=2304, Y=256, and is an area of 256 pixels horizontally and 256 pixels vertically. The size of the rectangular region 13 is not limited to 256 pixels horizontally and 256 pixels vertically, and may be freely determined according to the size of the image, the size of the tissues reflected in the image, etc. The smaller the size of the rectangular region 13, the higher the resolution of the generated quality characteristic map. However, if the size of the rectangular region 13 is small, the prediction accuracy of the quality characteristic decreases, and the reliability of the generated quality characteristic map decreases. Therefore, it is advisable to check the prediction accuracy of the quality characteristics and determine an appropriate size for the rectangular region 13.
[0036] The map generation step in this embodiment involves reading in an evaluation image of at least one evaluation material, cutting out a plurality of evaluation rectangular areas from the read-in evaluation image, extracting evaluation features from the cut-out evaluation rectangular areas, predicting the quality characteristics of the evaluation material for each evaluation rectangular area using the extracted evaluation features and a regression model, and mapping the distribution of the quality characteristics of the evaluation material within the evaluation image using the predicted quality characteristics of the evaluation material.
[0037] FIG. 6 is an example of a flowchart showing the procedure of the map generation step in this embodiment.
[0038] In step 201, the same trained convolutional neural network feature extractor as in step 101 is loaded. In step 202, the regression model for predicting magnetic flux density learned in step 113 is loaded. In step 203, the regression model for predicting the coercive force learned in step 114 is loaded. In step 204, an image of the material for which a quality attribute map is to be generated is read. The image loaded here may be one of the images of the learning material used in learning the regression model, or it may be an image of another material that was not used in learning. However, the image capture conditions, such as magnification and size, must be the same as those of the images used to train the regression model.
[0039] From step 205 to step 212 and from step 206 to step 211, the read image is processed while moving the X and Y coordinates of the center of the evaluation rectangular area (hereinafter abbreviated as rectangular area). In step 207, a rectangular area is cut out relative to the X and Y coordinates. In step 208, evaluation features (hereinafter referred to as features) for the rectangular region are extracted using a feature extractor of a trained convolutional neural network, and features of the same type as those reduced in step 112 are deleted. In step 209, the magnetic flux density of the rectangular area is predicted. In step 210, the coercivity of the rectangular region is predicted.
[0040] FIG. 7 is an example of the quality characteristic data predicted in steps 209 and 210. For each combination of X and Y coordinates, the predicted magnetic flux density and predicted coercive force are listed.
[0041] Once the loop is complete, step 213 uses the X and Y coordinates and the predicted flux density to generate a flux density map. In step 214, the X coordinate, the Y coordinate, and the predicted coercivity are used to generate a coercivity map. In this example, the X coordinate and the Y coordinate are moved in the same manner as when training the regression model, but the X coordinate and the Y coordinate may be moved roughly in training and may be moved more finely when generating the quality characteristic map than in training. A finer movement can generate a higher resolution quality characteristic map.
[0042] Here, the mapping in the present invention refers to visualization of the distribution of quality characteristics from the quality characteristic data predicted as described above. Furthermore, the mapping is preferably visualized as a contour map, the results of which are the magnetic flux density map 11 and the coercive force map 12 shown in FIG. 1.
[0043] Contour plots can be easily drawn using the graph drawing libraries matplotlib and seaborn in Python, or the basic function contour or the graph drawing library ggplot2 in R. However, if these cannot be used, for example, a smooth B-spline surface may be approximated for the quality characteristic data and visualized. Even more simply, it is possible to draw a scatter plot of the quality characteristic data on the X and Y coordinates, and color each impact point by the predicted magnetic flux density or predicted coercive force. Furthermore, the mapping may be visualized not only in two-dimensional display but also in three-dimensional display.
[0044] Second Embodiment Next, in order to verify the reliability of the quality characteristic map generated by the method of this embodiment, an image depicting a Voronoi diagram similar to the magnetic structure of the magnet was generated using a Monte Carlo simulation, and this image was input to generate a quality characteristic map.
[0045] 8 is a flow chart showing the procedure for generating a Voronoi diagram image by Monte Carlo simulation. Here, an example of generating a square image of 256 pixels x 256 pixels will be described.
[0046] Steps 401 to 408 are repeated with the number of tissues as a variable. For example, when the variable N is 40, 40 tissues are generated in one image. That is, the average tissue area is 1 / 40th of the image size. Steps 402 to 407 are repeated 20 times to generate 20 images with an equal number of tissues. In step 403, N random X and Y coordinates are generated based on the variable N. An integer between 1 and 256 is randomly generated as the X coordinate. An integer between 1 and 256 is also randomly generated as the Y coordinate. In step 404, the vertices of the Voronoi diagram are calculated from the N random coordinates. In step 405, the calculated vertices are connected with line segments to draw a Voronoi diagram. The image on which the Voronoi diagram is drawn is saved in step 406. By executing the process of this flowchart, 100 images of different tissue structures can be generated.
[0047] FIG. 9 shows an example of an image on which a Voronoi diagram is drawn, and a quality characteristic map generated using the image as input. The Voronoi diagram image 421 is an example of a 256 pixel by 256 pixel image on which the Voronoi diagram was plotted and saved in step 406. The quality characteristic map 422 is a quality characteristic map generated by inputting the image of the Voronoi diagram image 421. A regression model was generated with the response variable being the mean tissue area.
[0048] As a result, even if a regression model is generated using the average tissue area for each image, areas with a large tissue area are depicted with dark shading, and areas with a small tissue area are depicted with light shading, as in quality characteristic map 422. For example, if there is a wide area of tissue like the upper right corner of the Voronoi diagram image 421, the upper right corner of the quality characteristic map 422 is drawn with a darker shade to correspond to this. On the other hand, in a region where small-area tissues are densely concentrated, such as the lower right edge of the Voronoi diagram image 421, the lower right edge of the quality characteristic map 422 is drawn with a lighter shade to correspond to this. Therefore, it can be seen that the quality characteristic map 422 generated using the present invention well represents the area-related features of the Voronoi diagram image 421.
[0049] (Third embodiment) Next, in order to verify the reliability of the quality characteristic map generated by the method of this embodiment on a different object, an image depicting a diagram similar to the grain boundary structure of ceramics was generated using Monte Carlo simulation, and this image was input to generate a quality characteristic map.
[0050] The image captured shows the grain boundary structure of the ceramics as small impact dots scattered randomly. However, depending on the sintering conditions, grains that grow abnormally in a straight line form can occur, which reduces the bending strength. Therefore, we generated an image that mixed random impact points and random line segments, and created and verified a regression model that predicts the total length of the line segments.
[0051] Fig. 10 is a flow chart showing the procedure for generating an image of a grain boundary structure by Monte Carlo simulation. Here, an example of generating a square image of 256 pixels x 256 pixels will be described.
[0052] Steps 501 to 507 are repeated the number of times corresponding to the number of images to be generated. In step 502, 50 pairs of random XY coordinates are generated, i.e., coordinates (X1, Y1) and (X2, Y2), and the line segments connecting them are regarded as grains of abnormal growth, provided that no abnormal growth is too long. Therefore, in step 503, the length of each line segment is calculated, and in step 504, the 50 line segments are aligned, and only the shortest 10 line segments are selected and drawn. In step 505, 200 random dots are drawn. In step 506, the image in which the lines and dots have been drawn is saved.
[0053] Figure 11 shows an example of an image with lines and dots drawn, and a quality characteristic map generated using this image as input. Pseudoceramic grain boundary structure image 521 is an example of a 256 pixel by 256 pixel image with lines and dots drawn on it that was saved in step 506 . The quality characteristic map 522 is a quality characteristic map generated by inputting the image of the pseudo-ceramic grain boundary structure image 521. The regression model generated the dependent variable as the total length of multiple line segments.
[0054] As a result, even though the regression model is generated as the total length of multiple line segments, it can be seen that the quality characteristic map 522 is drawn with darker shading in areas where long line segments exist or where multiple line segments are close together. Therefore, it can be seen that the quality characteristic map 522 generated using this embodiment well represents the characteristics of the pseudo-ceramic grain boundary structure image 521.
[0055] (Fourth embodiment) 12 shows an example of an input electron microscope image and a quality characteristic map generated based on this embodiment. An input image 15 is an image of a part of a magnet material captured by an electron microscope, and a magnetic flux density map 16 and a coercive force map 17 are a magnetic flux density map and a coercive force map, respectively, generated using the present invention. The quality characteristic maps of magnetic flux density map 16 and coercive force map 17 differ from magnetic flux density map 11 and coercive force map 12 in that they have higher resolution than magnetic flux density map 11 and coercive force map 12 and can also generate the edges of the images.
[0056] The generated magnetic flux density map 16 and coercive force map 17 indicate that areas with lighter shading represent structures that have the effect of improving quality characteristics, and areas with darker shading represent structures that have the effect of deteriorating quality characteristics. By visually comparing the image captured by the electron microscope of input image 15 with the quality characteristic maps of magnetic flux density map 16 and coercive force map 17, it is possible to compare what kind of tissue structure is present in the areas that have the effect of increasing the magnetic flux density, what kind of tissue structure is present in the areas that have the effect of decreasing the magnetic flux density, what kind of tissue structure is present in the areas that have the effect of increasing the coercive force, and what kind of tissue structure is present in the areas that have the effect of decreasing the coercive force.
[0057] It is known that the magnetic flux density of a magnet increases in the darker areas of the input image 15, i.e., the larger the area of the particle part as a mass. The magnetic flux density map 16 shows that the ends of the particle parts with a large area have the effect of increasing the magnetic flux density. In particular, the left and right ends of the particle parts have the effect of increasing the magnetic flux density, and the shading is lighter. On the other hand, it can be seen that the upper and lower ends of the particle parts also have the darker shading. This shows that the magnetization easy axis of the electron microscope image 15 is oriented left and right. It is also known that the coercive force increases in the lighter areas of the input image 15, i.e., the grain boundary parts. This phenomenon is shown in the coercive force map 17. From these quality characteristic maps, it can be seen that if a vertically long particle part can be formed, both the magnetic flux density and the coercive force can be increased.
[0058] In this embodiment, the quality characteristic maps of the magnetic flux density map 16 and the coercive force map 17 are illustrated in shading, but the magnitude relationship of the quality characteristics can be more easily understood by using pseudo-color. For example, it is easier to understand if the parts that have the effect of improving the quality characteristics are colored red, and the parts that have the action of degrading the quality characteristics are colored blue.
[0059] In the procedure for generating the magnetic flux density map 16 and the coercive force map 17, the machine learning step is the same as that in the flowchart of Fig. 3 exemplified for generating the magnetic flux density map 11 and the coercive force map 12. On the other hand, the map generation step is slightly different.
[0060] FIG. 13 is an example of a flowchart showing the procedure of the map generation step in this embodiment. Note that for steps 113 and 114 described below, please refer to the flowchart in FIG. In step 201, a trained convolutional neural network feature extractor is loaded. In step 202, the regression model for predicting magnetic flux density learned in step 113 is loaded. In step 203, the regression model for predicting the coercive force learned in step 114 is loaded. In step 204, an image of the material for which a quality attribute map is to be generated is read. The image loaded here may be one of the images of the learning material used in learning the regression model, or it may be an image of another material that was not used in learning. However, the image capture conditions, such as magnification and size, must be the same as those of the images used to train the regression model.
[0061] From step 205 to step 212 and from step 206 to step 211, the read image is processed while moving the X and Y coordinates of the center of the evaluation rectangular area (hereinafter abbreviated as rectangular area). In step 207, a rectangular area is cut out relative to the X and Y coordinates. In step 208, a first evaluation feature (hereinafter referred to as feature 1) for the rectangular region is extracted using a feature extractor of a trained convolutional neural network, and features of the same type as those reduced in step 112 are deleted.
[0062] In addition, the luminance values of some pixels in the rectangular region are replaced with arbitrary values, and a second evaluation feature for the rectangular region (hereinafter, abbreviated as feature 2) is extracted using a feature extractor of a trained convolutional neural network, and features of the same type as those reduced in stage 112 are deleted.
[0063] Next, the quality characteristics of the evaluation material are predicted for each rectangular region using feature 1 and the regression model learned in steps 113 and 114 (first prediction step), and similarly, the quality characteristics of the evaluation material are predicted for each rectangular region using the regression model for feature 2 (second prediction step). Furthermore, the difference between the quality characteristics of the evaluation material predicted in the first prediction step and the second prediction step is mapped by changing the brightness values of some pixels (map generation step).
[0064] Here, the difference between the quality characteristics of the evaluation material predicted in the first prediction step and the second prediction step, respectively, is a value equivalent to the SHAP value that can be calculated, for example, using the regression model learned in step 113 or step 114.
[0065] The SHAP value is an example of a numerical value calculated in XAI (Explainable AI), and the difference in the quality characteristics of the evaluation material predicted in prediction step 1 and prediction step 2 may be calculated using XAI such as LIME (Local Interpretable Model-agnostic Explanations).
[0066] Therefore, in step 231 in this embodiment, a matrix of SHAP values of the magnetic flux density in a rectangular region is calculated using the regression model for predicting the magnetic flux density read in step 202. If the rectangular region is 256 x 256 pixels, 256 x 256 SHAP values are calculated in the same manner. In other words, since the SHAP value is calculated for each pixel, a quality characteristic map with high resolution can be generated. In step 232, a matrix of SHAP values of the coercivity of the rectangular region is calculated using the regression model for predicting the coercivity read in step 203.
[0067] Once the loop is complete, in step 233, a magnetic flux density map is generated using the matrix of X coordinates, Y coordinates, and the calculated SHAP values. In step 234, a coercivity map is generated using the matrix of X coordinates, Y coordinates, and the calculated SHAP values.
[0068] Fifth embodiment Next, in order to verify the accuracy of the quality characteristic map generated by the method of this embodiment, an image depicting a Voronoi diagram similar to the magnet's organizational structure was generated by Monte Carlo simulation, and the image was input to generate a quality characteristic map. The procedure for generating an image of the Voronoi diagram by Monte Carlo simulation is the same as that shown in FIG.
[0069] FIG. 14 shows an example of an image on which a Voronoi diagram is drawn, and a quality characteristic map generated using the image as an input by using the fourth embodiment. A Voronoi diagram image 431 is an example of a 256 pixel by 256 pixel image on which the Voronoi diagram was drawn and saved in step 406. A quality characteristic map 432 is a quality characteristic map generated by inputting the image of the Voronoi diagram image 431. A regression model was generated with the target variable being the mean area of the texture.
[0070] As a result, even if a regression model is generated for each image using the average area of the structure, the area where the structure is large is depicted with a darker shade, and the area where the structure is small is depicted with a lighter shade, as in the quality attribute map 432. In particular, the grain boundary area of the area where the structure is small is depicted with a shade that is almost white. Therefore, it can be seen that the quality characteristic map 432 in this embodiment well represents the area-related features of the Voronoi diagram image 431.
[0071] The present invention is not limited to application to electron microscopes, but can be applied to any image capturing device. Furthermore, the present invention does not require knowledge of the principles of imaging devices, composition information, tissue structures, and the like. Furthermore, even if only one performance, i.e., quality characteristic, is obtained for an image of a material produced in an experiment, a map can be generated that shows the distribution of the quality characteristic within the image.
[0072] As a result, the generated maps can be used to compare good and bad performing areas. For example, it is known that the quality properties such as strength of ceramics are most affected by abnormal growth of grain boundary structures. However, there are other factors that affect strength besides the abnormal growth of grain boundary structures.
[0073] The present invention can generate a map of the distribution of quality characteristics, i.e., strength distribution, from images of such materials, and can compare areas with high and low strength, which can help developers of new materials become aware of phenomena that they had not anticipated.
[0074] Moreover, the present invention can be utilized without having to measure a large number of materials, their images, and their quality characteristics, as in the method of Patent Document 2.
[0075] Although the present invention has been described above using the above embodiment, the present invention is not limited to the above embodiment. The contents can be modified within the technical scope included in the claims. For example, in the above embodiment, the quality characteristics of the magnetic flux density and coercive force of the magnet are mapped, but it is also possible to use the method for mapping the quality characteristics of the thermal conductivity and bending strength of ceramics. [Explanation of symbols]
[0076] 10 Input images 11 Magnetic flux density map 12 Coercivity map 13 Rectangular area 421 Voronoi Diagram Images 422 Quality Attributes Map 521 Pseudoceramic grain boundary structure image 522 Quality Attributes Map 15 Input images 16 Magnetic flux density map 17 Coercivity Map 431 Voronoi Diagram Images 432 Quality Attributes Map
Claims
1. A group of learning images including a plurality of learning images obtained by capturing images of one or more learning materials is read in association with quality characteristics of the learning materials in the learning images; A plurality of learning regions are cut out from the learning image, a machine learning step of extracting training features from the training region and training a regression model for predicting quality characteristics of the training material from the training features; Load one or more evaluation images of evaluation materials; A plurality of evaluation regions are cut out from the evaluation image, Extracting an evaluation feature from the evaluation region; predicting quality characteristics of the evaluation material for each of the evaluation regions using the evaluation feature quantity and the regression model; a map generating step of mapping a distribution of the quality characteristics of the evaluation material within the evaluation image using the predicted quality characteristics of the evaluation material; A method for generating a quality characteristic map, comprising:
2. 2. The method for generating a quality characteristic map according to claim 1, wherein the learning features and the evaluation features are extracted using a trained convolutional neural network.
3. The method for generating a quality characteristic map according to claim 2 , wherein the regression model is trained using a random forest.
4. 4. The method for generating a quality characteristic map according to claim 1, wherein the mapping in the map generating step is a contour map.
5. A group of learning images including a plurality of learning images obtained by capturing images of one or more learning materials is read in association with quality characteristics of the learning materials in the learning images; A plurality of learning regions are cut out from the learning image, a machine learning step of extracting training features from the training region and training a regression model for predicting quality characteristics of the training material from the training features; Load one or more evaluation images of evaluation materials; A plurality of evaluation regions are cut out from the evaluation image, extracting a first evaluation feature from the evaluation region; a first prediction step of predicting a quality characteristic of the evaluation material for each of the evaluation regions by the first evaluation feature amount and the regression model; a second prediction step of replacing brightness values of some pixels of the evaluation area with an arbitrary value, extracting a second evaluation feature, and predicting a quality characteristic of the evaluation material for each of the evaluation areas using the second evaluation feature and the regression model; a map generating step of mapping the difference between the quality characteristics of the evaluation material predicted in the first prediction step and the second prediction step by changing the luminance value of the part of pixels; A method for generating a quality characteristic map, comprising:
6. 6. The method for generating a quality characteristic map according to claim 5, wherein the learning features, the first evaluation features, and the second evaluation features are extracted using a trained convolutional neural network.
7. 7. The method for generating a quality characteristic map according to claim 5 or claim 6, characterized in that the difference between the quality characteristics of the evaluation material predicted in the first prediction step and the second prediction step is a SHAP value.
Citation Information
Patent Citations
Density measurement device, density measurement method and program
JP2016095640A
Image forming apparatus
JP2018133174A
Segregation detection method and segregation detection device
JP2019007944A
Material characteristic estimation device and material characteristic estimation method
JP2019012037A
