Processing method and processing apparatus utilizing the same

A neural network with a common convolutional layer in two paths allows for direct measurement of defect sizes in images, addressing the limitations of conventional FCNs by integrating size measurement into the network architecture.

JP7960894B2Active Publication Date: 2026-12-04PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2025503792
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2023-02-27
Filing Date
2024-02-19
Publication Date
2026-12-04
Estimated Expiration
2044-02-19

AI Technical Summary

Technical Problem

Conventional fully convolutional networks (FCNs) can only output the location of defects in images but cannot measure the size of defects, requiring additional image processing which is complex and sometimes ineffective for certain defects.

Method used

A neural network architecture with a common convolutional layer is used in two separate paths to output both the class and size of defects, allowing the network to learn and measure defect sizes directly.

Benefits of technology

Enables accurate measurement of defect sizes in images using a neural network, improving efficiency and accuracy without the need for additional image processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007960894000001
    Figure 0007960894000001
  • Figure 0007960894000002
    Figure 0007960894000002
  • Figure 0007960894000003
    Figure 0007960894000003
Patent Text Reader

Abstract

An input unit 110 inputs an inspection image to be inspected, and a processing unit 120 processes a neural network with respect to the inputted inspection image. A first output unit 130a outputs information on the class of a defective item included in the inspection image. A second output unit 130b outputs information on the size of the defective item included in the inspection image. In a learning process, the input unit 110 inputs a training image for which the class of a defective item therein and the size of the defective item are known. The processing unit 120 trains the neural network so that, upon the training image being inputted, the first output unit 130a outputs information on the known class of the defective item and the second output unit 130b outputs information on the known size of the defective item.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to processing technology, and more particularly to a processing method for performing processing on images and a processing apparatus using the same.

Background Art

[0002] A fully convolutional network (FCN) is used to evaluate head computed tomography (CT) images. At that time, the size of an object such as internal bleeding is measured by image processing after extracting a target region through pixel-wise semantic segmentation (for example, see Patent Document 1).

Prior Art Documents

Patent Documents

[0003]

Patent Document 1

Summary of Invention

Problem to be Solved by the Invention

[0004] There is a demand for measuring the size of an object in an image in a neural network.

[0005] The present disclosure has been made in view of such circumstances, and an object thereof is to provide a technology for measuring the size of an object in an image in a neural network.

Means for Solving the Problem

[0006] In order to solve the above problem, a processing apparatus according to an aspect of the present disclosure includes an input unit for inputting an inspection image to be inspected, a processing unit for performing neural network processing on the inspection image input to the input unit, a first output unit for outputting information on a class of a defect item included in the inspection image as a processing result of the processing unit, and a second output unit for outputting information on a size of the defect item included in the inspection image as a processing result of the processing unit.The information on the class of defective items indicates the probability value for each of the multiple classes of defective items, the information on the size of defective items indicates the pixel-level numerical value for each of the multiple classes of defective items, the neural network in the processing unit has a first path from the input to the first output and a second path from the input to the second output, and uses a common convolutional layer in part of the first path and part of the second path. The input unit, during the learning process, identifies the class of the defective item and the defective item. Numerical value per pixel The input unit receives a known training image, and the processing unit trains the neural network so that when the input unit receives a training image, the first output unit outputs information about the class of known defective items, and the second output unit outputs information about the size of known defective items.

[0007] Another aspect of this disclosure is a processing method. This method comprises the steps of: inputting an inspection image to be inspected; performing neural network processing on the input inspection image; outputting information on the class of defective items contained in the inspection image as a processing result; and outputting information on the size of defective items contained in the inspection image as a processing result. The information on the class of defective items indicates the probability value for each of the multiple classes of defective items, and the information on the size of defective items indicates the pixel-level numerical value for each of the multiple classes of defective items. The neural network has a first path from the input of the inspection image to the output of the information on the class of defective items, and a second path from the input of the inspection image to the output of the information on the size of defective items, and uses a common convolutional layer in part of the first path and part of the second path. The neural network determines the class of the defective item and the defective item Numerical value per pixel When given a training image that is already known, the system is trained to output information about the class of known defective items, as well as information about the size of known defective items.

[0008] Furthermore, any combination of the above components, or any conversion of the expressions of this disclosure between methods, apparatus, systems, computer programs, or recording media on which computer programs are recorded, are also valid forms of this disclosure. [Effects of the Invention]

