# US 2025/0384580 A1 · Image processing apparatus, processing method of image processing apparatus, 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 2025/0384580 A1
- Document ID: US20250384580A1
- Status: Published application
- Kind: A1
- Application number: 19/231,223
- Filed: 2025-06-06
- Published: 2025-12-18
- Earliest claimed: 2024-06-17
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: WAKI MIDORIKAWA
- Web page: https://patentgrep.com/patent/US20250384580A1

## CPC

- G06T 7/74: {involving reference images or patches}
- G06T 7/13: Edge detection
- G06T 7/248: {involving reference images or patches}
- G06T 7/337: {involving reference images or patches}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An image processing apparatus includes one or more memories storing one or more instructions, and one or more processors that, upon execution of the stored one or more instructions, cause the image processing apparatus to select from a first image a plurality of patches to be used for detecting displacement in a direction out of a plurality of directions, search a second image for regions corresponding to the plurality of selected patches, and store amounts of change in coordinates and direction between a patch in the first image that has been successfully searched and a region corresponding to the successfully searched patch in the second image, assign a weight of the amounts of change to the patch that has been successfully searched, and perform positioning of the second image with respect to the first image using the amounts of change and the weight to correct the second image.

## Claims

### Claim 1

An image processing apparatus comprising:
one or more memories storing one or more instructions; and
one or more processors that, upon execution of the stored one or more instructions, cause the image processing apparatus to:
select from a first image a plurality of patches to be used for detecting displacement in a direction out of a plurality of directions;
search a second image for regions corresponding to the plurality of selected patches, and store amounts of change in coordinates and direction between a patch in the first image that has been successfully searched and a region corresponding to the successfully searched patch in the second image;
assign a weight of the amounts of change to the patch that has been successfully searched; and
perform positioning of the second image with respect to the first image using the amounts of change and the weight of the amounts of change to correct the second image.

### Claim 2 (depends on 1)

The image processing apparatus according to claim 1,
wherein the number of patches to be used for detecting displacement in a direction that have been successfully searched is equal to or less than a threshold value, and
wherein the one or more processors, upon execution of the stored one or more instructions, cause the image processing apparatus to assign a weight of the amounts of change to each of the patches that have been successfully searched and that are to be used for detecting displacement in the direction.

### Claim 3 (depends on 1)

The image processing apparatus according to claim 1, wherein the weight of the amounts of change is based on a degree of similarity between the patch in the first image that has been successfully searched and the region corresponding to the successfully searched patch in the second image.

### Claim 4 (depends on 3)

The image processing apparatus according to claim 3, wherein the weight of the amounts of change is based on a degree of similarity between a direction of an edge detected in the patch in the first image that has been successfully searched and a direction of an edge detected in the region corresponding to the successfully searched patch in the second image.

### Claim 5 (depends on 4)

The image processing apparatus according to claim 4, wherein the weight of the amounts of change is based on a degree of similarity between a histogram of normal vectors of respective points on the edge detected in the patch in the first image that has been successfully searched and a histogram of normal vectors of respective points on the edge detected in the region corresponding to the successfully searched patch in the second image.

### Claim 6 (depends on 3)

The image processing apparatus according to claim 3, wherein the weight of the amounts of change increases as the degree of similarity increases.

### Claim 7 (depends on 1)

The image processing apparatus according to claim 1, wherein the first image is captured by an imaging unit, and thereafter the second image is captured by the imaging unit.

### Claim 8 (depends on 1)

The image processing apparatus according to claim 1, wherein the plurality of patches selected from the first image includes a plurality of patches for detecting displacement in a horizontal direction and a plurality of patches for detecting displacement in a vertical direction.

### Claim 9 (depends on 8)

The image processing apparatus according to claim 8,
wherein each patch of the plurality of patches for detecting displacement in the horizontal direction includes a longitudinal edge component, and
wherein each patch of the plurality of patches for detecting displacement in the vertical direction includes a lateral edge component.

### Claim 10

An image processing method comprising the steps of:
selecting from a first image a plurality of patches to be used for detecting displacement in a direction out of a plurality of directions;
searching a second image for regions corresponding to the plurality of selected patches, and storing amounts of change in coordinates and direction between a patch in the first image that has been successfully searched and a region corresponding to the successfully searched patch in the second image;
assigning a weight of the amounts of change to the patch that has been successfully searched; and
performing positioning of the second image with respect to the first image using the amounts of change and the weight of the amounts of change to correct the second image.

### Claim 11

A non-transitory computer-readable storage medium storing a program for causing a computer to execute a control method of an image processing apparatus, the control method comprising the steps of:
selecting from a first image a plurality of patches to be used for detecting displacement in a direction out of a plurality of directions;
searching a second image for regions corresponding to the plurality of selected patches, and storing amounts of change in coordinates and direction between a patch in the first image that has been successfully searched and a region corresponding to the successfully searched patch in the second image;
assigning a weight of the amounts of change to the patch that has been successfully searched; and
performing positioning of the second image with respect to the first image using the amounts of change and the weight of the amounts of change to correct the second image.
