Apparatus, method and system for generating a model for identifying an object of interest from an image - Patents.com

The device uses iterative learning and classification techniques to separate and classify objects in images, addressing the challenge of identifying unknown objects and providing accurate quantitative analysis.

JP7557302B2Active Publication Date: 2024-09-27HITACHI HIGH TECH CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2020132371
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-08-04
Publication Date
2024-09-27
Estimated Expiration
2040-08-04

AI Technical Summary

Technical Problem

Existing technologies struggle to accurately identify and classify objects of interest in images, particularly when unknown objects are present, as they fail to separate necessary foreground from background and distinguish between known and unknown objects effectively.

Method used

A device comprising an input section, object segmentation unit, learning unit, threshold processing unit, stopping point determination unit, object classification unit, quantitative calculation unit, and display unit, which iteratively learns and classifies objects using convolutional neural networks to separate foreground from background and distinguish between known and unknown objects.

Benefits of technology

The device efficiently and accurately identifies and classifies objects of interest, providing precise quantitative information about known and unknown objects, enabling detailed analysis and anomaly detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007557302000008
    Figure 0007557302000008
  • Figure 0007557302000003
    Figure 0007557302000003
  • Figure 0007557302000001
    Figure 0007557302000001
Patent Text Reader

Abstract

To provide a device capable of generating a model for identifying an object of interest from images.SOLUTION: Disclosed is a device for generating a model for identifying an object of interest from images. The device includes: an input unit that receives input images; an object segmentation unit that receives the input images from the input unit and separates the area of interest from the background area; and a learning unit that learns a model used by the object segmentation unit. The learning unit repeats the steps of: performing training of a new model by using training data and an output of an existing model relevant to the training data; and adding the trained new model to the existing model.SELECTED DRAWING: Figure 9C
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to identifying objects of interest within an image. [Background technology]

[0002] In recent years, there have been proposals for detecting unknown objects in images or other visual media. For example, Patent Document 1 discloses a technique for discovering new objects in images by clustering different object types based on saliency scores and multiple statistical models. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] U.S. Patent No. 9,224,071 Summary of the Invention [Problem to be solved by the invention]

[0004] A key element of quantitative analysis of objects in an image is to accurately identify the desired object of interest. The object in the image may be a known object of interest, an unknown object of interest, or an object other than the object of interest. For example, an image may contain many unwanted objects that are visually similar to the desired object, along with a large amount of background area. To obtain the desired portion of the image for quantitative analysis, it is necessary to separate the desired foreground from the image and classify it for detailed quantitative analysis. However, Patent Document 1 is able to discover unknown objects of interest but not classify them. Identifying the type of object of interest is important for detailed quantitative analysis. [Means for solving the problem]

[0005] One aspect of the present invention is an apparatus for generating a model for identifying an object of interest from an image, the apparatus including: an input unit for receiving an input image; an object segmentation unit for receiving the input image from the input unit and separating an object of interest region from a background region; and a learning unit for learning a model to be used by the object segmentation unit. The learning unit trains a new model using training data and an output of an existing model for the training data, adds the trained new model to the existing model, and repeats the training of the new model and the addition of the trained new model to the existing model. Effect of the Invention

[0006] One aspect of the present invention can generate a model that identifies an object of interest from an image. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a block diagram showing a functional configuration of a quantitative analysis apparatus for an object of interest in an image according to a first embodiment. [Diagram 2] 1 is a schematic diagram illustrating an example of a hardware configuration of a quantitative analysis device according to a first embodiment. [Diagram 3] 4A and 4B show schematic diagrams of an example of processing by an object segmentation unit. [Figure 4] 4A and 4B illustrate an example of processing by an object classification unit. [Diagram 5] 3A and 3B show schematic examples of processing results on a display unit. [Figure 6] 4 shows a flowchart of an example of a method executed by a threshold processing unit according to the first embodiment. [Figure 7] 13 shows an example of processing by the threshold processing unit. [Figure 8] 13 illustrates an example of a method executed by a stopping point determination unit according to the first embodiment. [Figure 9A] 1 shows the basic cooperation of the input unit, object segmentation unit and learning unit. [Figure 9B]The process of discarding unnecessary dust regions by the threshold processor is shown together with the flow of FIG. 9A. [Figure 9C] The process in which the stopping point determination unit automatically determines the appropriate number of iteration steps is shown in conjunction with the flow of FIG. 9B. [Figure 10] 1 illustrates an example flowchart of a technique that can be used as an object classifier according to a first embodiment. [Figure 11] 13 shows a flowchart of an example of the operation of a quantitative analysis process performed by a quantitative calculation unit. [Figure 12] An example will be described in which the quantitative analysis device according to the first embodiment presents quantitative information to a user through cooperative operations of an object segmentation unit, an object classification unit, a quantitative calculation unit, and a display unit. [Figure 13] 13 illustrates an example of a functional configuration of an anomaly detection system according to a second embodiment. [Figure 14] 13 illustrates an example of a hardware configuration of an anomaly detection system according to a second embodiment. [Figure 15] 13 is a schematic diagram showing a configuration example of an image inspection system including a quantitative analysis system according to a third embodiment. [Figure 16] 13 shows another system configuration example according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, the embodiments of the present invention will be described in detail with reference to the drawings. For convenience, when necessary, the description will be divided into a plurality of sections or examples, but unless otherwise specified, they are not unrelated to each other, and one is related to the other as a partial or complete modification, detail, supplementary explanation, etc. In addition, in the following, when the number of elements (including the number, numerical value, amount, range, etc.) is mentioned, it is not limited to the specific number, and may be more than or less than the specific number, unless otherwise specified or when it is clearly limited to a specific number in principle.