[0009] According to this disclosure, the size of an object in an image can be measured using a neural network. [Brief explanation of the drawing]

[0010] [Figure 1] This figure shows the neural network configuration in a processing unit used as a comparison in this embodiment. [Figure 2] Figures 2(a) and 2(b) show the inputs and outputs of the neural network in Figure 1. [Figure 3] This figure shows the configuration of the processing apparatus according to this embodiment. [Figure 4] This figure shows the configuration of the neural network in the processing unit shown in Figure 3. [Figure 5] Figures 5(a)-(c) show the inputs and outputs of the neural network in Figure 1. [Modes for carrying out the invention]

[0011] Before specifically describing the embodiments of this disclosure, an overview of these embodiments will be provided. The embodiments relate to a processing apparatus for determining an inspection image showing a product to be inspected. Determination means whether the product is good or defective. Here, a product is good if it does not contain any defective parts, or if the size of any defective parts contained in the product is smaller than the standard value. On the other hand, a product is defective if the size of any defective parts contained in the product is greater than or equal to the standard value. For example, if the standard value for foreign matter defects is φ0.4 mm, a measurement result of φ0.6 mm for the foreign matter is determined to be defective, and a measurement result of φ0.3 mm for the foreign matter is determined to be good. Here, the standard value differs for each defective item. Therefore, the processing apparatus is required to identify the presence or absence of defective items, which defective items they are, and the size of the defective items.

[0012] Conventional FCNs only output the location of defects as a heatmap; therefore, image inspection using FCNs can only determine the location of defects, and size measurement is impossible. For this reason, size measurement was performed using image processing, but this requires knowledge of image processing or programming. Furthermore, some defects are difficult to measure using image processing alone. Therefore, this embodiment describes an FCN model that enables the measurement of defect size.

[0013] Figure 1 shows the neural network configuration in the processing unit 10 used as a comparison in this embodiment. The processing unit 10 includes first convolutional layers 40a to fourth convolutional layers 40d, collectively referred to as convolutional layers 40, and first pooling layers 42a to fourth pooling layers 42d, collectively referred to as pooling layers 42. The number of convolutional layers 40 and pooling layers 42 included in the processing unit 10 is not limited to "4," and the number of convolutional layers 40 and the number of pooling layers 42 may differ. In other words, this neural network is an FCN structure that does not include fully connected layers.

[0014] Here, an image is input to the first convolutional layer 40a, and processing is performed in the following order: first convolutional layer 40a, first pooling layer 42a, second convolutional layer 40b, second pooling layer 42b, third convolutional layer 40c, third pooling layer 42c, fourth convolutional layer 40d, and fourth pooling layer 42d. In other words, convolution and pooling processes are repeatedly performed. Furthermore, the image size is successively reduced by the repetition of convolution and pooling processes. The number of channels in the neural network is determined based on the number of defective items to be detected, for example, "3".

[0015] Each convolutional layer 40 performs spatial filtering on an image by shifting a spatial filter smaller than the image size. Since spatial filtering is a well-known technique, its explanation will be omitted here, but this spatial filtering corresponds to the convolution process, and the convolution process extracts the image's features. Padding may also be performed in the convolutional layer 40. Furthermore, the convolutional layer 40 may perform multiple spatial filters in parallel on the image by using multiple spatial filters in parallel. This parallel use of multiple spatial filters increases the number of images. The number of spatial filters used in parallel in the convolutional layer 40 is called the number of channels, as mentioned above.

[0016] Each pooling layer 42 reduces the size of the image by combining multiple pixels included in any region in the image into one pixel. Here, average pooling is performed to combine multiple pixels into one pixel, but maximum pooling may be performed. In average pooling, the average value of a plurality of pixel values in the region is used for one pixel, and in maximum pooling, the maximum value among the plurality of pixel values in the region is used for one pixel. The pooling process is performed to enhance robustness against translational movement of a representative value or an average value in a region of interest. Furthermore, a scoring layer (not shown) may be included after the fourth pooling layer 42d, and an accuracy measurement criterion such as SoftMax with Loss may be used in the scoring layer.

