# US 2023/0066402 A1 · Inspection system, inspection apparatus, method of controlling the same, and storage medium

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

- Number: US 2023/0066402 A1
- Document ID: US20230066402A1
- Status: Published application
- Kind: A1
- Application number: 17/821,991
- Filed: 2022-08-24
- Published: 2023-03-02
- Earliest claimed: 2021-08-30
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Kenichirou Haruta
- Web page: https://patentgrep.com/patent/US20230066402A1

## CPC

- G06T 7/001: {using an image reference approach}
- H04N 1/00718: {Skew}
- G06T 2207/10008: from scanner, fax or copier
- G06T 2207/10024: Color image
- G06T 2207/30144: Printing quality
- G06T 2207/30176: Document
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An inspection apparatus obtains a scanned image by reading a printed product, calculates a weighting factor of a weighting filter based on a difference between a value of a pixel of interest in a reference image used in creation of the printed product and values of peripheral pixels of the pixel of interest, performs filter processing by using the weighting filter having the weighting factors, with respect to a pixel of interest in the scanned image, which corresponds to the pixel of interest in the reference image, thereby shifting the pixel of interest in the scanned image, and create an inspection target image by calculating the weighting factors and performing the filter processing with respect to the shifted pixel of interest, and inspects quality of the printed product by collating the inspection target image with the reference image.

## Claims

### Claim 1

An inspection apparatus comprising:
one or more controllers including one or more processors and one or more memories, the one or more controllers being configured to:
obtain a scanned image by reading a printed product;
calculate a weighting factor of a weighting filter based on differences between a value of a pixel of interest in a reference image used in creation of the printed product and values of peripheral pixels of the pixel of interest;
perform filter processing by using the weighting filter having the weighting factor, with respect to a pixel of interest in the scanned image, which corresponds to the pixel of interest in the reference image, thereby shifting the pixel of interest in the scanned image, and create an inspection target image by calculating the weighting factor and performing the filter processing with respect to the shifted pixel of interest; and
inspect quality of the printed product by collating the inspection target image with the reference image.

### Claim 2 (depends on 1)

The inspection apparatus according to claim 1, wherein in reading the printed product, the one or more controllers are configured to detect skew feeding of the scanned image, and deform the scanned image based on the skew feeding.

### Claim 3 (depends on 1)

The inspection apparatus according to claim 1, wherein the one or more controllers are further configured to align the scanned image and the reference image before the collating.

### Claim 4 (depends on 1)

The inspection apparatus according to claim 1, wherein the one or more controllers are further configured to, if the scanned image and the reference image have different resolutions, convert the resolutions before the filter processing such that the resolutions of the scanned image and the reference image become equal.

### Claim 5

An inspection apparatus comprising:
one or more controllers including one or more processors and one or more memories, the one or more controllers being configured to:
obtain a scanned image by reading a printed product;
calculate a weighting factor of a weighting filter based on differences between a value of a pixel of interest in a reference image used in creation of the printed product and values of peripheral pixels of the pixel of interest;
calculate a difference between an average luminance value of the reference image and an average luminance value of the scanned image;
create an inspection target image by combining the scanned image and an image obtained by performing filter processing on the scanned image by using the weighting filter, in accordance with a weighting amount based on the difference between the average luminance values; and
inspect quality of the printed product by collating the inspection target image with the reference image.

### Claim 6 (depends on 5)

The inspection apparatus according to claim 5, wherein the filter processing is performed in accordance with:
g
x
,
y
=
∑
n
∑
m
W
s
n
,
m
W
l
x
,
y
,
n
,
m
h
x
,
y
∑
n
∑
m
W
s
n
,
m
W
l
x
,
y
,
n
,
m
,
where g is a pixel value of a target after the filter processing, h is the pixel value of the target before the filter processing, x and y indicate a pixel position, n and m are pixel positions within a filter range, Ws is a function for determining a weight based on a spatial distance, and W1 is a function for determining a weight based on a pixel value difference of a guide image.

