Image processing method and related device
Abstract
Methods and apparatuses for performing image processing using artificial intelligence are provided. In an embodiment, an image processing method includes acquiring a target image based on an editing operation on an original image, performing a filling processing operation on the target image to obtain a first filled image including a first target region, identifying a target patch based on the first filled image, calculating a similarity value between the target patch and at least one patch related to the first filled image using a first artificial intelligence (AI) model, determining a target residual patch corresponding to the target patch based on the similarity value and generating a processing result image based on the target residual patch.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
An image processing method, comprising: acquiring a target image based on an editing operation on an original image, wherein the target image comprises an unknown region formed by the editing operation; performing a filling processing operation on the target image to obtain a filled image comprising a target region, wherein the target region corresponds to the unknown region; identifying a target image patch comprising at least a portion of the target region in the filled image; tiling the target image patch to generate a tile image with a predetermined third size comprising a plurality of tiles corresponding to the target image patch; obtaining a similarity value between the target image patch and at least one image patch from the filled image by inputting the tile image into a first artificial intelligence (AI) model; determining a residual patch associated with an image patch among the at least one image patch as a target residual patch associated with the target image patch based o
- Claim 2Depends on #1
The image processing method of claim 1, wherein the acquiring of the target image comprises: acquiring an edited image by the editing operation on the original image; and in case that a size of the edited image is larger than a predetermined first size, cropping the edited image to acquire a cropped image as the target image.
- Claim 3Depends on #2
The image processing method of claim 2, wherein the cropping of the edited image comprises: calculating at least one maximum connected component in a mask image corresponding to the edited image; and cropping the edited image based on at least one minimum bounding square corresponding to the at least one maximum connected component, to obtain at least one cropped image.
- Claim 4Depends on #1
The image processing method of claim 1, wherein the performing of the filling processing operation on the target image comprises: in case that a size of the target image is larger than a predetermined second size, scaling down the target image based on the predetermined second size; and generating the filled image by filling the unknown region of the target image scaled down, using a second AI model for image generation.
- Claim 5Depends on #1
The image processing method of claim 1, wherein the performing of the filling processing operation on the target image comprises: generating image data of the target region corresponding to the unknown region based on the target image using a second AI model for image generation to obtain the filled image.
- Claim 6Depends on #5
The image processing method of claim 5, wherein the second AI model comprises at least one down-sampling operation, at least one dilated convolution operation and at least one up-sampling operation.
- Claim 7Depends on #6
The image processing method of claim 6, wherein each of the at least one down-sampling operation is configured to extract a feature map from input data, and each of the at least one dilated convolution operation is configured to: split an input feature map into at least one sub-feature map, based on a predetermined number of dilated convolutions; perform feature extraction from each of the at least one sub-feature map using each dilation rate corresponding to the each of the at least one sub-feature map; and calculate output data based on a feature extraction result of the each of the at least one sub-feature map.
- Claim 8Depends on #7
The image processing method of claim 7, wherein the calculating of the output data comprises: performing at least one summing operation on the feature extraction result of the each of the at least one sub-feature map to obtain a plurality of pieces of superimposed information; concatenating the plurality of pieces of superimposed information; and determining the output data based on the concatenated plurality of pieces of superimposed information, and wherein the at least one summing operation comprises summing a feature extraction result of a current sub-feature map with a result of a previous summing operation, to obtain superimposed information associated with the current sub-feature map.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation application of International Application No. PCT/KR2022/017785, filed on Nov. 11, 2022, which claims priority to Chinese Patent Application 202111342435.0, filed on Nov. 12, 2021, and Chinese Patent Application 202210821462.4, filed on Jul. 12, 2022, in the China National Intellectual Property Administration, the disclosures of which are incorporated by reference herein in their entireties. BACKGROUND 1. Field The present disclosure relates generally to image processing, and more particularly, to a method and an electronic device for performing image processing using artificial intelligence. 2. Description of Related Art In the art of image processing, after a user edits an image, the editing of the image may cause content to be lost. That is, the editing of the image may generate missing content of the image due to editing. As a result, some blurred, or background cluttered images may be processed. Related image processing operations generally involve image recovering techniques, however, the related image recovering techniques corresponding to image processing may have poor performance. SUMMARY Embodiments of the present disclosure provide an image processing method, apparatus, electronic device, computer readable storage medium, and computer program product that may address the technical problem of poor performance of image processing in the related technology. According to an aspect of the disclosure, an image processing method includes acquiring a target image based on an editing operation on an original image, wherein the target image includes an unknown region formed by the editing operation. In an embodiment, the image processing method includes performing a filling processing operation on the target image to obtain a first filled image including a first target region, wherein the first target region corresponds to the unknown region. In an embodiment, the image processing method incl
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (26)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,190,484 B2 | Generating modified digital images using deep visual guided patch match models for image inpainting | 2025 | 2 |
Non-Patent Literature (6)
- Communication issued Oct. 9, 2024 by the European Patent Office in European Patent Application No. 22893281.0.
- International Search Report (PCT/ISA/210) issued from the International Searching Authority on Feb. 15, 2023 to International Application No. PCT/KR2022/017785.
- Written Opinion (PCT/ISA/237) issued from the International Searching Authority on Feb. 15, 2023 to International Application No. PCT/KR2022/017785.
- Communication issued Jan. 13, 2026 by the European Patent Office in European Patent Application No. 22893281.0.
- Communication issued Jun. 5, 2026 by the European Patent Office in European Patent Application No. 22893281.0.
- Communication issued Jul. 3, 2026 by the European Patent Office in European Patent Application No. 22893281.0.