CPC G06T 5/50 (2013.01) [G06T 3/40 (2013.01); G06T 7/10 (2017.01); G06T 2207/20016 (2013.01); G06T 2207/20221 (2013.01)] | 20 Claims |
1. An image data enhancement method, comprising:
segmenting an original image to obtain segmented images and target categories of the segmented images, and obtaining, by means of the target categories, categories to be enhanced;
binarizing the original image according to the categories to be enhanced to obtain binary images, and obtaining, according to a connected domain of the binary images, from the original image, instance images having a matching relationship with the categories to be enhanced;
performing perspective processes on the instance images to obtain first instance images, and zooming the first instance images to obtain second instance images; and
obtaining a vanishing point position from the original image, determining pasting positions of the second instance images according to the vanishing point position and geometric sizes of the second instance images, and pasting the second instance images to the original image according to the pasting positions to obtain an enhanced image of the original image.
|