### Claim 7 (depends on 5)

The inspection apparatus according to claim 5, wherein the weighting amount is a value obtained by normalizing an absolute value of the difference between the average luminance values.

### Claim 8 (depends on 5)

The inspection apparatus according to claim 5, wherein in the creation of the inspection target image, the one or more controllers are configured to, if the difference between the average luminance values is greater than a predetermined value, create the inspection target image by increasing the weighting of the scanned image.

### Claim 9 (depends on 5)

The inspection apparatus according to claim 5, wherein in reading the printed product, the one or more controllers are configured to detect skew feeding of the scanned image, and deform the scanned image based on the skew feeding.

### Claim 10 (depends on 5)

The inspection apparatus according to claim 5, wherein the one or more controllers are further configured to align the scanned image and the reference image before the collating.

### Claim 11 (depends on 5)

The inspection apparatus according to claim 5, wherein the one or more controllers are further configured to, if the scanned image and the reference image have different resolutions, convert the resolutions before the filter processing such that the resolutions of the scanned image and the reference image become equal.

### Claim 12

An inspection system comprising:
a printing apparatus; and
an inspection apparatus comprising one or more controllers including one or more processors and one or more memories, the one or more controllers being configured to:
obtain a scanned image by reading a printed product;
calculate a weighting factor of a weighting filter based on a difference between a value of a pixel of interest in a reference image used in creation of the printed product and values of peripheral pixels of the pixel of interest;
perform filter processing by using the weighting filter having the weighting factor, with respect to a pixel of interest in the scanned image, which corresponds to the pixel of interest in the reference image, thereby shifting the pixel of interest in the scanned image, and create an inspection target image by calculating the weighting factor and performing the filter processing with respect to the shifted pixel of interest; and
inspect quality of the printed product by collating the inspection target image with the reference image.

### Claim 13 (depends on 12)

The inspection system according to claim 12, wherein in reading the printed product, the one or more controllers are configured to detect skew feeding of the scanned image, and deform the scanned image based on the skew feeding.

### Claim 14 (depends on 12)

The inspection system according to claim 12, wherein the one or more controllers are further configured to align the scanned image and the reference image before the collating.

### Claim 15 (depends on 12)

The inspection system according to claim 12, wherein the one or more controllers are further configured to, if the scanned image and the reference image have different resolutions, convert the resolutions before the filter processing such that the resolutions of the scanned image and the reference image become equal.

### Claim 16

A method of controlling an inspection apparatus, the method comprising:
obtaining a scanned image by reading a printed product;
calculating a weighting factor of a weighting filter based on a difference between a value of a pixel of interest in a reference image used in creation of the printed product and values of a peripheral pixels of the pixel of interest;
performing filter processing by using the weighting filter having the weighting factor, with respect a pixel of interest in the scanned image, which corresponds to the pixel of interest in the reference image, thereby shifting the pixel of interest in the scanned image, and creating an inspection target image by calculating the weighting factor and performing the filter processing with respect to the shifted pixel of interest; and
inspecting quality of the printed product by collating the inspection target image with the reference image.

### Claim 17

A non-transitory computer-readable storage medium storing a program for causing a processor to execute a method of controlling an inspection apparatus, the method comprising:
obtaining a scanned image by reading a printed product;
calculating a weighting factor of a weighting filter based on a difference between a value of a pixel of interest in a reference image used in creation of the printed product and values of a peripheral pixels of the pixel of interest;
performing filter processing by using the weighting filter having the weighting factor, with respect a pixel of interest in the scanned image, which corresponds to the pixel of interest in the reference image, thereby shifting the pixel of interest in the scanned image, and creating an inspection target image by calculating the weighting factor and performing the filter processing with respect to the shifted pixel of interest; and
inspecting quality of the printed product by collating the inspection target image with the reference image.
