Computer system and method for generating data used to train model for executing image segmentation
The computer system iteratively segments and integrates images using rule-based processing, addressing inefficiencies in existing methods by allowing users to select representative images without complex parameter adjustments, thus enhancing the efficiency of creating training data for image segmentation models.
Patent Information
- Application Number
- PCT/JP2024/013827
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-27
- Filing Date
- 2024-04-03
- Publication Date
- 2024-10-31
AI Technical Summary
The existing methods for creating training data for machine learning models in image segmentation are inefficient, particularly for annotators without image processing knowledge, as they require manual parameter adjustments and struggle with producing accurate preliminary segmentation.
A computer system that generates data for image segmentation by iteratively segmenting and integrating images using rule-based processing, allowing users to select representative images without detailed parameter adjustments, and automatically inferring selections based on usage history for improved efficiency.
This approach enables annotators to produce accurate and efficient preliminary segmentation for image segmentation models, reducing the time and expertise required for creating training data, and facilitating the generation of teacher images for machine learning models.
Smart Images

Figure JP2024013827_31102024_PF_FP_ABST
Abstract
Description
Computer system and method for generating data used to train a model for performing image segmentation Incorporation by Reference
[0001] This application claims priority from Japanese Patent Application No. 2023-73617, filed on April 27, 2023, the contents of which are incorporated herein by reference.
[0002] The present invention relates to a system and method for generating data for use in training models that perform image segmentation.
[0003] Patent Document 1 describes an image segmentation system for supporting the training of machine learning models, and also describes the use of preliminary segmentation (coloring results) generated using existing non-machine learning image processing methods during annotation.
[0004] Japanese Patent Application Laid-Open No. 2021-002338
[0005] Training a machine learning model requires training data, and when training a machine learning model for image segmentation, training data (training images) is required in which objects in the image are colored according to their type. The task of creating training data, also known as annotation, is necessary for creating a machine learning model, and because it takes a long time, it is desirable to make it more efficient.
[0006] Patent Literature 1 describes the use of results obtained using a partially trained segmentation and discrimination model for annotation. If a partially trained segmentation and discrimination model can be used, relatively good results may be obtained, and it is expected that annotation work will become more efficient. However, because training data is required even for partial training, this method can only be applied after a certain amount of training data has been created.
[0007] Patent Literature 1 also describes performing preliminary segmentation using a non-machine learning image processing method, which can be applied even to the very first annotation (creation of training data). However, as described above, it often results in rough or general preliminary segmentation, and it is generally difficult to perform good segmentation using non-machine learning image processing methods. One reason for this is that non-machine learning image processing methods require parameter settings, and good results cannot be obtained unless these settings are properly performed. When image processing experts perform the settings, even if they can grasp the impact of changing parameters, they may not be familiar with the objects in the image, making it difficult to determine how the objects should be colored as a result of the preliminary segmentation. On the other hand, annotators, who are responsible for annotation, can determine how the objects in the image should be colored, but they are not necessarily familiar with image processing, making it difficult to properly set the parameters.
[0008] Due to the above circumstances, there is a demand for a technology that can be applied even when creating initial training data and that allows even annotators with no knowledge of image processing to perform appropriate preliminary segmentation.
[0009] A representative example of the invention disclosed in the present application is as follows: That is, a computer system for generating data to be used in training a model for performing image segmentation, which receives an input of an image, generates a plurality of segmented images by executing a segmentation process on the image a plurality of times while changing a first parameter used in the segmentation process for dividing the image into a plurality of segments, generates a plurality of segmented images by executing a segment integration process on a segmented image selected from the plurality of segmented images a plurality of times while changing a second parameter used in the segment integration process for integrating at least one segment included in the segmented images, and generates a plurality of segment-integrated images, and outputs the segment-integrated image selected from the plurality of segment-integrated images as data to be used in training the model.
[0010] According to the present invention, annotation work can be supported. Problems, configurations, and effects other than those described above will become apparent from the following description of the embodiments.
[0011] 1 is a diagram illustrating a hardware configuration of an image coating device according to a first embodiment; FIG. 2 is a diagram illustrating an example of a functional configuration of the image coating device according to the first embodiment; FIG. 3 is a flowchart illustrating an example of processing executed by the image coating device according to the first embodiment; FIG. 4 is a diagram illustrating an example of a screen presented by the image coating device according to the first embodiment; FIG. 5 is a diagram illustrating an example of a segment integration processing executed by the image coating device according to the first embodiment; FIG. 6 is a diagram illustrating an example of a screen presented by the image coating device according to the first embodiment; FIG. 7 is a diagram illustrating a hardware configuration of an image coating device according to a second embodiment; FIG. 8 is a diagram illustrating an example of a functional configuration of the image coating device according to the second embodiment; and FIG. 9 is a flowchart illustrating an example of processing executed by the image coating device according to the second embodiment.
[0012] Hereinafter, examples of a tissue image analysis device and a tissue image analysis method according to the present invention will be described with reference to the accompanying drawings. Note that the present invention should not be interpreted as being limited to the description of the following embodiments. Those skilled in the art will readily understand that the specific configurations can be modified within the scope of the concept and spirit of the present invention.
[0013] In the configuration of the invention described below, the same parts or parts having similar functions are denoted by the same reference numerals in different drawings, and duplicate explanations may be omitted. When there are multiple elements having the same or similar functions, they may be described using the same reference numerals with different subscripts. However, when there is no need to distinguish between multiple elements, the subscripts may be omitted.
[0014] The terms "first," "second," "third," and the like used in this specification are used to identify components and do not necessarily limit the number, order, or content of the components. Furthermore, numbers used to identify components are used in different contexts, and a number used in one context does not necessarily indicate the same configuration in another context. Furthermore, this does not prevent a component identified by a certain number from also serving the function of a component identified by another number.
[0015] In order to facilitate understanding of the invention, the position, size, shape, range, etc. of each component shown in the drawings etc. may not represent the actual position, size, shape, range, etc. Therefore, the present invention is not necessarily limited to the position, size, shape, range, etc. disclosed in the drawings etc.
[0016] One feature of the embodiment described in detail below is that the input image is subjected to rule-based segmentation and segment integration, and a number of representative output images are sequentially presented to the user, allowing the user to select one, resulting in a good color-coded image without the need for detailed parameter adjustment.
[0017] FIG. 1 is a diagram showing the hardware configuration of an image color-coding device 100 according to the first embodiment.
[0018] The image coloring device 100 includes a processor 110, a memory 111, a storage device 112, and a network adapter 113. The hardware elements are connected via a system bus 114 so as to be able to send and receive signals. A display device 115 and an input device 116 are also connected to the image coloring device 100. The image coloring device 100 is connected to an image input device 101 and an image database 102 via a network 103 so as to be able to send and receive signals.
[0019] Here, "being able to transmit and receive signals" refers to a state in which signals can be transmitted and received between each other or from one side to the other, regardless of whether the transmission is electrical or optical, wired, or wireless.
[0020] The processor 110 controls the operation of each hardware element and also executes a program 120 stored in the storage device 112 .
[0021] The memory 111 stores the program 120 executed by the processor 110 and the progress of the arithmetic processing.
[0022] The storage device 112 is a hard disk drive (HDD) or a solid state drive (SSD), and stores the program 120 executed by the processor 110 and data required for executing the program. The storage device 112 stores the program 120 for realizing the functional blocks described below.
[0023] The network adapter 113 connects to a network 103 such as a LAN (Local Area Network), a telephone line, the Internet, etc. Various data handled by the processor 110 may be transmitted to and received from the outside via the network 103.
[0024] The display device 115 is, for example, a liquid crystal display or a touch panel, and displays the analysis results of the image coloring device 100. The input device 116 is, for example, a keyboard, a mouse, a touch panel, and the like, and allows the user to give operational instructions to the image coloring device 100. A pointing device such as a trackpad or a trackball may be used instead of a mouse.
[0025] The image input device 101 is a device that captures and inputs an image, such as a digital camera, a scanning electron microscope, an optical microscope, etc. The image database 102 is a database that stores images captured by the image input device 101, etc.
[0026] Next, the functional configuration of the image color-coding device 100 will be described with reference to Fig. 2. Fig. 2 is a diagram showing an example of the functional configuration of the image color-coding device 100 according to the first embodiment.
[0027] The image coloring device 100 has, as functional blocks, a segment division unit 201, a segmented image output unit 202, a segment integration unit 203, and a segment-integrated image output unit 204. A program 120 for realizing these functional blocks is stored in the storage device 112. The storage device 112 also stores images captured by the image input device 101.
[0028] The segmentation unit 201 performs image processing to divide the image into regions with similar features based on the brightness, color, contours, etc. of the image. The image processing is performed according to rules based on specified parameters. The rules may be, for example, the quick shift method or the Felzenszwalb method.
[0029] Hereinafter, the image processing executed by the segmentation unit 201 will be referred to as segmentation processing, and an image generated by the segmentation processing will be referred to as a segmented image.
[0030] The segmentation unit 201 changes parameters and executes the segmentation process multiple times to generate multiple segmented images. Note that the parameters may be changed randomly or based on a predetermined rule. The present invention is not limited to a parameter change method.
[0031] The segmented image output unit 202 outputs one or more representative images from among the plurality of segmented images. The segmented image output unit 202 accepts a user's selection for the output images, and based on the selection result, outputs one or more segmented images similar to the selected segmented image.
[0032] The segment integration unit 203 evaluates the boundaries between segments of the segmented image and performs image processing to integrate the segments by removing unnecessary boundaries. This image processing includes a differentiation process for the input image, an overlay process for overlaying the differentiated image with the segment boundary lines, an index calculation process for calculating the degree of boundary unnecessaryness by comparing the edge components at the two boundaries with the edge components inside each of the two segments, and a boundary removal process for removing the boundaries based on the degree of unnecessaryness and integrating the segments.
[0033] Hereinafter, the image processing executed by the segment integration unit 203 will be referred to as segment integration processing, and an image generated by the segment integration processing will be referred to as a segment-integrated image.
[0034] The segment integration unit 203 changes the threshold value for the degree of boundary unnecessaryness and executes the segment integration process multiple times to generate multiple segment-integrated images. Note that the threshold value may be changed randomly or based on a predetermined rule. The present invention is not limited to a method for changing the threshold value.
[0035] The segment-integrated image output unit 204 outputs one or more representative images from the segment-integrated images. The segment-integrated image output unit 204 accepts a user's selection of the output images, and based on the selection result, outputs one or more segment-integrated images similar to the selected segment-integrated image.
[0036] Each functional block shown in Fig. 2 is realized by executing a program by the processor 110. Note that each functional block shown in Fig. 2 may be realized using dedicated hardware such as an ASIC (Application Specific Integrated Circuit) and an FPGA (Field-Programmable Gate Array).
[0037] It should be noted that, with regard to the functional blocks shown in FIG. 2, a plurality of functional blocks may be combined into one functional block, or one functional block may be divided into two or more functional blocks.
[0038] Next, a description will be given of the processing executed by the image separate-painting device 100. Fig. 3 is a flowchart illustrating an example of the processing executed by the image separate-painting device 100 according to the first embodiment.
[0039] The segmentation unit 201 acquires an image (step S301). The image may be acquired from the storage device 112 or from an external source (the image input device 101 or the image database 102) via the network adapter 113. The image may be, for example, a grayscale image taken with an electron microscope, or a color image taken with an optical microscope or a camera.
[0040] The segment division unit 201 executes a segment division process (step S302).
[0041] In the rule-based segmentation method, one or more setting parameters are used, and the segmentation unit 201 executes the segmentation process multiple times by changing the setting parameters, thereby generating multiple segmented images.
[0042] The segmented image output unit 202 displays one or more representative images from among the segmented images generated by the segmentation unit 201 (step S303).
[0043] The segmented image output unit 202 determines whether or not the selection of the segmented image is complete based on the user's operation (step S304).
[0044] If the selection of the segmented image is not completed (NO in step S304), the segmented image output unit 202 returns to step S303 and executes the same process. If the selection of the segmented image is completed (YES in step S304), the image coloring device 100 proceeds to step S305.
[0045] Here, a screen displayed by the image coloring device 100 when the segment division process is executed will be described with reference to Fig. 4. Fig. 4 is a diagram showing an example of a screen displayed by the image coloring device 100 according to the first embodiment.
[0046] The screen 401 includes a field for setting image division (setting field), a field for selecting an image (selection field), and a field for displaying the final selection result (confirmation field).
[0047] In the setting field, information about the input image, segmentation algorithm, parameters, etc. is set. In FIG. 4, the file name of an image showing a spherical object is specified. Furthermore, QuickShift is selected as the segmentation algorithm, and the kernel size is set as a setting parameter in the range of 3 to 20. Different setting parameters are displayed for each segmentation algorithm.
[0048] After the user sets the image and setting parameters in the setting field, the user presses the "Execute" button. It is assumed that "Manual" is selected in the image selection checkbox. The operation when "Automatic" is selected will be explained in Example 2. In response to this operation, the segmentation unit 201 executes segmentation processing. Furthermore, the segmented image output unit 202 selects a representative image from the multiple segmented images and displays it in the first selection row of the selection field.
[0049] For example, the segmented image output unit 202 selects and displays a predetermined number of segmented images based on the number of segments. In Fig. 4, three segmented images, namely, a segmented image with a large number of segments, a segmented image with a medium number of segments, and a segmented image with a small number of segments, are displayed as representative images.
[0050] The user looks at the representative image and selects from the options the image that is closest to what the user expects. In Figure 4, options A, C, and E corresponding to the image itself are displayed, as well as options B and D corresponding to images intermediate between the two images. As shown in Figure 4, option D is selected in the first selection.
[0051] When the user presses the "Continue" button, the segmented image output unit 202 selects new segmented images based on the selected segmented image and displays the new segmented images in the second selection row. For example, the segmented image output unit 202 selects a predetermined number of segmented images based on the similarity to the selected segmented image.
[0052] In FIG. 4, a segmented image selected based on a segmented image closest to option D is displayed. An image with an intermediate number of segments between option C and option E in the first selection is displayed as option C in the second selection. Option C is selected in the second selection. When the "Continue" button is pressed, segmented images are displayed in a similar procedure. By repeating this process multiple times, the user can accurately narrow down the image they require.
[0053] In FIG. 4, the third to fifth selections are omitted as they are made in the same manner, and the sixth selection shows a case where option C is selected and the "Done" button is pressed.
[0054] In the confirmation field, the input image and the segmented image of option C, selected the sixth time, are displayed side by side. The user checks the segmented image, and if there are no problems, presses the "OK" button to complete the selection of the segmented image.
[0055] The above is an explanation of the screen displayed when the segment division process is executed. Returning to the explanation of FIG.
[0056] In step S305, the segment integration unit 203 performs segment integration processing on the selected segmented image (step S305). In the segmentation processing, if an attempt is made to obtain a result that reflects the detailed shape of the object, the segments will be very small and will contain many unnecessary boundaries. Therefore, the segment integration processing is performed to integrate the unnecessary boundaries.
[0057] FIG. 5 is a diagram illustrating an example of the segment integration process executed by the image coloring device 100 according to the first embodiment.
[0058] In the segmented image 502 generated from the enlarged image 501 of the input image, in addition to the segment dividing lines corresponding to the contour of the spherical object in the enlarged image 501 of the input image, there are also segment dividing lines inside the spherical object.
[0059] When associating segments so that individual spheres can be identified, it is desirable to remove the segment dividing lines inside the spheres, which are unnecessary, and to integrate the segments. Therefore, the segment integration unit 203 calculates an index (degree of unnecessaryness) for identifying unnecessary segment dividing lines. Specifically, the degree of unnecessaryness is calculated using the following procedure.
[0060] (Step 1) The segment integration unit 203 performs differentiation processing on the input image to generate a differential image 503 .
[0061] (Step 2) The segment integration unit 203 superimposes the segment dividing lines of the segmented image 502 on the differential image 503 to generate a superimposed image 504 .
[0062] (Step 3) The segment integration unit 203 calculates the degree of unnecessaryness of the boundary line between the segments included in the two images.
[0063] As an example, in the case of two segments 505 to be compared, one segment is hatched with a grid pattern and the other is hatched with diagonal lines, the segment integrating unit 203 calculates a boundary component value by averaging the differential image values of the portions corresponding to the segment boundary line between them (the dotted line portion between the two segments). The segment integrating unit 203 also calculates an internal segment component value by averaging the differential image values of the portions corresponding to the grid or diagonal line hatched region. The segment integrating unit 203 calculates the ratio of the boundary component value to the internal segment component value as the degree of unnecessaryness. For example, if the ratio obtained by dividing the internal segment component value by the boundary component value is used as the degree of unnecessaryness, it can be determined that the larger the value, the better it is to remove the boundary and integrate the segments.
[0064] Here, the degree of integration of segments can be changed by varying the threshold value for the degree of unnecessaryness. In step S305, the segment integration unit 203 generates a plurality of segment-integrated images by varying the threshold value.
[0065] This concludes the description of the segment integration process. Returning to the description of FIG.
[0066] The segment integrated image output unit 204 displays one or more representative images from among the plurality of segment integrated images generated by the segment integration unit 203 (step S306).
[0067] The segment-integrated image output unit 204 determines whether or not the selection of the segment-integrated image is complete based on the user operation (step S307).
[0068] If the selection of the segment-integrated image is not completed (NO in step S307), the segment-integrated image output unit 204 returns to step S306 and executes the same process. If the selection of the segment-integrated image is completed (YES in step S307), the image coloring device 100 outputs the processing result (step S308) and ends the process.
[0069] The image coloring device 100 may output only the segment-integrated image as the processing result, or may output the input image and the segment-integrated image as the processing result. Also, the segment divided image may be included in the processing result.
[0070] Here, a screen displayed by the image coloring device 100 when the segment integration process is executed will be described with reference to Fig. 6. Fig. 6 is a diagram showing an example of a screen displayed by the image coloring device 100 according to the first embodiment.
[0071] The screen 601 includes a field for setting image integration (setting field), a field for selecting images (selection field), and a field for displaying the final selection result (confirmation field).
[0072] The setting field displays the segmented images selected by the user. Additionally, the number of segmented integrated images to be generated is set. This setting can be reflected in the fineness of the threshold for the degree of unnecessaryness of segment boundaries.
[0073] When the user operates the "Execute" button, the segment integration unit 203 executes the segment integration process. It is assumed that "Manual" is selected in the image selection checkbox. The operation when "Automatic" is selected will be described in Example 2. Furthermore, the segment-integrated image output unit 204 selects a representative image from the multiple generated segment-integrated images and displays it in the first selection row of the selection column.
[0074] For example, the segment-integrated image output unit 204 selects and displays a predetermined number of segment-integrated images based on the number of remaining segments. In Fig. 6, a segment-integrated image with a large number of remaining segments, a segment-integrated image with a medium number of remaining segments, and a segment-integrated image with a small number of remaining segments are displayed as representative images.
[0075] In FIG. 6, the representation of the segments has been changed from division lines to differences in color tone, and the format corresponds to the color-coded image for the annotation image (teacher image).
[0076] The user looks at the representative images and selects from the options the image that is closest to what the user expects. In Fig. 6, as in Fig. 4, options A, C, and E corresponding to the images themselves are displayed, as well as options B and D corresponding to images intermediate between the two images. As shown in Fig. 6, option E is selected in the first selection.
[0077] When the user presses the "Continue" button, the segment-integrated image output unit 204 selects a new segment-integrated image based on the selected segment-integrated image and displays the new segment-integrated image in the second selection row. For example, the segment-integrated image output unit 204 selects a predetermined number of segment-integrated images based on the similarity to the selected segment-integrated image.
[0078] In Figure 6, a segment integrated image selected based on a segment integrated image that is closest to option E is displayed. Option E from the first selection is displayed as option C in the second selection row. Option A displays an image with a larger number of segments than the segment integrated image, and option E displays an image with a smaller number of segments than the segment integrated image. Option C is selected in the second selection. If the "Continue" button is pressed, segment integrated images are displayed using the same procedure. By repeating this process multiple times, the user can accurately narrow down the images they require.
[0079] In FIG. 6, the third to fifth selections are omitted as they are made in the same manner, and the sixth selection shows a case where option C is selected and the "Done" button is pressed.
[0080] In the confirmation field, the input image and the segment-integrated image of the sixth selection, option C, are displayed side by side. The user sets a save location and presses the "OK" button to complete the selection of the segment-integrated image.
[0081] According to Example 1, the finally obtained segment-integrated image can be used for annotation work (creating a teacher image for a machine learning model). Since most of the segment-integrated image is colored as expected by the user, it is possible to generate the teacher image more efficiently and quickly than when generating the teacher image from the original image.
[0082] The image coloring device according to the embodiment of the present invention has been described above. The present invention is not limited to the above-described embodiment, and the components can be modified and embodied without departing from the spirit and scope of the invention.
[0083] In the first embodiment, the user manually selects images (segmented images and integrated segmented images). In the second embodiment, the image selection is performed automatically by utilizing the usage history of the image coloring device 100. The second embodiment will be described below, focusing on the differences from the first embodiment.
[0084] 7 is a diagram showing the hardware configuration of the image coloring device 100 of Example 2. The hardware configuration of the image coloring device 100 of Example 2 is the same as that of Example 1. However, in Example 2, a usage history 701 consisting of an input image, a final segmented image, and a final segmented integrated image is stored in the storage device 112.
[0085] The functional configuration of the image coloring device 100 of the second embodiment is partially different from that of the first embodiment. Fig. 8 is a diagram showing an example of the functional configuration of the image coloring device 100 of the second embodiment. The image coloring device 100 of the second embodiment newly includes an image selection inference unit 801.
[0086] The image selection inference unit 801 infers the selection of segmented images and segment-integrated images. The image selection inference unit 801 automatically selects images based on a model generated by machine learning using the usage history 701.
[0087] FIG. 9 is a flowchart illustrating an example of processing executed by the image color-coding device 100 according to the second embodiment.
[0088] The processes from step S901 to step S903 and step S905 to step S906 are the same as the processes from step S301 to step S303 and step S305 to step S306.
[0089] In the second embodiment, in step S904, the image selection and inference unit 801 selects one segmented image from the plurality of segmented images based on the input image. Also, in step S907, the image selection and inference unit 801 selects one segment-integrated image from the plurality of segment-integrated images based on the input image.
[0090] The user selects the "Auto" checkbox in the setting column of screen 401 and screen 601 and presses the "Execute button" to automatically select each image. In this case, the "Selection column" is not displayed, and the selection result is displayed in the "Confirmation column."
[0091] In step S908, the image color-coding device 100 outputs the processing result and stores the usage history 701 in the storage device 112.
[0092] As described above, according to the second embodiment, image selection can be automated by learning the image selection results made based on the know-how of a user with specialized knowledge. This makes it easier to obtain a segment-integrated image and further reduces the amount of work required for annotation work. Furthermore, when high accuracy is not required, image processing such as particle analysis can be applied to the obtained color-coded image and used to extract feature quantities such as particle diameter.
[0093] The present invention is not limited to the above-described embodiments, but includes various modifications. For example, the above-described embodiments are provided to explain the present invention in detail, and the present invention is not necessarily limited to those including all of the described configurations. Furthermore, some of the configurations of each embodiment can be added to, deleted from, or replaced with other configurations.
[0094] Furthermore, some or all of the above-described configurations, functions, processing units, processing means, etc. may be implemented in hardware, for example, by designing them as integrated circuits. The present invention can also be realized by software program code that implements the functions of the embodiments. In this case, a storage medium on which the program code is recorded is provided to a computer, and a processor included in the computer reads the program code stored in the storage medium. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiments, and the program code itself and the storage medium on which it is stored constitute the present invention. Examples of storage media for providing such program code include flexible disks, CD-ROMs, DVD-ROMs, hard disks, solid-state drives (SSDs), optical disks, magneto-optical disks, CD-Rs, magnetic tape, non-volatile memory cards, and ROMs.
[0095] Furthermore, the program code that realizes the functions described in this embodiment can be implemented in a wide range of programming or scripting languages, such as assembler, C / C++, perl, Shell, PHP, Python, and Java.
[0096] Furthermore, the program code of the software that realizes the functions of the embodiments may be distributed via a network and stored in a storage means such as a computer's hard disk or memory, or in a storage medium such as a CD-RW or CD-R, and the processor of the computer may read and execute the program code stored in the storage means or the storage medium.
[0097] In the above-described embodiment, the control lines and information lines are shown as those considered necessary for the explanation, and not all control lines and information lines are necessarily shown in the product. All components may be interconnected.
Claims
1. A computer system for generating data to be used in training a model for performing image segmentation, comprising: accepting an image as input; generating a plurality of segmented images by executing a segmentation process on the image a plurality of times while changing a first parameter used in the segmentation process to divide the image into a plurality of segments; generating a plurality of segmented images by executing a segment integration process on a segmented image selected from the plurality of segmented images a plurality of times while changing a second parameter used in the segment integration process to integrate at least one segment contained in the segmented images; and outputting the segment integrated image selected from the plurality of segment integrated images as data to be used in training the model.
2. A computer system as described in claim 1, characterized in that it provides a first interface for selecting the segmented image, selects a plurality of the segmented images to be presented to a user from among the plurality of segmented images based on the number of segments, and presents them via the first interface, and when it receives a request for re-presentation of the segmented images via the first interface, including specification of the segmented image, selects a plurality of the segmented images based on the specified segmented image, and presents them via the first interface.
3. A computer system as described in claim 1, further comprising: a second interface for selecting the segment integrated image; selecting a plurality of the segment integrated images to be presented to a user from among the plurality of segment integrated images based on the number of segments, and presenting the plurality of segment integrated images via the second interface; and when a request for re-presentation of the segment integrated image, including specification of the segment integrated image, is received via the second interface, the computer system selects a plurality of the segment integrated images based on the specified segment integrated image, and presents the plurality of segment integrated images via the second interface.
4. A computer system as described in claim 1, characterized in that the computer system accepts as input an image, which has been trained using a history including the image, the segmented images selected by a user, and the segment-integrated images selected by a user, holds a model for selecting the segmented images and the segment-integrated images, uses the model to select one of the segmented images from a plurality of the segmented images, and uses the model to select one of the segment-integrated images from a plurality of the segmented images.
5. A computer system as described in claim 1, characterized in that it generates a differential image of the image, calculates an index using the differential image and the selected segment division image to determine whether or not to integrate segments included in the selected segment division image, and integrates the segments included in the selected segment division image based on the index.
6. A method for generating data used in training a model for performing image segmentation executed by a computer system, comprising: a first step in which the computer system accepts an image as input; a second step in which the computer system generates a plurality of segmented images by executing a segmentation process on the image a plurality of times while changing a first parameter used in the segmentation process to divide the image into a plurality of segments; a third step in which the computer system generates a plurality of segment-integrated images by executing a segment integration process on a segment image selected from the plurality of segmented images a plurality of times while changing a second parameter used in the segment integration process to integrate at least one segment contained in the segmented image; and a fourth step in which the computer system outputs the segment-integrated image selected from the plurality of segment-integrated images as data used in training the model.
7. A data generation method as described in claim 6, wherein the second step includes the steps of: the computer system providing a first interface for selecting the segmented image; the computer system selecting a plurality of the segmented images to be presented to a user from among the plurality of segmented images based on the number of segments, and presenting the plurality of segmented images via the first interface; and when the computer system receives a request for re-presentation of the segmented images, including designation of the segmented image, via the first interface, selecting a plurality of the segmented images based on the designated segmented image, and presenting the plurality of segmented images via the first interface.
8. A data generating method as described in claim 6, wherein the third step includes the steps of: the computer system providing a second interface for selecting the segment integrated image; the computer system selecting a plurality of the segment integrated images to be presented to a user from the plurality of segment integrated images based on the number of segments, and presenting the images via the second interface; and when the computer system receives a request for re-presentation of the segment integrated image, including specification of the segment integrated image, via the second interface, selecting a plurality of the segment integrated images based on the specified segment integrated image, and presenting the images via the second interface.
9. A method for generating data as described in claim 6, wherein the computer system accepts as input an image learned using a history including the image, the segmented image selected by a user, and the segment integrated image selected by a user, and retains a model for selecting the segmented image and the segment integrated image; the second step includes a step in which the computer system uses the model to select one of the plurality of segmented images; and the third step includes a step in which the computer system uses the model to select one of the plurality of segment integrated images.
10. A data generating method as described in claim 6, characterized in that the third step includes: a step in which the computer system generates a differential image of the image; a step in which the computer system uses the differential image and the selected segment division image to calculate an index for determining whether or not to integrate segments included in the selected segment division image; and a step in which the computer system integrates segments included in the selected segment division image based on the index.
Citation Information
Patent Citations
Image processing device, image processing method, and program
JP2020170408A
Image processing device, method for operation of image processing device, and program for operation of image processing device
WO2020202700A1
