CPC G06T 17/10 (2013.01) [G06F 3/04845 (2013.01); G06F 3/04847 (2013.01); G06F 3/04883 (2013.01); G06T 2200/24 (2013.01)] | 18 Claims |
1. A method for processing an image, comprising:
acquiring a sliding trajectory inputted by a user on a display component;
generating, based on the sliding trajectory, a first virtual model corresponding to the sliding trajectory; and
displaying the first virtual model in a target image at a first position,
wherein the generating, based on the sliding trajectory, the first virtual model corresponding to the sliding trajectory comprises:
determining, based on the sliding trajectory, a plurality of target points associated with the sliding trajectory;
acquiring, for each of the plurality of target points, a preset sub-model corresponding to the target point;
for each of the plurality of target points, converting the preset sub-model corresponding to the target point into a target sub-model based on geometric information of the target point; and
generating the first virtual model corresponding to the sliding trajectory based on the target sub-models corresponding to the respective target points.
|