- 专利标题: IMAGE SEGMENTATION METHOD AND ELECTRONIC DEVICE
-
申请号: US17364892申请日: 2021-07-01
-
公开(公告)号: US20220005202A1公开(公告)日: 2022-01-06
- 发明人: Huai-En Wu
- 申请人: Coretronic Corporation
- 申请人地址: TW Hsin-Chu
- 专利权人: Coretronic Corporation
- 当前专利权人: Coretronic Corporation
- 当前专利权人地址: TW Hsin-Chu
- 优先权: CN202010633620.4 20200702
- 主分类号: G06T7/143
- IPC分类号: G06T7/143 ; G06T7/12
摘要:
The invention provides an image segmentation method and an electronic device. The image segmentation method includes the following steps. Regression analysis is performed on a first gray-scale image to obtain a residual image having an object backbone area. A pixel value of each pixel in the object backbone area is defined as an average gray-scale value of the object backbone area in the residual image, and a second gray-scale image having the object backbone area is generated. It is recursively determined whether a residual polarity of each adjacent pixel adjacent to 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 adjacent pixel is greater than a first threshold, so as to expand the object backbone area in the second gray-scale image, which is extracted as a target object.