Image segmentation method and device, computer device and non-volatile storage medium
Abstract:
An image segmentation method and device, a computer device and a non-volatile storage medium are provided. The image segmentation method includes: performing super-pixel segmentation on an image to be segmented to obtain a super-pixel image, and binarizing the image to be segmented to obtain a binary image; combining the super-pixel image and the binary image to obtain a binary super-pixel image; performing distance transformation on the binary super-pixel image, to obtain a grayscale super-pixel image; marking seed points in the grayscale super-pixel image, to obtain a seed point super-pixel image in which grayscale values of the seed points are greater than a first value, and grayscale values of pixel blocks other than the seed points in target regions are the first value; and marking and filling the pixel blocks, grayscale values of which are the first value in the seed point super-pixel image, to obtain a segmented image.
Information query
Patent Agency Ranking
0/0