[0009] The present device and system may be a physical computer system (one or more physical computers), or may be a device or system built on a group of computing resources (multiple computing resources) such as a cloud platform. The computer system or group of computing resources includes one or more interface devices (including, for example, a communication device and an input / output device), one or more storage devices (including, for example, a memory (main memory) and an auxiliary storage device), and one or more arithmetic devices.

[0010] When a function is realized by a computing device executing a program including instruction codes, the defined processing is performed using a storage device and / or an interface device, etc. as appropriate, and therefore the function may be at least a part of the computing device. Processing described with a function as the subject may be processing performed by a computing device or a system having the computing device. The program may be installed from a program source. The program source may be, for example, a program distribution computer or a computer-readable storage medium (for example, a computer-readable non-transitory storage medium). The description of each function is an example, and multiple functions may be combined into one function, or one function may be divided into multiple functions.

[0011] [Summary] First, an overview of the present embodiment will be described. Assume that the image to which the present invention is directed is composed of an object of interest, and a user needs to inspect the object of interest in the image, or the characteristics of the entire image or a partial image related to the object of interest. However, not all objects in the image are known. Also, an image is not necessarily composed of only required objects, and may include objects of no interest or objects not required for inspection. Note that the unknown or known objects referred to in this specification may have any shape, color, or texture attributes. The objects referred to in this specification may lack any natural color and may not be observable by naked eye inspection.

[0012] The detection of known objects can be easily performed by a human. However, when there are many objects of interest and the characteristics of the objects are unknown, an automatic process is required to process thousands to millions of images in a short time. Therefore, in order to automate this process, it is necessary to detect the necessary objects in the image and discard the unnecessary objects and parts in the image. In this respect, an embodiment of the present specification described below makes it possible to detect the necessary foreground objects and discard the unnecessary objects that are not of interest.

[0013] The learning unit helps the object segmentation unit to learn about new unknown object groups. The thresholding unit helps the learning unit to discard unnecessary objects from the training data. The stopping point determination unit determines the number of steps (iterations) required for the learning unit to learn about new unknown objects. The object classification unit separates the objects of interest into respective class categories of known objects and respective groups of unknown objects. Then the quantification calculation unit performs an accurate quantitative analysis of the objects, and finally the display unit presents the required quantitative information to the user.

[0014] The input unit is a functional unit in the quantitative analysis device that receives an input image. The input image is sent to the object segmentation unit for further processing by the quantitative analysis device. An image containing objects of interest and unwanted objects is first sent to the object segmentation unit.

[0015] The object segmentation unit is a functional unit that can distinguish desired objects from unwanted objects based on pre-defined rules. The segmentation rules are obtained from a training unit. The training unit learns to separate (segment) objects as foreground and other objects as background. The thresholding unit helps the training unit to discard unwanted and uninteresting objects that are detected as background. The training unit learns the segmentation by using the data multiple times.

[0016] The stopping point determination unit determines the optimal number of steps required by the learning unit. The segmentation rules can be coded in the object segmentation unit. For example, the object segmentation unit can have any configuration to identify the required foreground objects. The object segmentation unit can be, for example, a neural network that is trained (learned) using image and label pairs if the labels are available, or using labels generated by itself if the actual images and labels are not available, and can accurately detect foreground objects. Alternatively, the object segmentation unit can use other methods of generating foreground regions as well. EXAMPLES

[0017] Fig. 1 is a block diagram showing a functional configuration of a quantitative analysis apparatus 1 for an object of interest in an image according to Example 1. As shown in Fig. 1, the quantitative analysis apparatus 1 includes an input unit 10, an object segmentation unit 11, a threshold processing unit 13, a learning unit 12, a stopping point determination unit 14, an object classification unit 15, a quantitative calculation unit 16, a display unit 17, a storage unit 90, and a control unit 91. Furthermore, each functional unit of the quantitative analysis apparatus 1 shown in Fig. 1 can be realized by various hardware, software, or a combination thereof, and can be realized by, for example, one or more information processing devices such as a personal computer or a server.

[0018] The input unit 10 externally acquires an input image to be processed by the quantitative analysis device 1. The data is obtained by an arbitrary image capturing device (not shown) and is provided to the input unit 10 as an input image. Furthermore, an image captured by a camera and obtained via an information communication network or a recording medium (not shown) can be used as the input image. The input image may be a still image, or an input image may be generated by extracting a frame from a moving image. The data format of the still image may be, for example, JPEG, JPEG2000, PNG, or BMP. On the other hand, the data format of the moving image may be, for example, MotionJPEG, MPEG, H.246, or HD / SDI.

[0019] The object segmentation unit 11 separates the desired foreground regions from the unwanted regions by dividing the image into foreground regions containing objects and background regions.

[0020] The threshold processor 13 helps the training unit 12 to discard unwanted and uninteresting objects that are detected as background. An image may contain objects of interest and may also contain unwanted objects. The threshold processor 13 prevents the training unit 12 from training the unwanted objects as foreground objects.

[0021] The training unit 12 trains new models for the object segmentation unit 11. The training unit 12 learns new unknown object types along with known objects, enabling the object segmentation unit 11 to separate objects of interest in an image from other objects. The training unit 12 receives an input image and iteratively trains on unknown objects of interest in the image.

[0022] The stopping point determination unit 14 determines the optimal number of iterations required for the learning unit 12 to learn about unknown objects of interest in the image. The object classification unit 15 classifies the foreground regions of the source image into groups of known and unknown objects for quantitative analysis based on the foreground regions from the object segmentation unit 11. The quantitative calculation unit 16 calculates the necessary quantitative information about the objects identified as foreground. The quantitative information can be various types of information, such as (but not limited to) numbers and ratios.

[0023] The memory unit 90 stores the input, output, and intermediate results of each component in the quantitative analysis apparatus 1. The control unit 91 is connected to each of the above-mentioned components of the quantitative analysis apparatus 1 and controls the operation of these components. In another example, each component may operate automatically as necessary without being controlled by the control unit 91. [Hardware configuration of quantitative analysis equipment]

