US 11,893,747 B2
Image segmentation method and electronic device
Huai-En Wu, Hsin-Chu (TW)
Assigned to Coretronic Corporation, Hsin-Chu (TW)
Filed by Coretronic Corporation, Hsin-Chu (TW)
Filed on Jul. 1, 2021, as Appl. No. 17/364,892.
Claims priority of application No. 202010633620.4 (CN), filed on Jul. 2, 2020.
Prior Publication US 2022/0005202 A1, Jan. 6, 2022
Int. Cl. G06T 7/143 (2017.01); G06T 7/12 (2017.01)
CPC G06T 7/143 (2017.01) [G06T 7/12 (2017.01)] 18 Claims
OG exemplary drawing
 
1. An image segmentation method comprising:
obtaining a first gray-scale image;
performing regression analysis on the first gray-scale image to obtain a residual image, and determining an object backbone area of the residual image;
calculating an average gray-scale value of the object backbone area in the residual image to define a pixel value of each pixel in the object backbone area as the average gray-scale value, and generating a second gray-scale image having the object backbone area;
recursively determining whether a residual polarity of each of a plurality of adjacent pixels adjacent to a plurality of edge pixels of the object backbone area in the residual image is the same as a residual polarity of the corresponding edge pixel, and whether a pixel value of each of the plurality of adjacent pixels in the residual image is greater than a respectively corresponding first threshold, so as to expand the object backbone area in the second gray-scale image; and
extracting the object backbone area in the second gray-scale image subjected to the recursive determination as a target object.