[0017] In the neural network, after the learning process is executed, the image inspection process is executed. In the learning process, an image with known defect items (hereinafter referred to as “learning image”) is input to the first convolution layer 40a, and the output from the fourth pooling layer 42d, which is the result of the process for the learning image, The coefficients of the spatial filter of each convolution layer 40 are learned so as to be a defective item (hereinafter also referred to as “teacher data”) included in the learning image. In the image inspection process, in a state where each convolution layer 40 is learned, an image to be inspected (hereinafter referred to as “inspection image”) is input to the first convolution layer 40a, and the processing result for the inspection image is the fourth pooling layer. Output from 42d. The output from the fourth pooling layer 42d indicates a defective item. A general term for the learning image and the inspection image is the above-described “image”.

[0018] 2A to 2B show inputs and outputs in the neural network. FIG. 2A shows an inspection image. The inspection image includes a foreign object 200 as a defective item. FIG. 2B shows the processing result. A three-channel configuration including three types of defective items “OK”, “foreign matter”, and “flash” is shown, and the processing result indicates the probability for each defective item. Since the probability of a foreign object is the largest at “0.9”, the processing result indicates a foreign object.

[0019] Such a processing device 10 can identify defective items, but as described above, it cannot measure the size of defective items, for example, the size of foreign matter 200. A configuration capable of measuring the size of the foreign matter 200 will be described below.

[0020] FIG. 3 shows the configuration of a processing device 100 according to the present embodiment. The processing device 100 includes an input unit 110, a processing unit 120, and output units 130 (a first output unit 130a and a second output unit 130b, collectively referred to as output units 130). The input unit 110 inputs a learning image in which the class of a defective item and the size of the defective item are known during learning processing. In addition, the input unit 110 inputs an inspection image to be inspected during image inspection processing. The processing unit 120 includes a neural network that processes the learning image or the inspection image.

[0021] FIG. 4 shows the configuration of the neural network in the processing unit 120. The processing unit 120 includes convolutional layers 140 (a first convolutional layer 140a to a fifth convolutional layer 140e, collectively referred to as convolutional layers 140) and pooling layers 142 (a first pooling layer 142a to a fifth pooling layer 142e, collectively referred to as pooling layers 142). The number of the convolutional layers 140 and the pooling layers 142 included in the processing unit 120 is not limited to "5", and the number of the convolutional layers 140 and the number of the pooling layers 142 may be different.

[0022] The first convolutional layer 140a is connected to the input unit 110 in Figure 3, and processing is performed in the following order: first convolutional layer 140a, first pooling layer 142a, second convolutional layer 140b, second pooling layer 142b, third convolutional layer 140c, third pooling layer 142c, fourth convolutional layer 140d, and fourth pooling layer 142d. The fourth pooling layer 142d is connected to the first output unit 130a in Figure 3 via a scoring layer (not shown), etc. Here, the sequence from the first convolutional layer 140a to the fourth pooling layer 142d, from the input unit 110 to the first output unit 130a, may also be called the "first path". Comparing the first path with Figure 1, the convolutional layer 140 corresponds to the convolutional layer 40, and the pooling layer 142 corresponds to the pooling layer 42, so the configuration of the first path corresponds to the configuration of Figure 1. Here too, the number of channels in the neural network is determined based on the number of defective items to be detected, for example, "3".

[0023] Furthermore, processing is performed in the following order: first convolutional layer 140a, first pooling layer 142a, second convolutional layer 140b, second pooling layer 142b, third convolutional layer 140c, third pooling layer 142c, fifth convolutional layer 140e, and fifth pooling layer 142e. The fifth pooling layer 142e is connected to the second output unit 130b in Figure 3. Here, the sequence from the input unit 110 to the second output unit 130b, from the first convolutional layer 140a to the fifth pooling layer 142e, may also be called the "second path". In both the first and second paths, the first convolutional layer 140a, first pooling layer 142a, second convolutional layer 140b, second pooling layer 142b, third convolutional layer 140c, and third pooling layer 142c are used in common.

[0024] As before, in the neural network, the image inspection process is performed after the training process is executed. In particular, the training process consists of a training process for the first path (hereinafter referred to as the "first training process") and a training process for the second path (hereinafter referred to as the "second training process"). In the first training process, the training image is input to the first convolutional layer 140a, and the coefficients of the spatial filters of each convolutional layer 140 are learned so that the output from the fourth pooling layer 142d, which is the result of processing the training image, becomes the defective items contained in the training image (hereinafter also referred to as the "first training data"). The first training process is the same as the training process for the neural network in Figure 1.