[0024] Fig. 2 is a schematic diagram showing an example of a hardware configuration of the quantitative analysis device 1 according to the embodiment 1. As shown in Fig. 2, the quantitative analysis device 1 includes, in one example, a CPU 201, a memory 202, a storage device 206, an output device 203, an input device 204, a communication device 205, and a bus 207 that connects the components to each other. The number of these components may be two or more.

[0025] The CPU 201 is a processor that reads various programs from the memory 202 as necessary and executes processing in accordance with the programs. Each functional component including the input unit 10, the object segmentation unit 11, the threshold processing unit 13, the learning unit 12, the stopping point determination unit 14, the object classification unit 15, the quantitative calculation unit 16, the display unit 17, and the control unit 91 shown in Fig. 1 can be realized, for example, by the CPU 201 that executes processing.

[0026] The storage device 206 stores various data used in the quantitative analysis device 1, and can implement the storage unit 90 described with reference to Fig. 1. For example, the storage device 206 stores the input images, objects, trained models for each iteration of learning by the learning unit, classified images by class, and the like, as described above.

[0027] The output device 203 outputs an object segmentation image (object separation image), a classified object image, necessary quantitative information about objects, etc., and is composed of a display device, a printer, a speaker, etc. For example, when a display device is used as the output device 203, the segmentation image generated by the object segmentation unit 11, the classified object image by the object classification unit 15, and the necessary quantitative information about objects by the quantitative calculation unit 16 are displayed on the screen of the display device.

[0028] The input device 204 is a device for a user to input instructions, etc., and is configured with a keyboard, a mouse, a microphone, etc. For example, an input image to be processed in the quantitative analysis apparatus 1 is determined together with an instruction from the user via the input device 204.

[0029] The communication device 205 is a device for communicating with other devices. For example, the communication device 205 can be used to receive an input image transferred from an imaging device, and can also transmit and receive various data to and from a server connected via a network. In another example, instead of implementing the communication device 205 within the quantitative analysis device 1, an externally implemented communication device 205 may be connected to the quantitative analysis device 1.

[0030] [Configuration and operation of each component] Next, the operations of the object segmentation unit 11, the learning unit 12, the threshold processing unit 13, the stopping point determination unit 14, the object classification unit 15, the quantitative calculation unit 16, and the display unit 17 will be described in detail below.

[0031] Fig. 3 shows a schematic example of processing by the object segmentation unit 11. In Fig. 3, image C is an example of an input image, and has an image background R1002, a foreground object R1003 and other unnecessary objects R1004. In Fig. 3, one of the foreground objects and one of the unnecessary objects are indicated by the symbols R1003 and R1004.

[0032] Image CA shows an example of an input image after being converted (segmented) into a foreground region (object) R2001 and a background region R2002 by the object segmentation unit 11. One of the foreground objects is indicated by the reference symbol R2001. The image CA after segmentation (separation) obtained by the object segmentation unit 11 is stored in the storage unit 90.

[0033] Fig. 4 shows a schematic example of processing by the object classification unit 15. In Fig. 4, image CA shows an example of an image separated (segmented) into a background region R2002 and a foreground object R2001 by the object segmentation unit 11. Image CB shows an example of an input image after object classification.

[0034] In the classified image, the symbols R4001, R4002, R4003 indicate objects of different classes classified by the object classification unit 15. In Figure 4, one object from each of the different classes is indicated by the symbols R4001, R4002, R4003. The classified image CB obtained by the object classification unit 15 is stored in the memory unit 90.

[0035] 5 is a schematic diagram showing an example of the processing result of the display unit 17. The display unit 17 receives information and an output image from the object classification unit 15, and presents the information to the user in a predetermined image format DS1. For example, a pattern indicating a class may be superimposed on an actual object image OV1, and presented together with quantitative information QN1 such as number or ratio.

[0036] [Object Segmentation Part 11] The input image received by the input unit 10 may contain objects of interest as well as unwanted objects and general image background. The object segmentation unit 11 converts the input image into the required background and foreground regions. The object segmentation unit 11 receives the image C output by the input unit 10 and processes it to generate a segmented image CA. For example, a common method of segmentation can be performed using a convolutional neural network.

[0037] An example of the object segmentation unit 11 may use a convolutional neural network, performing a conventional convolution process or a well-known fully convolutional operation to generate a segmentation image having a foreground region R2001 and a background region R2002 as shown in image CA, however, any technique may be used to generate a similar segmentation image.

[0038] [Learning Section 12] The training unit 12 is activated when a user requires training on new data (training data), which may include both unknown and known types of objects.

[0039] The task of the training unit 12 is to generate new models for the object segmentation unit 11 by discovering new, unknown objects of interest in the given data. To achieve this task, the training unit 12 receives input images from the input unit 10 together with labels of known classes.

[0040] An example of the learning unit 12 can use a convolutional neural network, which performs conventional convolution processing or the well-known full convolution processing to generate a separated image having a foreground region R2001 and a background region R2002, as shown in image CA.

[0041] However, conventional convolutional neural network processing is insufficient for the purpose of finding all unknown object of interest regions. One possible solution is that the learning unit 12 uses known class information to perform multiple iterations on the input data to gradually find the regions of all unknown objects of interest. Note that any method for finding the regions of all unknown objects of interest can be used.

[0042] At each iteration, the training unit 12 also generates candidate regions for the unknown object of interest. The candidate regions are generated by the training unit 12 by training multiple regions for the given data. times As the iterations are repeated, the number of iterations gradually increases. The learning unit 12 uses information of known objects to detect similarities in patterns in other unknown objects.

