# US 2026/0212442 A1 · Image processing method and apparatus, device, and medium

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

- Number: US 2026/0212442 A1
- Document ID: US20260212442A1
- Status: Published application
- Kind: A1
- Application number: 19/138,588
- Filed: 2023-12-05
- Published: 2026-07-23
- Earliest claimed: 2022-12-13
- Assignees: Beijing Zitiao Network Technology Co., Ltd.
- Applicants: Beijing Zitiao Network Technology Co., Ltd.
- Inventors: Zhixuan WEI; Kai LI; Bo LIU; Xinghua ZHANG; Nan XU
- Web page: https://patentgrep.com/patent/US20260212442A1

## CPC

- G06T 3/00: Geometric image transformations in the plane of the image
- G06T 3/04: Context-preserving transformations, e.g. by using an importance map (panospheric to cylindrical image transformations G06T3/12)
- G06F 3/04845: for image manipulation, e.g. dragging, rotation, expansion or change of colour
- G06F 3/0488: using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06T 3/40: Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T 3/60: Rotation of whole images or parts thereof
- G06T 5/00: Image enhancement or restoration
- G06T 7/246: using feature-based methods, e.g. the tracking of corners or segments
- G06T 7/73: using feature-based methods
- G06T 11/40: Filling planar surfaces by adding surface attributes, e.g. adding colours or textures
- G06V 10/247: {by affine transforms, e.g. correction due to perspective effects; Quadrilaterals, e.g. trapezoids}
- G06V 10/248: {by interactive preprocessing or interactive shape modelling, e.g. feature points assigned by a user}
- G06T 2200/24: involving graphical user interfaces [GUIs]
- G06T 2207/20192: Edge enhancement; Edge preservation
- G06T 2210/62: Semi-transparency
- Y02T 10/40: Engine management systems
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- Y02T: CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION

## Abstract

Embodiments of the present disclosure relate to an image processing method and apparatus, a device, and a medium. The method includes: acquiring an original image to be processed and a perspective correction direction of the original image, wherein the perspective correction direction includes a preset direction and/or a custom direction; acquiring image transformation information corresponding to the original image according to the perspective correction direction, wherein the image transformation information includes one or more of image scaling information, image rotation information, or target point position information; and obtaining a corrected image by performing correction processing on the original image based on the image transformation information.

## Claims

### Claim 1

An image processing method, comprising:
acquiring an original image to be processed and a perspective correction direction of the original image, the perspective correction direction comprising a preset direction and/or a custom direction;
acquiring image transformation information corresponding to the original image based on the perspective correction direction, the image transformation information comprising one or more of image scaling information, image rotation information, or target point position information; and
obtaining a corrected image by performing correction processing on the original image based on the image transformation information.

### Claim 2 (depends on 1)

The method of claim 1, wherein the preset direction comprises at least one of a horizontal direction or a vertical direction.

### Claim 3 (depends on 2)

The method of claim 2, wherein in a case of the perspective correction direction comprising the preset direction, the image transformation information comprises at least one of image scaling information or image rotation information; and
wherein in a case of the perspective correction direction comprising the custom direction, the image transformation information comprises target point position information.

### Claim 4 (depends on 3)

The method of claim 3, wherein in a case of the correction direction comprising the preset direction, the performing correction processing on the original image based on the image transformation information comprises:
determining camera movement information based on the image rotation information;
determining pixel point position transformation information of the original image based on the image scaling information and the camera movement information; and
performing correction processing on the original image based on the pixel point position transformation information of the original image.

### Claim 5 (depends on 4)

The method of claim 4, wherein the image rotation information is set by a user through a specified control on an interface.

### Claim 6 (depends on 3)

The method of claim 3, wherein in a case of the correction direction comprising the custom direction, the performing correction processing on the original image based on the image transformation information comprises:
determining a first matrix based on the target point position information, wherein the target point position information comprises plane position information of positions of target points located in both the original image and the corrected image respectively, and the first matrix is used to represent a pixel transformation correspondence between the original image and the corrected image;
obtaining a second matrix by inverting the first matrix; and
performing correction processing on the original image based on the second matrix.

### Claim 7 (depends on 6)

The method of claim 6, wherein the target point position information is determined based on a user dragging of a touch point on the original image.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
performing optimization processing on the corrected image, and obtaining a target image based on the optimized image, wherein the optimization processing comprises at least one of edge optimization processing or filling processing for a non-content area.