[0025] In the second learning process, a training image is input to the input unit 110, and the coefficients of the spatial filters of each convolutional layer 140 are learned so that the output from the first output unit 130a, which is the result of processing the training image, becomes the size of the defective items contained in the training image (hereinafter also referred to as "second training data"). In other words, in these learning processes, the processing unit 120 learns the neural network so that when the input unit 110 receives a training image, the first output unit 130a outputs information about the class of known defective items, and the second output unit 130b outputs information about the size of known defective items.

[0026] In the image inspection process, with each convolutional layer 140 trained, the inspection image is input to the input unit 110, and the processing unit 120 performs neural network processing on the inspection image input to the input unit 110. The first output unit 130a outputs information on the class of defective items contained in the inspection image as a result of processing by the processing unit 120. This corresponds to outputting a judgment value map for each class in the inspection image. The second output unit 130b outputs information on the size of defective items contained in the inspection image as a result of processing by the processing unit 120. This corresponds to outputting a size map for each class in the inspection image. In the size determination in the size map, blocks with a certain brightness value and area value or greater in the judgment value map are identified as defective areas, and the maximum brightness value in the size map on the obtained defective area is determined to be the size of the defect.

[0027] The processing unit 100 may determine whether the product shown in the inspection image is good or defective based on the class information output from the first output unit 130a and the size information output from the second output unit 130b. The processing unit 100 determines that the product is good if the class information is "OK". The processing unit 100 also determines that the product is good if the class information is not "OK" but the size is smaller than the standard value. On the other hand, the processing unit 100 determines that the product is defective if the class information is not "OK" and the size is greater than or equal to the standard value.

[0028] Figures 5(a)-(c) show the input and output in the neural network. Figure 5(a) shows the inspection image. The inspection image includes foreign matter 200 as a defective item, similar to Figure 2(a). The size of foreign matter 200 is, for example, "13.0 pixels". Figure 5(b) shows the results of the classification among the processing results. Similar to Figure 2(b), the defective items are classified into three classes: "OK", "Foreign Matter", and "Flash", and the classification result shows the probability for each defective item. Since the probability of foreign matter is the largest at "0.9", the classification result shows foreign matter. Figure 5(c) shows the results of the size measurement among the processing results. A 3-channel configuration containing the three types of defective items, "OK", "Foreign Matter", and "Flash", is shown, and the size measurement result shows the size for each defective item. The size of the foreign matter is shown as "12.9 pixels".

[0029] The subject of the apparatus, system, or method in this disclosure comprises a computer. The functions of the subject of the apparatus, system, or method in this disclosure are realized by the computer executing a program. The computer comprises a processor as its main hardware component, which operates according to the program. The processor is of any type as long as it can realize its functions by executing the program. The processor consists of one or more electronic circuits, including semiconductor integrated circuits (ICs) or LSIs (Large Scale Integrations). Multiple electronic circuits may be integrated on one chip or provided on multiple chips. Multiple chips may be aggregated in one device or provided on multiple devices. The program is recorded on a non-temporary recording medium such as a ROM, optical disc, or hard disk drive that is readable by the computer. The program may be pre-stored on the recording medium or supplied to the recording medium via a wide-area communication network, including the Internet.

[0030] In this embodiment, during the learning process, a training image in which the class and size of the defective items are known is input, and the neural network is trained to output information on the known class of the defective items and information on the known size of the defective items. This allows the neural network to measure the size of objects in an image. Furthermore, since a common convolutional layer 140 is used in part of the first path from the input unit 110 to the first output unit 130a and in part of the second path from the input unit 110 to the second output unit 130b, the efficiency of the learning process can be improved.

[0031] An outline of one aspect of this disclosure is as follows: A processing device (100) in one aspect of this disclosure includes an input unit (110) for inputting an inspection image to be inspected, a processing unit (120) for executing neural network processing on the inspection image input to the input unit (110), a first output unit (130a) for outputting information on the class of defective items included in the inspection image as a result of processing by the processing unit (120), and a second output unit (130b) for outputting information on the size of defective items included in the inspection image as a result of processing by the processing unit (120). During the learning process, the input unit (110) is input a training image in which the class of defective items and the size of defective items are known, and the processing unit (120) learns the neural network so that when the input unit (110) is input a training image, the first output unit (130a) outputs information on the class of known defective items and the second output unit (130b) outputs information on the size of known defective items.