[0043] In each iteration, the amount of patterns of known objects is cumulatively increased as more unknown objects of interest are learned and detected. Candidate regions are accumulated in each iteration cycle and can be used as new learning labels in the next iteration. However, not all newly generated candidate regions are real regions of interest and may contain unwanted objects. To remove them, a thresholding unit 13, which will be described next, can be used.

[0044] [Threshold processing unit 13] The threshold processing unit 13 can be started in accordance with when the learning unit 12 is started, for example, when a user needs to learn about new data. The new data may include objects of known and unknown object types. When new data is processed by the object segmentation unit 11, it is not always possible to correctly discard unnecessary objects. Therefore, the threshold processing unit 13 is used to prevent erroneous learning in the learning unit 12 from being performed due to unnecessary objects becoming objects of interest.

[0045] In order for the training unit 12 to learn to correctly detect regions of new unknown objects of interest, it is important that the training unit 12 can correctly distinguish between unknown objects of interest and unwanted objects in the image data. However, during iterative training in the training unit 12, unwanted objects may be detected because no teachers (labels) are available for the unknown objects. To prevent this, a thresholding method is used to discard unwanted objects in the training unit 12.

[0046] FIG. 6 shows a flowchart of an example of a method executed by the threshold processing unit 13 according to the first embodiment.

[0047] Step T1 The object segmentation unit 11 calculates a segmentation score for each pixel in the image. Based on the segmentation score, the pixel is classified as foreground or background. In step T1, the thresholding unit 13 receives the output of the object segmentation unit 11 and determines the segmentation scores for each pixel of the known objects.

[0048] Step T2 The threshold processor 13 calculates a histogram of the segmentation scores of all pixels of the known object.

[0049] Step T3 The threshold processor 13 determines an appropriate segmentation score for a pixel of a known object based on the generated histogram.

[0050] Step T4 Because unwanted objects and objects of interest share some, but not all, characteristics of a known class, unwanted objects can sometimes be detected as objects of interest. Thus, the segmentation score value of unwanted pixels detected as foreground will be less than the appropriate value of the foreground pixels of the true object of interest. Using this information, during training of the segmentation model in the learning unit 12, pixels whose segmentation score value is less than the appropriate value of the foreground pixels of the true object of interest can be ignored.

[0051] FIG. 7 shows an example of processing by the threshold processing unit 13. In FIG. 7, image CA shows an example of the output of the object segmentation unit 11, and includes a background region R2002, a plurality of foreground objects R2001, and a plurality of other unnecessary objects R2003. Image CT shows an example of the output of the threshold processing unit 13, and the unnecessary object (region) R2003 has been removed. Image CT can be used as an accurate label for training a model in the learning unit 12. Both image CA and image CT are stored in the storage unit 90.

[0052] [Stopping point determination unit 14] The stopping point determiner 14 may be activated when the trainer 12 is activated, for example when a user requires the device to train on new data. The stopping point determiner 14 determines the appropriate number of iteration steps that the trainer 12 requires to adequately train all new unknown objects of interest in the data.

[0053] In order for the learning unit 12 to correctly learn new unknown object of interest regions, it is important that the learning unit 12 iteratively learns the training data received from the input unit 10 and cumulatively learns and discovers new unknown objects of interest. However, it is important to determine an appropriate number of iterations so that a stopping point can be determined. In order to determine an appropriate stopping point, a stopping point determination unit 14 is used. The stopping point determination unit 14 can determine the stopping point of the learning unit 12 using information on the detection accuracy of the background region and the detection accuracy of the foreground (object of interest) region. The detection accuracy of the background or foreground can be expressed, for example, by the ratio of determining known background pixels or known foreground pixels as background or foreground.

[0054] 8 illustrates an example of a method executed by the stopping point determination unit 14 according to the first embodiment. The accuracy referred to in the following steps may be the accuracy output by one model or a moving average of the accuracy output by multiple models. Step S0

[0055] The stopping point determination unit 14 calculates the accuracy of the evaluation data from the learning unit 12. The evaluation data may include known objects in the foreground region, known background regions, and unknown regions.

[0056] Step S1 Accuracy of estimation of new models for foreground regions of known objects in evaluation data AF t Increased, AF t >AF t-1 If so, the stopping point determination unit 14 proceeds to step S2, otherwise, the stopping point determination unit 14 proceeds to step S4.

[0057] Step S2 Known background area of ​​evaluation data In the region Accuracy of the new model A.B. t increases and ABt>AB t-1 If so, the stopping point determination unit 14 proceeds to step S5, otherwise, the stopping point determination unit 14 proceeds to step S3.

[0058] Step S3 The accuracy of the new model for the known background regions of the evaluation data is reduced, and the AB t <AB t-1 If so, the stopping point determination unit 14 determines that the accuracy of the background is at an acceptable level B a Check if it is within AB t >B a If so (within the tolerance level), the stopping point determination unit 14 proceeds to step S5, otherwise proceeds to step S4. This makes it possible to increase the detection accuracy of the foreground region and obtain a desired level of background detection accuracy. The tolerance level is, for example, preset by the user.

[0059] Step S4 End the iteration. Step S5 Do the next iteration.

[0060] Figures 9A to 9C show three examples of processing flows in which the different functional units cooperate to iteratively detect regions of unknown and known objects. The quantitative analysis device 1 can perform these flows individually, and can omit functional units that are not necessary for executing each flow. Figure 9A shows basic cooperation between the input unit 10, object segmentation unit 11, and learning unit 12. Figure 9B shows an example in which processing for discarding unnecessary dust regions by a threshold processing unit 13 is added to Figure 9A.

[0061] Fig. 9C is an example in which a process of automatically determining an appropriate number of iteration steps by the stopping point determination unit 14 is added to Fig. 9B. In all flows, the objective is to add newly generated labels by learning to existing segmentation labels as segmentation labels at the start of the process using only information on known objects, so that the labels can be used for training the model in the next iteration step.

