Image processing method, apparatus, electronic device and storage medium
AssigneeBeijing Zitiao Network Technology Co., Ltd.
InventorPengjing SONG
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure provide an image processing method, an apparatus, an electronic device and a storage medium. The method may includes: acquiring a to-be-processed image, and determining a wipe area of the to-be-processed image; acquiring a replacement pixel value corresponding to a target pixel point in the wipe area, wherein the replacement pixel value is determined based on a boundary pixel point corresponding to the target pixel point, and the boundary pixel point is a projection point of the target pixel point on an area boundary of the wipe area; and setting the corresponding target pixel point according to the replacement pixel value, so as to generate a completed image.
Claims20
An image processing method, comprising:
- acquiring a to-be-processed image, and determining a wipe area of the to-be-processed image;
- acquiring a replacement pixel value corresponding to a target pixel point in the wipe area, wherein the replacement pixel value is determined based on a boundary pixel point corresponding to the target pixel point, and the boundary pixel point is a projection point of the target pixel point on an area boundary of the wipe area;
- and
- setting a corresponding target pixel point according to the replacement pixel value, so as to generate a completed image.
An electronic device, comprising:
- a processor and a memory;
- wherein computer executable instructions are stored in the memory;
- the processor executes the computer executable instructions stored in the memory such that the processor executes an image processing method,
- wherein the image processing method comprises:
- acquiring a to-be-processed image, and determining a wipe area of the to-be-processed image;
- acquiring a replacement pixel value corresponding to a target pixel point in the wipe area, wherein the replacement pixel value is determined based on a boundary pixel point corresponding to the target pixel point, and the boundary pixel point is a projection point of the target pixel point on an area boundary of the wipe area;
- and
- setting a corresponding target pixel point according to the replacement pixel value, so as to generate a completed image.
A computer readable storage medium, wherein computer executable instructions are stored in the computer readable storage medium, and a processor, when executing the computer executable instructions, implements an image processing method,
- wherein the image processing method comprises:
- acquiring a to-be-processed image, and determining a wipe area of the to-be-processed image;
- acquiring a replacement pixel value corresponding to a target pixel point in the wipe area, wherein the replacement pixel value is determined based on a boundary pixel point corresponding to the target pixel point, and the boundary pixel point is a projection point of the target pixel point on an area boundary of the wipe area;
- and
- setting a corresponding target pixel point according to the replacement pixel value, so as to generate a completed image.
Dependencies are inferred from the claim text.