[0032] The neural network in the processing unit (120) may use a common convolutional layer in part of the first path from the input unit (110) to the first output unit (130a) and in part of the second path from the input unit (110) to the second output unit (130b).

[0033] Another aspect of this disclosure is a processing method. This method comprises the steps of: inputting an inspection image to be inspected; performing neural network processing on the input inspection image; outputting information on the class of defective items contained in the inspection image as a processing result; and outputting information on the size of defective items contained in the inspection image as a processing result. The neural network is trained to output information on the known class of defective items and information on the known size of defective items when inputting a training image in which the class of defective items and the size of defective items are known.

[0034] The present disclosure has been described above based on examples. These examples are illustrative, and it will be understood by those skilled in the art that various modifications are possible for each component or combination of processing steps, and that such modifications are also within the scope of the present disclosure.

[0035] In this embodiment, the processing unit 120 is configured with multiple convolutional layers 140 and multiple pooling layers 142 arranged alternately. However, it is not limited to this configuration; for example, the processing unit 120 may have a GoogLeNet-based or DenseNet-based configuration. This modified example improves the flexibility of the configuration.

[0036] In this embodiment, the processing unit 120 is configured with multiple convolutional layers 140 and multiple pooling layers 142 arranged alternately. However, it is not limited to this configuration; for example, the processing unit 120 may include only convolutional layers 140 and perform only convolution processing, or it may include only pooling layers 142 and perform only pooling processing. This modified example improves the flexibility of the configuration. [Industrial applicability]

[0037] According to this disclosure, the size of an object in an image can be measured using a neural network. [Explanation of symbols]

[0038] 100 Processing unit, 110 Input unit, 120 Processing unit, 130 Output unit, 140 Convolutional layer, 142 Pooling layer.

Claims

1. An input unit for inputting the examination images to be examined, A processing unit which performs neural network processing on the inspection image input to the input unit, As a result of the processing of the aforementioned processing unit, a first output unit outputs information about the class of defective items included in the inspection image, The processing unit comprises a second output unit that outputs information on the size of defective items included in the inspection image as a result of processing, The information regarding the class of the defective item indicates the probability value for each of the multiple classes of defective items. The size information for the aforementioned defective item indicates a numerical value in pixels for each of the classes of multiple defective items. The neural network in the processing unit has a first path from the input unit to the first output unit and a second path from the input unit to the second output unit, and uses a common convolutional layer in part of the first path and part of the second path. The input unit, during the learning process, receives a training image in which the class of the defective item and the pixel-level numerical value of the defective item are known. The processing unit is a processing unit that trains the neural network such that when the input unit receives the training image, the first output unit outputs information about the class of a known defective item, and the second output unit outputs information about the size of a known defective item.

2. The steps include: inputting the images to be examined, The steps include: performing neural network processing on the input inspection image; The processing results include the step of outputting information on the class of defective items included in the inspection image, The process includes the step of outputting information on the size of defective items included in the inspection image as a result of processing, The information regarding the class of the defective item indicates the probability value for each of the multiple classes of defective items. The size information for the aforementioned defective item indicates a numerical value in pixels for each of the classes of multiple defective items. The neural network has a first path from the input of the inspection image to the output of information on the class of the defective item, and a second path from the input of the inspection image to the output of information on the size of the defective item, and uses a common convolutional layer in part of the first path and part of the second path. The neural network is a processing method that, when inputting a training image in which the class of the defective item and the pixel-level numerical value of the defective item are known, outputs information about the known class of the defective item, as well as information about the known size of the defective item.

Citation Information

Patent Citations

  • Interpretation and quantification of emergent features in head computed tomography

    JP2019500110A

  • Image learning device, image learning method, neural network, and image classification device

    JP2021086350A

  • Visual inspection device, visual inspection system, feature quantity estimation device, and visual inspection program

    JP2021092887A

  • SYSTEM AND METHOD FOR DETERMINING TYPE AND SIZE OF DEFECTS ON A BLANK RETICLE - Patent application

    JP2022506485A