[0062] 9A, an example of the cooperative operation of the input unit 10, the object segmentation unit 11, and the learning unit 12 when a new unknown object needs to be learned according to the first embodiment will be described. This is one of the basic configurations of one embodiment described in this specification.

[0063] Step UD1 An object segmentation unit 11 receives new data from the input unit 10 and outputs segmentation results as tentative foreground and background segmentation labels. The tentative labels are based on the output of previous models and can change depending on new foreground regions of interest discovered by the model generated in subsequent iterations. Step UD2 The learning unit 12 trains a new segmentation model M using the segmentation labels.

[0064] Step UD3 The object segmentation unit 11 receives a new model M from the learning unit 12 and adds it to the existing models. In this way, the models held by the object segmentation unit 11 are accumulated with each iteration, and it is possible to increase the number of models that can be used for segmentation in step UD1. Step UD4 If further iterations are required, based on user request or a predefined required total number of iterative steps, flow returns to step UD1.

[0065] 9B, an example of the cooperative operation of the input unit 10, the object segmentation unit 11, the learning unit 12, and the threshold processing unit 13 when it is necessary to learn a new unknown object according to the first embodiment will be described. This configuration further includes processing by the threshold processing unit 13 in addition to the basic configuration shown in FIG. 9A.

[0066] Step UDT1 The object segmentation unit 11 receives new data from the input unit 10 and outputs a segmentation result based on the output of one or more existing models (eg all existing models).

[0067] Step UDT2 A thresholder 13 receives the output from the object segmenter 11 and performs pixel thresholding of the segmentation labels as described above according to the preset policy of the thresholder 13. The thresholder 13 generates provisional foreground and background segmentation labels. The provisional labels are based on the output of the existing model of the object segmenter 11 and can change in subsequent iterations based on newly discovered foreground regions of interest in the next model.

[0068] Step UDT3 A training unit 12 receives the output of the thresholding unit 13 and trains a new segmentation model M using the segmentation labels.

[0069] Step UDT4 The object segmentation unit 11 adds the new model M obtained from the learning unit 12 to the existing models. In this manner, the models of the object segmentation unit 11 are accumulated. In step UDT1, the object segmentation unit 11 outputs the segmentation result using the accumulated models.

[0070] Step UDT5 If further iterations are required the flow returns to step UDT1, otherwise it ends.

[0071] 9C illustrates an example of the cooperative operation of the object segmentation unit 11, the learning unit 12, the threshold processing unit 13, and the stopping point determination unit 14 when it is necessary to learn a new unknown object according to Example 1. This configuration further includes processing by the stopping point determination unit 14 in addition to the basic configuration shown in FIG.

[0072] Step UDTS1 The object segmentation unit 11 receives new data from the input unit 10 and outputs a segmentation result based on the output of one or more existing models (eg all existing models).

[0073] Step UDTS2 A thresholder 13 receives the output from the object segmenter 11 and performs pixel thresholding of the segmentation labels as described above according to the preset policy of the thresholder 13. The thresholder 13 generates provisional foreground and background segmentation labels. The provisional labels are based on the output of the existing model of the object segmenter 11 and can change in subsequent iterations based on newly discovered foreground regions of interest in the next model.

[0074] Step UDTS3 A training unit 12 receives the output of the thresholder 13 and trains a new segmentation model M using the known segmentation labels. Step UDTS4 The stopping point determination unit 14 evaluates the new model M.

[0075] Step UDTS5 The stopping point determiner 14 determines whether or not the next iteration needs to be performed, as described with reference to Fig. 8. If the output of the stopping point determiner 14 indicates that the next iteration is required, the flow proceeds to step UDTS1. If not, the flow proceeds to step UDTS6. Step UDTS6 The object segmentation unit 11 adds a new model M obtained from the learning unit 12 to the existing models.

[0076] [Object Classification Part 15] The object classification unit 15 includes a classifier (e.g., a convolutional neural network that uses the convolution output values ​​to classify object types) and classifies the separated foreground regions into known object classes. or Classify into unknown object group.

[0077] For example, when using a convolutional neural network as a classifier, features calculated by a classification model previously trained to classify known object classes are used. The classification model is assumed to be composed of a feature extraction unit and a classification unit. As an example, the classification model is composed of a multi-layer convolutional neural network, with the final layer being the classification unit and the remaining layers being the feature extraction units.

[0078] During training, the feature extraction unit and the classification unit are trained so that the output of the classification unit classifies known object classes. The output of this classification unit represents the types (classes) of known objects, but cannot classify unknown object groups. Therefore, classification of known object classes and unknown object groups is performed by clustering using the output of the feature extraction unit.

[0079] As a clustering method, for example, images of two objects are input to the feature extraction unit, and the feature vectors obtained are compared, and if the similarity such as cosine similarity is equal to or greater than a certain level, the objects are determined to be in the same class. This threshold value may be preset by the user, or may be automatically calculated by the device based on the similarity between known object classes.

[0080] The above is an example, and Euclidean distance, Manhattan distance, etc. may be used as an index of similarity of feature vectors, and unsupervised learning such as self-organizing maps, EM algorithms, etc. may be used as a clustering method. Furthermore, machine learning methods other than convolutional neural networks may be used as features used for clustering, and handcrafted features such as HOG and SIFT may be used. Furthermore, the results of machine learning for a classifier may be used by using the results of clustering as teachers as described above.

[0081] 10 relates to Example 1. It shows an example of a flowchart of a technique that can be used as the object classification unit 15. The object segmentation unit 11 receives input data from the input unit 10, and outputs an image CA after performing segmentation processing using one or more models held therein, for example, all models, to the object classification unit 15.

[0082] Step CON1 The foreground region of image CA is divided into multiple patches that can be input to a classifier in object classifier 15. The patch size depends on the memory capacity of the device. Step CON2 The object classification unit 15 selects one new patch from the multiple patches generated in step CON1.

