Method, apparatus, electronic devices, and storage medium of image processing
OwnerDikai Faninventor
Life of this patent
Estimating the term…
Abstract
A method, an apparatus, an electronic device, and storage medium of image processing are provided. A pose of a virtual object associated with a target object is determined based on a pose of the target object in a real scene; a virtual image corresponding to the virtual object is generated based on the pose of the virtual object; a first target image is obtained based on the virtual image and a real scene image corresponding to the real scene; and a second target image is obtained by performing smoothing on the first target image. Thus, a virtual object can be added to a target object in a real-scene image, and the image distortion and image noise due to the addition can be reduced.
Claims20
A method of image processing, comprising:
- determining a pose of a virtual object associated with a target object based on a pose of the target object in a real scene;
- generating a virtual image corresponding to the virtual object based on the pose of the virtual object;
- obtaining a first target image based on the virtual image and a real scene image corresponding to the real scene;
- and
- performing smoothing on the first target image to obtain a second target image.
An electronic device, comprising:
- at least one memory and at least one processor;
- wherein the memory is configured to store program codes, and the processor is configured to call the program codes stored in the memory to cause the electronic device to execute acts comprising:
- determining a pose of a virtual object associated with a target object based on a pose of the target object in a real scene;
- generating a virtual image corresponding to the virtual object based on the pose of the virtual object;
- obtaining a first target image based on the virtual image and a real scene image corresponding to the real scene;
- and
- performing smoothing on the first target image to obtain a second target image.
A non-transitory computer storage medium, wherein the non-transitory computer storage medium stores program codes, wherein the program codes, when executed by a computer device, cause the computer device to execute acts comprising:
- determining a pose of a virtual object associated with a target object based on a pose of the target object in a real scene;
- generating a virtual image corresponding to the virtual object based on the pose of the virtual object;
- obtaining a first target image based on the virtual image and a real scene image corresponding to the real scene;
- and
- performing smoothing on the first target image to obtain a second target image.
Dependencies are inferred from the claim text.