# US 2024/0193907 A1 · Image processing apparatus, learning method of feature extractor, updating method of identifier, and image processing method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0193907 A1
- Document ID: US20240193907A1
- Status: Published application
- Kind: A1
- Application number: 18/531,480
- Filed: 2023-12-06
- Published: 2024-06-13
- Earliest claimed: 2022-12-07
- Assignees: SCREEN Holdings Co., Ltd.; Wakayama University
- Applicants: SCREEN Holdings Co., Ltd.; Wakayama University
- Inventors: Toshiyuki OKAYAMA; Takeshi NOGUCHI; Yoshinori SHIMADA; Toshikazu WADA; Koji KAMMA
- Web page: https://patentgrep.com/patent/US20240193907A1

## CPC

- G06V 10/44: Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
- G06V 10/764: using classification, e.g. of video objects
- G06T 7/0008: {checking presence/absence}
- G06V 10/26: Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06V 10/763: {Non-hierarchical techniques, e.g. based on statistics of modelling distributions}
- G06V 10/7788: {the supervisor being a human, e.g. interactive learning with a human teacher}
- G06V 10/82: using neural networks
- G06V 2201/06: Recognition of objects for industrial automation
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An image processing apparatus includes a feature extractor and an identifier. The feature extractor outputs a feature vector corresponding to each pixel of an input image, as intermediate output data. The identifier outputs output data in which a region type of each pixel of the image is estimated, on the basis of the intermediate output data output from the feature extractor. Thus, a region type of each region in the image is estimated with the use of the feature extractor and the identifier. Therefore, by adjusting the feature extractor and the identifier in accordance with an estimation result, it is possible to acquire an estimation result close to user recognition.

## Claims

### Claim 1

An image processing apparatus that estimates each region type of plural types of regions included in an image, comprising:
a feature extractor configured to output a feature vector corresponding to each of pixels of an image that is input, as intermediate output data; and
an identifier configured to output output data in which region types of the respective pixels of the image are estimated, on the basis of the intermediate output data output from the feature extractor, wherein
the region types include at least two types of a first region and a second region,
a region where the closest known feature vector is a first feature vector corresponding to a known pixel belonging to the first region is a domain of the first feature vector in a feature space,
a region where the closest known feature vector is a second feature vector corresponding to a known pixel belonging to the second region is a domain of the second feature vector in the feature space,
when the feature vector output from the feature extractor belongs to the domain of the first feature vector, the identifier estimates that a pixel corresponding to the feature vector belongs to the first region, and
when the feature vector output from the feature extractor belongs to the domain of the second feature vector, the identifier estimates that a pixel corresponding to the feature vector belongs to the second region.

### Claim 2 (depends on 1)

The image processing apparatus according to claim 1, wherein the feature space is three-dimensional.

### Claim 3 (depends on 1)

The image processing apparatus according to claim 1, wherein the feature extractor is a machine learning model.

### Claim 4 (depends on 1)

The image processing apparatus according to claim 1, wherein the identifier is a nearest neighbor identifier.

### Claim 5 (depends on 1)

The image processing apparatus according to claim 1, wherein
the image is a captured image of an object, and
the first region is a defect region indicating a defect of the object.

### Claim 6 (depends on 3)

A learning method of the feature extractor included in the image processing apparatus according to claim 3, comprising the steps of:
a) preparing a learning image including the first region and the second region;
b) defining the first region that is known and the second region that is known in the learning image;
c) inputting the first region that is known and the second region that is known, to the feature extractor, and outputting the feature vector from the feature extractor; and
d) adjusting a parameter of the feature extractor such that the feature vector corresponding to the first region and the feature vector corresponding to the second region are separated from each other in the feature space.

### Claim 7 (depends on 6)

The learning method according to claim 6, wherein
the step d) includes adjusting the parameter such that a loss function decreases, and
the loss function is a function in which attractive force acts between feature vectors corresponding to the same region type among the region types and repulsive force acts between feature vectors corresponding to different region types among the region types.

### Claim 8 (depends on 6)

The learning method according to claim 6, further comprising the steps of:
e) inputting the learning image to the feature extractor of which parameter has been adjusted in the step d), and outputting the intermediate output data;
f) inputting the intermediate output data to the identifier and estimating a region type of each of pixels of the learning image;
g) displaying a result of estimation performed in the step f), to a user; and
h) requesting the user to choose whether to perform relearning of the feature extractor, wherein
when the user chooses to perform relearning of the feature extractor in the step h), the steps b) to d) are performed again.

### Claim 9 (depends on 1)

An updating method of the identifier according to claim 1, comprising the steps of:
i) inputting an image to the feature extractor and outputting the intermediate output data from the feature extractor;
j) inputting the intermediate output data to the identifier and estimating a region type of each of pixels of the image;
k) displaying a result of estimation performed in the step j), to a user; and
l) requesting the user to choose whether to update the identifier, wherein
when the user chooses to update the identifier in the step l), a step of m) re-defining the first region that is known and the second region that is known in the image, and a step of n) updating the identifier on the basis of the known first region and the known second region that have been re-defined in the step m), are performed.

### Claim 10

An image processing method for estimating each region type of plural types of regions included in an image, comprising the steps of:
P) inputting a to-be-inspected image to a feature extractor and outputting a feature vector corresponding to each of pixels of the to-be-inspected image from the feature extractor, as intermediate output data; and
Q) inputting the intermediate output data to an identifier and outputting output data in which a region type of each of the pixels of the to-be-inspected image is estimated, from the identifier, wherein
the region types include at least two types of a first region and a second region,
a region where the closest known feature vector is a first feature vector corresponding to a known pixel belonging to the first region is a domain of the first feature vector in a feature space,
a region where the closest known feature vector is a second feature vector corresponding to a known pixel belonging to the second region is a domain of the second feature vector in the feature space,
in the step Q), when the feature vector output from the feature extractor belongs to the domain of the first feature vector, the identifier estimates that a pixel corresponding to the feature vector belongs to the first region, and
in the step Q), when the feature vector output from the feature extractor belongs to the domain of the second feature vector, the identifier estimates that a pixel corresponding to the feature vector belongs to the second region.