[0083] Step CON3 The object classification unit 15 inputs the patches selected in step CON2 into a classifier, which classifies the foreground regions of the original image from the input unit 10 into a known object type or an unknown object type based on the foreground regions from the object segmentation unit 11. The unknown objects can be classified as each object type based on the classifier output values ​​(e.g., convolution output values) from the convolutional neural network.

[0084] Step CON4 The object classification unit 15 checks whether all the patches have been classified, and if so, proceeds to step CON5, otherwise returns to step CON2. Step CON5 The object classification unit 15 arranges the classified patches and stores them in the storage device 206 as an image CB.

[0085] [Quantitative calculation section 16] The quantitative calculation unit 16 calculates quantitative information of the classified foreground object R2001 in the image CB. The quantitative information can also be used as special information for another task, as shown in the second and third embodiments, for example.

[0086] 11 shows a flowchart of an example of the operation of the quantitative processing by the quantitative calculation unit 16. In this example, the quantitative information calculated is the total number of objects obtained by counting the detected objects, and the ratio of the object of interest in the input image CB.

[0087] Step Q1 The quantitative calculation unit 16 receives the image CB that is the output of the object classification unit 15 and selects one of the combined foreground regions. Step Q2 The quantitative calculation unit 16 determines the class of the region based on the image CB, which is the classification result of the object classification unit 15, and calculates the counter of the specific known class or unknown group. I Increment.

[0088] Step Q3 The quantitative calculation unit 16 determines whether all foreground regions in the image CB have been counted. If YES, the process proceeds to step Q4, and if not, the process returns to step Q1. Step Q4 The quantitative calculation unit 16 compiles the total count numbers for each class. Step Q5 The quantitative calculation unit 16 calculates the ratio of each class.

[0089] The quantitative information in steps Q4 and Q5 is output and stored in the storage device 206. The quantitative information can also be displayed using a display device in the output device 203. The quantitative information in the above example is the number of objects and their ratios. This information can be used to analyze the sample in various ways.

[0090] [Display section 17] The display unit 17 displays the output of the quantitative calculation unit 16 to the user. presentation The displayed information may include, for example, the ratio of known objects to unknown object groups. The output of the display unit 17 may be displayed overlaid on the input image, and the overlaid information may indicate, for example, objects belonging to known classes and unknown groups.

[0091] FIG. 12 shows an example of coordinated operation of the object segmentation unit 11, object classification unit 15, quantitative calculation unit 16 and display unit 17 of Example 1 when the quantitative analysis apparatus 1 of Example 1 needs to present quantitative information to a user, for example, in the estimation phase.

[0092] Step IN1 The object segmentation unit 11 receives new data from the input unit 10 and outputs a segmentation result based on the output of one or more existing models (eg all existing models). Step IN2 An object classifier 15 receives the output of the object segmenter 11 and classifies objects of interest into one or more known object types and one or more unknown object groups.

[0093] Step IN3 The quantitative calculation unit 16 receives the output from the object classification unit 15 and generates the required quantitative information. STEP IN4 The display unit 17 receives the quantitative information from the quantitative calculation unit 16 and displays the quantitative information to the user.

[0094] As described above, according to an embodiment of the present disclosure, an input image from the input unit 10 is converted into an image representing a foreground object of interest region and a background region. Additionally, the foreground regions are classified using an object classifier 15, which is capable of determining with high accuracy the exact class category of each known object and one or more groups of unknown objects.

[0095] Quantitative information from the classified images, such as the number of objects and the object ratio, is obtained from the quantitative calculation unit 16. Furthermore, the results of the quantitative information and the qualitative information can be presented to the user together with the input image by the display unit 17. Using the presented information, the user can study the characteristics of the detected objects and their co-occurrence patterns, and can determine phenomena about the detected objects from these results.

[0096] The above-mentioned first embodiment of the present specification will be summarized as follows. The quantitative analysis device 1 includes an input unit 10 and an object segmentation unit 11. The input unit 10 receives an image, for example, from an imaging device, and outputs it to the object segmentation unit 11. The object segmentation unit 11 can efficiently and accurately represent a necessary background region and a foreground region including an object of interest from the input image.

[0097] The quantitative analysis device 1 further includes a training unit 12, which can be used to learn new unknown object groups from the data. The output from the training unit 12 is a new segmentation model, which can be used by the object segmentation unit 11. The training unit 12 iterates over the data in a cumulative manner so that unknown object regions can be detected. Using the model from the training unit 12, the object segmentation unit 11 can detect new unknown objects.

[0098] The quantitative analysis device 1 further includes a threshold processing unit 13. The threshold processing unit 13 can prevent the learning unit 12 from detecting unnecessary objects as objects in the region of interest. The use of the threshold processing unit 13 can help the learning unit 12 to generate a highly accurate model, and the object segmentation unit 11 can use the model to perform highly accurate separation (segmentation) of known objects and unknown object groups from a background region.

[0099] The quantitative analysis device 1 further includes a stopping point determiner 14, which is capable of determining an optimal number of iterations in the learning unit 12. The learning unit 12 learns new unknown objects in an iterative manner. Therefore, determining the optimal number of iterations is important for optimal operation of the learning unit 12. The stopping point determiner 14 uses the data of the learning unit 12 to determine a stopping point for the iterations in the learning unit 12 based on a predetermined quality policy.

[0100] The quantitative analysis device 1 further includes an object classifier 15, which can efficiently and accurately classify objects into known class categories and unknown object groups. As an example, a general convolutional neural network can be optimized for this task. A convolutional neural network is an image feature capture model that does not need to be manually trained, can automatically learn features from images, and can group unknown objects based on a predetermined classification score.

