Training data creation method, program, information processing device, learning model generation method, and sample evaluation method
By automating the creation of training data through user-guided image correction and association, the method addresses high computational load and user burden in grain boundary extraction, achieving efficient and accurate machine learning model generation.
Patent Information
- Application Number
- JP2023055551
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-11
AI Technical Summary
Existing image processing methods for extracting grain boundaries from etched metal surfaces require high computational load, incomplete division of large areas, and manual intervention, leading to user burden and processing delays.
A method involving acquiring microscopic images, generating line drawings, displaying them alongside binarized images for user correction, and associating these images with a computer process to create training data, reducing user burden through automated image processing.
This approach significantly reduces user effort in creating training data, enabling efficient generation of accurate machine learning models for grain boundary extraction, with reduced processing time and increased automation.
Smart Images

Figure 2024143067000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a training data creation method, a program, an information processing device, a learning model generation method, and a sample evaluation method. [Background technology]
[0002] An image processing method for extracting grain boundaries from an image of an etched metal material surface or the like is disclosed (Patent Document 1). In Patent Document 1, the grain boundaries are extracted by sequentially performing binarization using a reaction-diffusion equation, generation of a first tessellation image by Euclidean distance mapping and watershed processing, and generation of a second tessellation image by another Euclidean distance mapping and watershed processing. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2021-149222 Summary of the Invention [Problem to be solved by the invention]
[0004] In Patent Document 1, the calculation load is high because complex processing is performed sequentially as described above. Nevertheless, there is a possibility that a large undivided area that cannot be sufficiently divided remains. Additional processing is required for the undivided area, and complete automation has not been achieved. When a skilled user with specialized knowledge decides on additional processing, as described above, the calculation load is high, which is likely to cause stress such as waiting for processing.
[0005] By performing machine learning using training data that records a large number of pairs of microscopic images, such as images of the surface of an etched metal material, and binarized images, such as images in which grain boundaries are correctly extracted, it is possible to generate a machine learning model that outputs a binarized image when a microscopic image is input. Since a large number of pairs of training data are necessary to generate a highly accurate machine learning model, it is desirable to reduce user stress as much as possible.
[0006] In one aspect, an object of the present invention is to provide a method for creating training data that reduces the burden on a user when creating training data. [Means for solving the problem]
[0007] The training data generation method involves a computer executing a process to obtain a microscopic image of a sample photographed using a microscope, generate a line drawing based on the microscopic image, create a binary image by filling in the inside of a closed curve contained in the line drawing, display the microscopic image, the line drawing, and the binary image side by side, accept correction instructions related to the line drawing, re-create the binary image based on the line drawing corrected based on the correction instructions, and record the microscopic image and the binary image in association with each other. Effect of the Invention
[0008] In one aspect, it is possible to provide a method for creating training data that reduces the burden on a user when creating training data. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is an explanatory diagram outlining a process of collecting training data and generating a learning model. [Diagram 2] FIG. 1 is an explanatory diagram illustrating a configuration of a texture analysis system. [Diagram 3] FIG. 1 is an explanatory diagram for explaining a learning model. [Figure 4] FIG. 4 is an explanatory diagram illustrating a flow of a binarization process. [Diagram 5] This is an example screen. [Figure 6] This is an example screen. [Figure 7] This is an example screen. [Figure 8] This is an example screen. [Figure 9] 13 is a flowchart illustrating the processing flow of the program at the training DB creation stage. [Figure 10] 13 is a flowchart illustrating the processing flow of a program at the learning model generation stage. [Figure 11] 13 is a flowchart explaining the processing flow of the program at the learning model utilization stage. [Figure 12] FIG. 11 is an explanatory diagram illustrating a configuration of a texture analysis system according to a second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] [Embodiment 1] Microstructural analysis is performed to analyze the state of fine crystal structures and precipitates in materials. Microstructural analysis is often performed by visual observation of microscopic images. However, when comparing multiple materials, it is desirable to quantitatively calculate evaluation values such as the size and number of precipitates for each microscopic image.
[0011] When the number of samples is small, an expert can calculate the evaluation value by tracing the precipitates in each microscopic image. However, tracing takes time and requires specialized knowledge. It is expected that the burden on experts can be significantly reduced by using a learning model56 (see Figure 2) generated by machine learning for tracing.
[0012] However, in order to generate a highly reliable learning model 56, a large number of sets of training data 511 combining input microscopic images and highly accurate tracing results are required. Furthermore, since the learning model 56 needs to be generated for each material, for example, when a new material is developed, a large number of sets of training data 511 related to the material needs to be created. In this embodiment, the burden on the expert when creating the training data 511 is reduced.
[0013] Fig. 1 is an explanatory diagram for explaining an overview of a process for collecting training data 511 and generating a learning model 56. First, a sample 39 (see Fig. 2) suitable for microscopic observation is prepared. In the following explanation, a case where the material of the sample 39 is special steel will be explained as an example. Special steel includes, for example, tool steel, structural steel, stainless steel, spring steel, and free-cutting steel.
[0014] The material of the sample 39 is not limited to special steel. The material of the sample 39 may be a metal material such as aluminum, copper, or various alloys. The material of the sample 39 may be a resin material such as FRP (Fiber Reinforced Plastics) or engineering plastics. The material of the sample 39 may be a ceramic material such as alumina, zirconia, ferrite, or silicon nitride.
[0015] In the following description, a scanning electron microscope (SEM) is used as the microscope 30 (see FIG. 2). The microscope 30 may be a focused ion beam scanning electron microscope (FIB-SEM) capable of processing a sample 39 in a chamber of the SEM.
[0016] The microscope 30 may be an optical microscope such as a metallurgical microscope. If a sufficiently thin sample 39 can be prepared, the microscope 30 may be a transmission electron microscope. The microscope 30 may be an EPMA (Electron Probe Micro Analyzer), an atomic force microscope, a tunneling microscope, a laser microscope, or the like. A microscope 30 having specifications according to the dimensions, type, and the like of the microstructure to be observed is appropriately selected and used.
[0017] The preparation of the sample 39 will be described in detail. A flat plate-shaped sample 39 having dimensions that allow it to fit into the chamber of the microscope 30 is prepared. The surface of the sample 39 is smoothed by physical polishing and electrolytic polishing. The conditions for these polishing processes are determined so that the surface of the sample 39 is smoothed to a degree suitable for observation with the microscope 30 without being damaged by the polishing.
[0018] After the electropolishing, a process of corroding the surface of the sample 39 using a dissolving solution, or a process of coating the surface of the sample 39 with a thin metal film may be performed. The sample 39 is prepared using an appropriate method according to various conditions such as the material, the microstructure to be observed, and the specifications of the microscope 30 to be used.
[0019] The prepared sample 39 is placed in the chamber of the microscope 30 and photographed. An example of an SEM image 61 photographed by the microscope 30 is shown in the upper right corner of Fig. 1. The SEM image 61 is an example of a microscopic image photographed by the microscope 30. The photographing conditions for the SEM image 61 are determined so that the contrast of the microstructure to be observed can be clearly obtained.
[0020] A binarization process is performed to generate a black and white uncorrected binary image 621 (see FIG. 4) based on the SEM image 61. The binarization process will be described in detail later. The uncorrected binary image 621 is displayed on the display unit 25 (see FIG. 2). The user operates the input unit 26 (see FIG. 2) to give instructions to correct the uncorrected binary image 621. An example of a user interface for receiving the correction instructions will be described later.
[0021] Based on the correction instructions from the user, a corrected binary image 622 is generated. The corrected binary image 622 is an example of an image recreated based on the correction instructions from the user. The corrected binary image 622 is an image obtained by tracing the parts of the SEM image 61 that are involved in the calculation of the evaluation value and omitting the parts that are not involved in the calculation of the evaluation value. Table 1 shows examples of evaluation values related to particulate microstructures (precipitates). Any of the evaluation values can be calculated by performing known calculation processing on the corrected binary image 622.
[0022] The SEM image 61 and a corrected binarized image 622 created based on the SEM image 61 constitute a set of training data 511. The training data 511 is recorded in a training DB 51 (see FIG. 2). A learning model 56 is generated by machine learning using the training DB 51 in which multiple sets of training data 511 are recorded. A method of generating the learning model 56 will be described later.
[0023] Fig. 2 is an explanatory diagram illustrating the configuration of the texture analysis system 10. The texture analysis system 10 includes an information processing device 20 and a microscope 30. Note that the microscope 30 in Fig. 2 is a schematic diagram of a scanning electron microscope.
[0024] The information processing device 20 includes a control unit 21, a main memory device 22, an auxiliary memory device 23, a communication unit 24, a display unit 25, an input unit 26, and a bus. The control unit 21 is an arithmetic and control device that executes the program of this embodiment. The control unit 21 uses one or more central processing units (CPUs), graphics processing units (GPUs), multi-core CPUs, or the like. The control unit 21 is connected to each hardware unit constituting the information processing device 20 via the bus.
[0025] The main memory device 22 is a storage device such as an SRAM (Static Random Access Memory), a DRAM (Dynamic Random Access Memory), a flash memory, etc. The main memory device 22 temporarily stores information required during processing performed by the control unit 21 and programs being executed by the control unit 21.
[0026] The auxiliary storage device 23 is a storage device such as an SRAM, a flash memory, a hard disk, or a magnetic tape. The auxiliary storage device 23 stores a training DB 51, a learning model 56, a program to be executed by the control unit 21, and various data required for executing the program. The training DB 51 may be stored in an external large-capacity storage device connected to the information processing device 20. The communication unit 24 is an interface that performs communication between the information processing device 20 and the microscope 30, and between the information processing device 20 and a network.
[0027] The display unit 25 is, for example, a liquid crystal display device or an organic EL (Electro Luminescence) display device. The input unit 26 is, for example, an input device such as a keyboard, a mouse, a trackball, or a microphone. The display unit 25 and the input unit 26 may be integrally laminated to form a touch panel.
[0028] The information processing device 20 of this embodiment is an information device such as a general-purpose personal computer, a tablet, a smartphone, or a server computer. The information processing device 20 may be a mainframe computer, a virtual machine running on a mainframe computer, a cloud computing system, a quantum computer, or a plurality of personal computers performing distributed processing. The information processing device 20 may be integrated with the microscope 30 and may also serve as a control device for the microscope 30.
[0029] An outline of the configuration of a scanning electron microscope will be described with reference to Fig. 2. The scanning electron microscope includes an objective lens 31, a BSE (Back Scattered Electron) detector 33, and an SE (Secondary Electron) detector 34, located near a sample stage that holds a sample 39. An electron beam 32 emitted from an electron gun (not shown) is converged on the surface of the sample 39 by the objective lens 31. In the following description, the distance between the objective lens 31 and the sample 39 is referred to as a working distance WD.
[0030] The backscattered electrons reflected by the sample 39 are detected by the BSE detector 33. The secondary electrons emitted from the sample 39 are detected by the SE detector 34. The electron beam 32 scans the surface of the sample 39 by the action of a scanning coil (not shown).
[0031] An SEM image 61 is formed from the detection results by the BSE detector 33 and the detection results by the SE detector 34. The image quality of the SEM image 61 varies depending on the acceleration voltage of the electron beam 32, the working distance WD, and the type of detector.
[0032] The user determines the imaging conditions so that the microstructure to be evaluated can be clearly depicted. The microscope 30 may be provided with a function for automatically adjusting the imaging conditions.
[0033] It is not necessary for the information processing device 20 and the microscope 30 to be directly connected. For example, the SEM image 61 may be uploaded from the microscope 30 to a network drive (not shown), and the control unit 21 may acquire the SEM image 61 from the network drive. The SEM image 61 may be stored in a storage device (not shown) in the microscope 30, and the user may load the SEM image 61 into the information processing device 20 via a USB (Universal Serial Bus) memory or the like.
[0034] 3 is an explanatory diagram for explaining the learning model 56. The learning model 56 is generated using machine learning so as to receive an input of an SEM image 61 and output a binarized image 62 obtained by tracing a portion involved in the calculation of an evaluation value. A training DB 51 in which many sets of training data 511 described using FIG. 1 are recorded is used to generate the learning model 56. A method for generating the learning model 56 will be described later.
[0035] The control unit 21 performs known arithmetic processing on the binarized image 62 output from the learning model 56, and calculates the evaluation value exemplified in Table 1. The learning model 56 may be configured to accept an input of an SEM image 61 and output an evaluation value.
[0036] [Training DB51 creation stage] The stage of creating the training DB 51 used to generate the learning model 56 will be described. FIG. 4 is an explanatory diagram illustrating the flow of the binarization process. The control unit 21 acquires an SEM image 61 captured by the microscope 30. The SEM image 61 is a grayscale image. In the following explanation, an example will be given of a case where a pre-correction binarized image 621 is generated by extracting a granular microstructure from the SEM image 61.
[0037] The control unit 21 performs a smoothing process on the SEM image 61 to generate a smoothed image 63. The smoothing process is performed using, for example, a Gaussian filter or a moving average filter. The smoothed image 63 is a grayscale image. Figure 4 shows an example in which a 5x5 Gaussian filter is used for the smoothing process.
[0038] The control unit 21 performs edge extraction processing on the smoothed image 63 to generate an edge extraction image 64. The edge extraction processing is performed using, for example, a Sobel filter, a PreWitt filter, or a difference filter. FIG. 4 shows an example in which a 3×3 Sobel filter is used for the edge extraction processing. The edge extraction image 64 is a grayscale image that shows the extracted edges with a white gradation. In the edge extraction image 64, the higher the brightness of the white, the greater the change in pixel value, i.e., the stronger the edge.
[0039] The control unit 21 performs non-maximum suppression processing on the edge extraction image 64 to generate a non-maximum suppressed image 65. The non-maximum suppression processing is a processing for dividing each pixel constituting the edge extraction image 64 into pixels where the edge strength is maximum and other pixels, and thinning the edge extraction image 64. For example, the Canny method is used for the non-maximum suppression processing. The edge extraction image 64 is a black and white binary image. In FIG. 4, the thinned edges are shown in black, and the other parts are shown in white. The non-maximum suppressed image 65 is an example of a line drawing generated based on the SEM image 61.
[0040] The control unit 21 extracts a closed curve from the non-maximum suppressed image 65, and generates a closed curve extracted image 66 by filling in the inside of the closed curve. The closed curve extracted image 66 is a black and white binary image. The control unit 21 performs subtraction and expansion processing on the closed curve extracted image 66, and generates a pre-correction binary image 621 by erasing lines that do not constitute a closed curve.
[0041] The subtraction process is a process of subtracting the non-maximum suppressed image 65 from the closed curve extraction image 66 to extract the part inside the closed curve. The expansion process is a process of expanding the extracted part using a dilation filter. Note that, instead of the subtraction and expansion processes, expansion and contraction processes may be performed.
[0042] 4, a pre-correction binary image 621 can be generated in which the granular microstructure to be observed is extracted from the SEM image 61. Note that the types of image processing filters and the filter sizes described above are all examples. The user determines the detailed conditions of the binary processing through prior consideration so that the target microstructure can be appropriately extracted from the SEM image 61.
[0043] Figures 5 to 8 are examples of screens. After the binarization process is completed, the control unit 21 displays the screen shown in Figure 5 on the display unit 25. An SEM image 61, a non-maximum suppressed image 65, and a pre-correction binarized image 621 are arranged side by side in the center of the screen. A pencil button 71 and an eraser button 72 are arranged in the upper part of the screen. Figure 5 shows the state when the pencil button 71 is selected.
[0044] At the bottom of the screen are arranged a reflect button 75, a stop button 77, and an end button 76. Note that the screen may also be arranged with buttons for changing the contrast of the SEM image 61, for example, or for resetting the edited contents.
[0045] In response to the selection of the pencil button 71, the control unit 21 displays a pencil cursor 711 on the display unit 25. The user operates the pencil cursor 711 via the input unit 26 to input an instruction to add a contour line, for example by tracing the contour of a microstructure that was not extracted in the binarization process. FIG. 5 shows a state in which the contour of one microstructure has been traced halfway. After completing drawing the necessary lines, the user selects the reflect button 75.
[0046] The user may operate the pencil cursor 711 to draw a line on the non-maximum suppressed image 65 or the pre-correction binary image 621. The control unit 21 handles the line drawn on the non-maximum suppressed image 65 or the pre-correction binary image 621 in the same manner as a line drawn at a corresponding location on the SEM image 61.
[0047] 6 shows an example of a screen displayed by the control unit 21 on the display unit 25 after accepting selection of the reflect button 75. The contour line traced by the user is thinned and reflected in the non-maximum suppressed image 65. In place of the pre-correction binary image 621, a corrected binary image 622 in which the closed curve in the non-maximum suppressed image 65 is filled in is displayed. The corrected binary image 622 is an image re-created based on the corrected non-maximum suppressed image 65.
[0048] After confirming that the corrected binarized image 622 is as intended, the user selects the end button 76. As described with reference to FIG. 1, a set of training data 511 that associates the SEM image 61 with the corrected binarized image 622 is recorded in the training DB 51. For example, if a suitable SEM image 61 has not been captured, the user selects the stop button 77. The control unit 21 discards the SEM image 61 being processed.
[0049] 7 shows an example of processing for another SEM image 61. As in FIG. 5, the SEM image 61, the non-maximum suppressed image 65, and the uncorrected binarized image 621 are displayed side by side. The eraser button 72 is selected by the user. The control unit 21 displays the eraser cursor 722 on the display unit 25.
[0050] The user operates the eraser cursor 722 via the input unit 26 to input an instruction to delete unnecessary portions in the non-maximum suppressed image 65. Furthermore, the user may select the pencil button 71 to input an instruction to add necessary lines, as described using Figures 6 and 7. Thereafter, the user selects the reflect button 75.
[0051] The user may erase a part of the pre-correction binary image 621 by operating the eraser cursor 722. The control unit 21 handles an instruction to erase the pre-correction binary image 621 in the same way as an instruction to erase a corresponding location of the non-maximum-suppressed image 65.
[0052] 8 shows an example of a screen that the control unit 21 displays on the display unit 25 after accepting selection of the reflect button 75. Instead of the pre-correction binarized image 621, a post-correction binarized image 622 in which the closed curve in the non-maximum suppressed image 65 edited by the user is filled in is displayed.
[0053] After confirming that the corrected binarized image 622 is as intended, the user selects the finish button 76. As described using FIG. 1, a set of training data 511 that associates the SEM image 61 with the corrected binarized image 622 is recorded in the training DB 51.
[0054] By using the non-maximum suppressed image 65 and the uncorrected binarized image 621, the user can significantly reduce the effort required to create the corrected binarized image 622, compared to using an image obtained by simply thresholding the SEM image 61. Therefore, the training DB 51 in which a sufficient amount of training data 511 is recorded can be created in a short period of time.
[0055] 9 is a flowchart explaining the flow of processing of the program at the stage of creating the training DB 51. The control unit 21 acquires one SEM image 61 (step S501). The control unit 21 performs a smoothing process on the SEM image 61 to generate a smoothed image 63 (step S502). The control unit 21 performs an edge extraction process on the smoothed image 63 to generate an edge-extracted image 64 (step S503).
[0056] The control unit 21 performs non-maximum suppression processing on the edge extraction image 64 to generate a non-maximum suppressed image 65 (step S504). The control unit 21 extracts a closed curve from the non-maximum suppressed image 65 and generates a closed curve extracted image 66 by filling in the inside of the closed curve (step S505). The control unit 21 performs subtraction and expansion processing on the closed curve extracted image 66 to generate a pre-correction binarized image 621 (step S506).
[0057] The control unit 21 displays the screen described with reference to Fig. 5 and Fig. 7 on the display unit 25 (step S507). The control unit 21 accepts correction instructions such as adding and deleting lines (step S508). The control unit 21 determines whether or not selection of the Reflect button 75 has been accepted (step S509).
[0058] When it is determined that the selection of the reflect button 75 has been accepted (YES in step S509), the control unit 21 generates the corrected binarized image 622 and displays the screen described with reference to Figures 6 and 8 (step S510). The control unit 21 returns to step S508.
[0059] When it is determined that the selection of the Reflect button 75 has not been accepted (NO in step S509), the control unit 21 determines whether or not the selection of the End button 76 has been accepted (step S511). When it is determined that the selection of the End button 76 has been accepted (YES in step S511), the control unit 21 creates a new record in the training DB 51 and records the training data 511 in which the SEM image 61 and the corrected binarized image 622 are associated with each other (step S522). Note that the control unit 21 does not reflect lines drawn using the pencil cursor 711 in the SEM image 61 recorded in the training DB 51.
[0060] If it is determined that the selection of the end button 76 has not been accepted (NO in step S511), that is, if the selection of the stop button 77 has been accepted, or after step S522 has ended, the control unit 21 ends the process.
[0061] By the above processing, a set of training data 511 is recorded in the created training DB 51. The training data 511 created by each of the multiple texture analysis systems 10 may be recorded in one training DB 51. It is preferable that a training DB 51 is created for each material of the sample 39 and each microstructure to be evaluated. Using each training DB 51, a learning model 56 is generated by the processing described below.
[0062] [Generation stage of learning model 56] 10 is a flowchart for explaining the flow of processing of the program at the learning model generation stage. The program of FIG.
[0063] Prior to the execution of the program in Fig. 10, an unlearned model such as a U-net structure that accepts an image input and outputs a new image is prepared. The parameters of the unlearned model are adjusted by the program in Fig. 10, and the learning model 56 described using Fig. 3 is generated.
[0064] The control unit 21 acquires a training record from the training DB 51 (step S601). The control unit 21 inputs the SEM image 61 included in the acquired training record to the learning model 56 during training, and acquires an output image (step S602). In the following description, the image output from the learning model 56 during training is referred to as an output image during training.
[0065] The control unit 21 adjusts the parameters of the learning model 56 using a technique such as backpropagation so that the difference between the corrected binarized image 622 included in the training record acquired in step S601 and the output image during training is reduced (step S603).
[0066] The control unit 21 determines whether to end the parameter adjustment (step S604). For example, when the learning is repeated a predetermined number of times defined by the hyperparameter, the control unit 21 determines to end the process. The control unit 21 may obtain test data from the training DB 51, input the test data to the learning model 56 under training, and determine to end the process when an output of a predetermined accuracy is obtained.
[0067] If it is determined that the process should not be terminated (NO in step S604), the control unit 21 returns to step S601. If it is determined that the process should be terminated (YES in step S604), the control unit 21 records the learning model 56 including the adjusted parameters in the auxiliary storage device 23 (step S605). Thereafter, the control unit 21 terminates the process. This completes the generation of the learning model 56.
[0068] An example of the results of evaluating the accuracy of the generated learning model 56 will be described below. An unknown SEM image 61 is input to the learning model 56, and the portion where the binarized image 62 output from the learning model 56 matches the binarized image 62 obtained by manually processing the same SEM image 61 by an expert is defined as the "correct answer." The accuracy of the learning model 56 is evaluated as the ratio of the area of the "correct answer" portion to the area of the entire image, that is, the accuracy rate.
[0069] The accuracy rate increased up to 30 epochs and saturated at 34 epochs. The accuracy rate at saturation was 99.8%. When an unknown SEM image 61 was input to the learning model 56, it took about 14 seconds for a binarized image 62 to be output. The time required for an expert to manually process the same SEM image 61 was about 30 minutes. As a result, a learning model 56 was realized that can generate a binarized image 62 that is comparable to one created by an expert, in less than 1% of the time it would take an expert to do so.
[0070] 10 may be executed by hardware other than the information processing device 20. For example, by using hardware suitable for machine learning, such as a TPU (Tensor Processing Unit), in the control unit 21, it is expected that the machine learning can be performed at a high speed.
[0071] The learning model 56 generated by the program described with reference to FIG. 10 is distributed to a plurality of tissue analysis systems 10 via a network, for example, and used therein.
[0072] [Learning Model 56 Usage Stage] Fig. 11 is a flowchart explaining the flow of processing of the program at the stage of using the learning model 56. Prior to executing the program explained using Fig. 11, the user selects the learning model 56 according to the material of the sample 39 to be observed and the microstructure to be evaluated. The user selects the evaluation item for which the evaluation value is to be calculated.
[0073] The user places the sample 39 in the chamber of the microscope 30 and captures the SEM image 61. The user adjusts the imaging conditions so that the contrast of the microstructure to be observed can be clearly obtained. After that, the user issues an instruction to start the program described with reference to FIG. 11.
[0074] The control unit 21 acquires an SEM image 61 from the microscope 30 (step S701). The control unit 21 inputs the SEM image 61 to the learning model 56 and acquires an output binarized image 62 (step S702). The control unit 21 calculates an evaluation value for the evaluation item selected by the user based on the binarized image 62 (step S703). Various evaluation values are used depending on the microstructure to be evaluated, but since the algorithm for calculating the evaluation value is publicly known, a description thereof will be omitted.
[0075] A calculation algorithm for the evaluation value, which is uniquely defined by the user and specifies the calculation method, may be stored in the auxiliary storage device 23. The control unit 21 displays the calculated evaluation value on the display unit 25 (step S704). The control unit 21 may display the SEM image 61 and the binarized image 62 together with the evaluation value on the display unit 25. Thereafter, the control unit 21 ends the process.
[0076] According to this embodiment, it is possible to provide a structure analysis system 10 that imposes a smaller burden on creating training data 511 than the analysis system disclosed in Patent Document 1. Therefore, it is possible to provide a structure analysis system 10 that creates various learning models 56 according to, for example, the material of the sample 39 and the microstructure to be evaluated, and allows the user to select an appropriate learning model 56 according to the purpose.
[0077] According to this embodiment, it is possible to provide a learning model 56 that can generate a binarized image 62 in a short time with an accuracy comparable to that of manual work by an expert. For example, by incorporating the learning model 56 into the microscope 30, it is possible to realize a microscope 30 that outputs a binarized image 62 almost simultaneously with capturing a microscopic image.
[0078] According to the present embodiment, it is possible to provide a texture analysis system 10 that can generate a binarized image 62 in a short time and quickly calculate an evaluation value. Therefore, it is possible to provide a texture analysis system 10 that can quantitatively examine the microstructures of a large number of samples 39.
[0079] The main storage device 22 may perform processing such as extracting particles in a predetermined size range for the uncorrected binary image 621 described with reference to Fig. 4. For example, the control unit 21 may generate a corrected binary image 622 in which a particulate microstructure (precipitate) having a diameter of several micrometers is extracted, and a corrected binary image 622 in which a particulate microstructure (precipitate) having a diameter of about 20 micrometers is extracted, and record them in separate training DBs 51. By using the respective training DBs 51, the control unit 21 can generate a learning model 56 that extracts a particulate microstructure (precipitate) having a diameter of several micrometers, and a learning model 56 that extracts a particulate microstructure (precipitate) having a diameter of about 20 micrometers.
[0080] [Variations] After generating a learning model 56 for one material, a new learning model 56 may be generated by additional learning using training data 511 created using samples 39 with different heat treatment conditions, etc. As a specific example, a new learning model 56 with an accuracy rate of about 98 percent for a material with a heat treatment condition different from that of the original learning model 56 could be generated by additional learning using four sets of training data 511.
[0081] [Embodiment 2] The tissue analysis system 10 of this embodiment includes a general-purpose computer 90 and a microscope 30. Fig. 12 is an explanatory diagram illustrating the configuration of the tissue analysis system 10 of embodiment 2. The computer 90 includes a control unit 21, a main storage device 22, an auxiliary storage device 23, a communication unit 24, a display unit 25, an input unit 26, a reading unit 29, and a bus.
[0082] The program 97 is recorded in a portable recording medium 96. The control unit 21 reads the program 97 via the reading unit 29 and stores it in the auxiliary storage device 23. The control unit 21 may also read out the program 97 stored in a semiconductor memory 98 such as a flash memory implemented in the computer 90. Furthermore, the control unit 21 may download the program 97 from another server computer (not shown) connected via the communication unit 24 and a network (not shown), and store it in the auxiliary storage device 23.
[0083] The program 97 is installed as a control program for the computer 90, and is loaded into and executed by the main storage device 22. This causes the computer 90 to function as the above-mentioned information processing device 20. The program 97 is an example of a program product.
[0084] The computer 90 is a general-purpose personal computer, a tablet, a smartphone, a mainframe computer, a virtual machine running on a mainframe computer, a cloud computing system, or a quantum computer. The computer 90 may be a plurality of personal computers performing distributed processing.
[0085] A computer program can be deployed to be executed on a single computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
[0086] The technical features (constitutive elements) described in each embodiment can be combined with each other, and by combining them, new technical features can be formed. The embodiments disclosed herein are illustrative in all respects and should not be considered as limiting. The scope of the present invention is defined by the claims, not by the above meaning, and is intended to include all modifications within the scope and meaning equivalent to the claims.
[0087] Independent claims and dependent claims described in the claims may be combined with each other in any combination, regardless of the reference format. Furthermore, the claims may be written in a format in which a claim references two or more other claims (multiple claim format), but this is not limited to this format. The claims may also be written in a format in which a multiple claim references at least one other claim (multiple multiple claim format). [Explanation of symbols]
[0088] 10. Tissue Analysis System 20 Information processing device 21 Control section 22 Main storage 23 Auxiliary storage device 24 Communications Department 25 Display section 26 Input section 29 Reading unit 30 Microscope 31 Objective Lens 32 Electron Beam 33 BSE detector 34 SE detector 39 Samples 51 Training DB 511 Training Data 56 Learning Model 61 SEM image (microscope image) 62 Binarized Images 621 Uncorrected binary image (binary image) 622 Corrected binary image (binary image) 63 Smoothed Image 64 Edge Extraction Images 65 Non-maximal suppression images (line drawings) 66 Closed curve extraction images 71 Pencil button 711 Pencil Cursor 72 Eraser button 722 Eraser Cursor 75 Reflect button 76 Exit button 77 Stop button 90 Computer 96 Portable recording media 97 Program 98 Semiconductor Memory
Claims
1. Obtaining a microscopic image of the sample using a microscope; generating a line drawing based on the microscopic image; A binarized image is created by filling in the interior of the closed curve included in the line drawing; displaying the microscopic image, the line drawing, and the binarized image side by side; accepting correction instructions regarding the line drawing; recreating the binarized image based on the line drawing corrected based on the correction instruction; The microscope image and the binarized image are recorded in association with each other. A method for creating training data for processing by a computer.
2. The microscope is a scanning electron microscope. The training data generating method according to claim 1 .
3. The correction instruction is an addition instruction or a deletion instruction for the line drawing. The training data generating method according to claim 1 .
4. The line drawing is smoothing the microscopic image; generating an edge-extracted image by extracting edges from the smoothed microscopic image; A non-maximum suppression process is performed on the edge extraction image to generate a The training data generating method according to any one of claims 1 to 3.
5. Obtaining a microscopic image of the sample using a microscope; generating a line drawing based on the microscopic image; A binarized image is created by filling in the interior of the closed curve included in the line drawing; displaying the microscopic image, the line drawing, and the binarized image side by side; accepting correction instructions regarding the line drawing; recreating the binarized image based on the line drawing corrected based on the correction instruction; The microscope image and the binarized image are recorded in association with each other. A program that causes a computer to carry out processing.
6. An information processing device including a control unit, The control unit is Obtaining a microscopic image of the sample using a microscope; generating a line drawing based on the microscopic image; A binarized image is created by filling in the interior of the closed curve included in the line drawing; displaying the microscopic image, the line drawing, and the binarized image side by side; accepting correction instructions regarding the line drawing; recreating the binarized image based on the modified line drawing; The microscope image and the binarized image are recorded in association with each other. Information processing device.
7. Obtaining a microscopic image of the sample taken using a microscope; generating a line drawing based on the microscopic image; A binarized image is created by filling in the interior of the closed curve included in the line drawing; displaying the microscopic image, the line drawing, and the binarized image side by side; accepting correction instructions regarding the line drawing; Recreate the binarized image based on the corrected line drawing, recording training data relating the microscopic image and the binarized image; Using a plurality of sets of the training data, a learning model is generated in which the microscopic image is input and the binarized image is output, and when the microscopic image is input, the binarized image is output. Learning model generation method.
8. Obtaining a microscopic image of the sample taken using a microscope; Inputting the acquired microscope image into a learning model that outputs a binary image when a microscope image is input, and acquiring the binary image output from the learning model; An evaluation value calculated based on the acquired binarized image is output. How the sample is evaluated.
Citation Information
Patent Citations
Image processing method and device for extracting grain boundary
JP2021149222A
