CPC G06T 11/60 (2013.01) [G06T 3/40 (2013.01); G06T 7/12 (2017.01); G06T 7/13 (2017.01); G06V 10/46 (2022.01)] | 20 Claims |
1. A method for image synthesis, comprising:
performing a convex hull extraction on a target object image in an image to be processed to obtain a first boundary frame line;
zooming out the first boundary frame line toward a center of the first boundary frame line according to a preset ratio to obtain a second boundary frame line;
determining, according to the target object image, at least one target ray where at least one connection point is located in synthesizing a first preset material with the target object image;
determining the at least one connection point between the first preset material and the target object image, according to the first boundary frame line, the second boundary frame line, a contour of the target object image, and the at least one target ray; and
synthesizing the first preset material and the target object image according to the at least one connection point, and displaying a synthesis result.
|