[0101] The quantitative analysis device 1 further includes a quantitative calculation unit 16, which can efficiently and accurately calculate quantitative information about the foreground objects. For example, the quantitative calculation unit 16 calculates the number of objects per class, and further calculates the object ratio, as described above.

[0102] The quantitative analysis device 1 further includes a display unit 17, which can present the output of the quantitative calculation unit 16 to a user. The presented information can include, for example, the ratio of known objects and unknown object groups. The output of the display unit 17 can be overlaid on the input image, and the information can indicate, for example, objects belonging to known classes and unknown groups.

[0103] According to the configuration of this embodiment, known and unknown objects of interest can be accurately identified in an image, and quantitative information about the objects can be accurately determined. 1The present invention can be implemented in a device or system different from the above, and the threshold processing unit 13, the stopping point determination unit 14, etc. may be omitted depending on the design of the device or system. EXAMPLES

[0104] It may be necessary to detect an abnormal object in a given image and indicate the abnormal object to a user. This situation may occur, for example, when most objects in an image are presumed to be known objects. Therefore, in the following, an anomaly detection system according to a second embodiment will be described.

[0105] The anomaly detection system A1 determines that an object of interest in an unknown group classified by the object classification unit 15 is an abnormal object. The anomaly detection system A1 can present information about the detected abnormal object to the user by overlaying a highlight on the input image via the display unit 17.

[0106] Fig. 13 is a schematic diagram illustrating an example of a functional configuration of an anomaly detection system A1 according to Example 2. The anomaly detection system A1 has a configuration in which the quantitative calculation unit 16 is excluded from the components of the quantitative analysis device 1 as illustrated in Fig. 1. Furthermore, in the anomaly detection system A1, the display unit 17 can present information about the detected abnormal object to the user by superimposing a highlighted display region on the input image.

[0107] Fig. 14 is a schematic diagram showing an example of a hardware configuration of an abnormality detection system A1 according to Example 2. As shown in Fig. 14, the abnormality detection system A1 can have the same hardware configuration as the quantitative analysis device 1. In Example 2, the CPU 201 does not function as the quantitative calculation unit 16. EXAMPLES

[0108] 15 is a schematic diagram showing an example of the configuration of an image inspection system W1 including a quantitative analysis device 1 according to a third embodiment. It may be necessary for the quantitative analysis device 1 to provide quantitative information within the image inspection system W1 and to provide quantitative information for a series of images captured at different time frames.

[0109] The image inspection system W1 may include an image capture device W11, which may capture a series of image frame data of an object in, for example, a Motion JPEG, MPEG, H.264, or HD / SDI format. For example, an RGB camera or any kind of camera or image capture device may be used.

[0110] The image inspection system W1 may include a quantitative analysis device 1 according to the first embodiment, which generates quantitative information about an object in a series of images. The image inspection system W1 may include an unknown sample analysis device W12. The unknown sample analysis device W12 may be used to analyze the characteristics of the object from the quantitative information of the unknown sample. The image inspection system W1 may include a display device W13. The display device W13 may present information about the analysis results of the unknown sample analysis device W12 based on the quantitative information of the sample obtained from the quantitative analysis device 1.

[0111] The image inspection system W1 can capture a series of images in the imaging device W11, and can obtain quantitative information about the input images in different time frames through the quantitative analysis device 1. The unknown sample analysis device W12 can provide an analysis result of the change in the quantitative information of the sample over a predetermined period of time.

[0112] The image inspection system W1 can acquire a series of image pairs simultaneously or separately, such as a pair of an image taken at time t1 and an image taken at time t2, or a pair of an image of a sample to which some external intervention has been applied and an image of a sample to which said intervention has not been applied. Using the quantitative analysis device 1, the image inspection system W1 calculates quantitative information of the input image pairs. The unknown sample analysis device W12 can analyze changes in the quantitative information, for example, for a sample to which an external intervention has been applied and a sample to which said external intervention has not been applied.

[0113] The output of the analysis results of the unknown sample analyzer W12 can be presented to a user via a display device W13. A user can study the output of the display device W13 to learn the effect of an intervention on the sample in a single time frame or over a given period of time. For example, for a material, if the unknown objects found are magnetic particles of different physical properties, the pattern and diameter may reveal the behavior of the magnetic particles in the cluster under normal conditions or when an intervention such as heat or pressure is applied.

[0114] 16 shows another example of the third embodiment, in which the quantitative analysis device 1 is implemented in a server W3. The server W3 acquires an input image from an imaging device W11 of an image inspection system W2 via a communication device W22 of the image inspection system W2 in a communication device W32 of the server W3. The server W3 stores the acquired image in a storage device W31. The communication device W32 transmits the image received from the storage device W31 to the quantitative analysis device 1 according to the first and third embodiments.

[0115] The quantitative analysis device 1 in the server W3 calculates quantitative information about objects in the images according to the first and third embodiments and transmits it to the image inspection system W2 via the communication devices W32 and W22.

[0116] The information received by the communication device W22 of the image inspection system W2 is input to the unknown sample analyzer W12. The unknown sample analyzer W12 analyzes the characteristics from the quantitative information about the target object. For example, if the input image is of magnetic particles, a quantitative analysis of the magnetic particle density may reveal the characteristics of the magnetic particles in the sample. The analysis results are input to the display device W13 for presentation to the user.

[0117] The display device W13 can present information about the object in the image and the analysis result of the unknown sample analysis device W12. The user can refer to the displayed result to reach various conclusions. For example, the quality of the sample can be checked. The display device may be either a stationary type or a portable type.

[0118] The present invention is not limited to the above-mentioned embodiment, but includes various modified examples. For example, the above-mentioned embodiment has been described in detail to clearly explain the present invention, and is not necessarily limited to those including all of the configurations described. It is also possible to replace a part of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. It is also possible to add, delete, or replace a part of the configuration of each embodiment with another configuration.

