Image segmentation method, computer program, storage medium, and electronic device

An image segmentation method, the method comprising: acquiring an image and a depth image of the image; acquiring a bar graph of the depth image, the bar graph including an abscissa and an ordinate; using a clustering algorithm to cluster the bar graph data to obtain two categories and centers of tw...

Full description

Saved in:
Bibliographic Details
Main Authors SYU, NAI-SHENG, HUANG, CHUN-HSIANG
Format Patent
LanguageChinese
English
Published 16.05.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:An image segmentation method, the method comprising: acquiring an image and a depth image of the image; acquiring a bar graph of the depth image, the bar graph including an abscissa and an ordinate; using a clustering algorithm to cluster the bar graph data to obtain two categories and centers of two categories; determining that the abscissa value with the corresponding smallest ordinate value between the centers of the two categories in the bar graph is a segmentation threshold; determining whether the segmentation threshold meets a preset condition; when the segmentation threshold meets a preset condition, the image is segmented into a foreground region and a background region according to the segmentation threshold. The invention also provides a computer program, a storage medium and an electronic device, which can prevent segmenting the front region and background region at a position where the image depth distribution is continuous.
Bibliography:Application Number: TW20187139740