US 12,236,657 B2
Image processing method and computing device
Yueh Chang, New Taipei (TW); Chin-Pin Kuo, New Taipei (TW); and Guo-Chin Sun, New Taipei (TW)
Assigned to HON HAI PRECISION INDUSTRY CO., LTD., New Taipei (TW)
Filed by HON HAI PRECISION INDUSTRY CO., LTD., New Taipei (TW)
Filed on Dec. 30, 2021, as Appl. No. 17/566,610.
Claims priority of application No. 202110006441.2 (CN), filed on Jan. 5, 2021.
Prior Publication US 2022/0215644 A1, Jul. 7, 2022
Int. Cl. G06V 10/26 (2022.01); G06T 3/4053 (2024.01); G06T 7/11 (2017.01); G06V 10/32 (2022.01); G06V 10/56 (2022.01); G06V 10/75 (2022.01)
CPC G06V 10/26 (2022.01) [G06T 3/4053 (2013.01); G06T 7/11 (2017.01); G06V 10/32 (2022.01); G06V 10/56 (2022.01); G06V 10/751 (2022.01); G06T 2207/10024 (2013.01)] 12 Claims
OG exemplary drawing
 
1. An image processing method applied to a computing device, the method comprising:
obtaining a detection image and a marked image, the marked image being obtained by marking objects in the detection image;
applying an image segmentation model to segment a first segmented image from the detection image, the detection image being a street view image, the image segmentation model comprising a feature extraction model and a classification model, the feature extraction model being used to extract features of the objects in the detection image, and the classification model being used to up-sample the detection image, determine types of the objects in the detection image, and output the first segmented image, wherein a size of the detection image is same as a size of the marked image, and a size of the first segmented image is smaller than the size of the detection image;
correcting the first segmented image according to the marked image to obtain a second segmented image, comprising: setting a scale factor; and performing a super-resolution processing on the first segmented image according to the scale factor and the marked image to obtain the second segmented image, comprising generating a reference image according to the scale factor and the size of the first segmented image, initial RGB values of all pixels in the reference image being same; setting RGB values for first pixels in the reference image according to the first segmented image; setting RGB values for second pixels other than the first pixels in the reference image according to the RGB values of the first pixels and the marked image; and using the reference image as the second segmented image after the RGB values of all pixels in the reference image are set; and
adjusting a size of the second segmented image to obtain an adjusted segmented image, and using the adjusted segmented image as a standard segmented image of the detection image.