[0119] In addition, the above-mentioned configurations, functions, processing units, etc. may be realized in part or in whole by hardware, for example, by designing them as integrated circuits. In addition, the above-mentioned configurations, functions, etc. may be realized in software by a computing device interpreting and executing a program that realizes each function. Information such as the program, table, file, etc. that realizes each function can be stored in a memory, a recording device such as a hard disk or SSD (Solid State Drive), or a recording medium such as an IC card or SD card.

[0120] In addition, the control lines and information lines shown are those that are considered necessary for the explanation, and not all control lines and information lines in the product are necessarily shown. In reality, it can be considered that almost all components are connected to each other. [Explanation of symbols]

[0121] 1 quantitative analysis device, 10 input unit, 11 object segmentation unit, 12 learning unit, 13 threshold processing unit, 14 stopping point determination unit, 15 object classification unit, 16 quantitative calculation unit, 17 display unit, 21 CPU, 90 storage unit, 91 control unit, 201 CPU, 202 memory, 203 output device, 204 input device, 205 communication device, 206 storage device, 207 bus, C input image, CA segmentation result image, CB classification result image, OV1 object image, QN1 quantitative information, R1002 image background, R1003 foreground object, R1004 unnecessary object, R2001 foreground object, R2002 background region, R2003 unnecessary object, W1 image inspection system, W11 imaging device, W12 unknown sample analysis device, W13 display device, W2 image inspection system, W22 Communication device, W3 server, W31 storage device, W32 communication device

Claims

1. 1. An apparatus for generating a model for identifying an object of interest from an image, comprising: an input unit that accepts an input image; an object segmentation unit that receives the input image from the input unit and separates an object of interest region from a background region; an accumulated existing model used by the object segmentation unit; and a training unit for training new models for use by the object segmentation unit; a threshold processing unit that compares a segmentation score of a pixel calculated for the training data input by the accumulated existing model with a threshold to determine whether the pixel in the training data is included in an object of interest, and outputs a label of the object of interest; A stopping point determination unit that determines whether or not training of the new model in the learning unit is stopped; the learning unit trains the new model using the training data and the labels of the objects of interest output by the thresholding unit; The stopping point determination unit determines whether to continue training the new model based on the accuracy of the estimation of the trained new model; The learning unit adds the trained new model to the accumulated existing models; The apparatus repeats training the new model and adding the trained new model to the accumulated existing models.

2. A quantitative analysis apparatus for calculating quantitative information of an object of interest in an image, comprising: An apparatus according to claim 1; an object classification unit for classifying the objects of interest separated by the object segmentation unit into known classes or unknown groups; a quantitative calculation unit that calculates quantitative information about the known classes and the unknown groups; A display unit that presents the quantitative information calculated by the quantitative calculation unit to a user, A quantitative analysis device, wherein the display unit displays at least one of the quantitative information calculated by the quantitative calculation unit and the classification results of the object of interest into the known class and the unknown group calculated by the object classification unit, superimposed on an input image.

3. The quantitative analysis apparatus according to claim 2, Using the existing model to isolate an object of interest from input image data; Classifying the separated objects of interest into known classes or unknown groups; A quantitative analysis apparatus that outputs an image in which the objects in the unknown group are highlighted in the input image data as abnormal objects.

4. The quantitative analysis apparatus according to claim 2, an imaging device for acquiring a series of images; an unknown sample analyzer for analyzing characteristics of an unknown sample from an output of the quantitative analyzer; a display device that displays the analysis results output by the unknown sample analyzer; The quantitative analysis device uses the existing model to separate objects of interest from the input image data for each of the series of images, classify the separated objects of interest into known classes and unknown groups, and calculate quantitative information about the known classes and the unknown groups; The unknown sample analyzer outputs an analysis result of the change in the quantitative information in the series of images.

5. A quantitative analysis apparatus according to claim 2, an imaging device for acquiring a series of images of a first sample and a series of images of a second sample to which an external intervention technique has been applied; an unknown sample analyzer for analyzing characteristics of an unknown sample from an output of the quantitative analyzer; a display device that displays the analysis results output by the unknown sample analyzer; the quantitative analysis device uses the existing model to separate objects of interest from input image data for each of a series of images of the first sample and the second sample, classify the separated objects of interest into known classes and unknown groups, and calculate quantitative information about the known classes and the unknown groups; The unknown sample analyzer outputs the difference in the quantitative information in the series of images of the first sample and the second sample as an analysis result.

6. A method for generating a model for identifying an object of interest from an image, comprising: an input step of accepting an input image; an object segmentation step of accepting the input image and separating regions of an object of interest from background regions using accumulated existing models; a training step for training a new model for use in the object segmentation step; The learning step includes: By comparing the segmentation score of the pixel calculated by the accumulated existing model for the input training data with a threshold, it is determined whether the pixel in the training data is included in an object of interest, and a label of the object of interest is output; training the new model using the training data and the labels of the objects of interest; determining whether to continue training the new model based on the accuracy of the trained new model's estimation; Adding the trained new model to the accumulated existing models; Iteratively training the new model and adding the trained new model to the accumulated existing models.

7. A method of quantitative analysis for calculating quantitative information of an object of interest in an image, comprising: Executing the method according to claim 6; an object classification step of classifying the objects of interest separated by the object segmentation step into known classes and unknown groups; a quantitative calculation step of calculating quantitative information about the known classes and the unknown groups; a display step of presenting the quantitative information calculated in the quantitative calculation step to a user, A quantitative analysis method, in which the display step displays the quantitative information calculated by the quantitative calculation step and at least one of the classification results of the object of interest into the known class and the unknown group calculated by the object classification step, superimposed on an input image.

Citation Information

Patent Citations

  • Unsupervised object class discovery via bottom up multiple class learning

    US9224071B2

  • Object detection method, object detection device, and computer program

    WO2020031423A1