### Claim 9 (depends on 8)

The method of claim 8, wherein the optimization processing comprises the edge optimization processing, the performing optimization processing on the corrected image comprises:
performing transparency gradient processing on a content area of the corrected image, wherein a transparency of the content area decreases gradually in a direction from a center of the content area to an edge of the content area.

### Claim 10 (depends on 8)

The method of claim 8, wherein the optimization processing comprises the filling processing of the non-content area, the performing optimization processing on the corrected image comprises:
obtaining an initially filled area by performing initial filling on the non-content area based on the content area using a preset matching algorithm; and
performing pixel optimization processing on the initially filled area using a preset deep learning algorithm.

### Claim 11

(canceled)

### Claim 12

An electronic device, comprising
a processor; and
a memory, configured to store instructions executable by the processor,
wherein the instructions, when executed by the processor, cause the processor to:
acquire an original image to be processed and a perspective correction direction of the original image, the perspective correction direction comprising a preset direction and/or a custom direction;
acquire image transformation information corresponding to the original image based on the perspective correction direction, the image transformation information comprising one or more of image scaling information, image rotation information, or target point position information; and
obtain a corrected image by performing correction processing on the original image based on the image transformation information.

### Claim 13

(canceled)

### Claim 14

A computer program product, wherein the computer program product is tangibly stored on a non-transitory computer-readable medium and comprises machine-executable instructions, the machine-executable instructions, when executed, cause a machine to perform:
acquire an original image to be processed and a perspective correction direction of the original image, the perspective correction direction comprising a preset direction and/or a custom direction;
acquire image transformation information corresponding to the original image based on the perspective correction direction, the image transformation information comprising one or more of image scaling information, image rotation information, or target point position information; and
obtain a corrected image by performing correction processing on the original image based on the image transformation information.

### Claim 15 (depends on 12)

The electronic device of claim 12, wherein the preset direction comprises at least one of a horizontal direction or a vertical direction.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein in a case of the perspective correction direction comprising the preset direction, the image transformation information comprises at least one of image scaling information or image rotation information; and
wherein in a case of the perspective correction direction comprising the custom direction, the image transformation information comprises target point position information.

### Claim 17 (depends on 16)

The electronic device of claim 16, wherein in a case of the correction direction comprising the preset direction, the processor is caused to perform correction processing on the original image based on the image transformation information by:
determining camera movement information based on the image rotation information;
determining pixel point position transformation information of the original image based on the image scaling information and the camera movement information; and
performing correction processing on the original image based on the pixel point position transformation information of the original image.

### Claim 18 (depends on 16)

The electronic device of claim 16, wherein in a case of the correction direction comprising the custom direction, the processor is caused to perform correction processing on the original image based on the image transformation information by:
determining a first matrix based on the target point position information, wherein the target point position information comprises plane position information of positions of target points located in both the original image and the corrected image respectively, and the first matrix is used to represent a pixel transformation correspondence between the original image and the corrected image;
obtaining a second matrix by inverting the first matrix; and
performing correction processing on the original image based on the second matrix.

### Claim 19 (depends on 14)

The computer program product of claim 14, wherein the preset direction comprises at least one of a horizontal direction or a vertical direction.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein in a case of the perspective correction direction comprising the preset direction, the image transformation information comprises at least one of image scaling information or image rotation information; and
wherein in a case of the perspective correction direction comprising the custom direction, the image transformation information comprises target point position information.

### Claim 21 (depends on 20)

The computer program product of claim 20, wherein in a case of the correction direction comprising the preset direction, the machine is caused to perform correction processing on the original image based on the image transformation information by:
determining camera movement information based on the image rotation information;
determining pixel point position transformation information of the original image based on the image scaling information and the camera movement information; and
performing correction processing on the original image based on the pixel point position transformation information of the original image.

### Claim 22 (depends on 20)

The computer program product of claim 20, wherein in a case of the correction direction comprising the custom direction, the machine is caused to perform correction processing on the original image based on the image transformation information by:
determining a first matrix based on the target point position information, wherein the target point position information comprises plane position information of positions of target points located in both the original image and the corrected image respectively, and the first matrix is used to represent a pixel transformation correspondence between the original image and the corrected image;
obtaining a second matrix by inverting the first matrix; and
performing correction processing on the original image based on the second matrix.
