Patent Document ID: 10073543
Application ID: 14619047
Patent Status: 1

Claim One:
1. An image segmentation method comprising: displaying, through a display component, an original designation region relative to an image, wherein the image comprises a plurality of pixels; after the original designation region is displayed, sensing a stroke on the image, wherein the stroke passes through a plurality of pixels of the image; after the stroke on the image is sensed, determining a regional area according to stroke information corresponding to the stroke on the image, wherein the regional area at least partially overlaps with the original designation region: generating a plurality of seeds corresponding to the stroke, the regional area, and the original designation region, wherein the seeds comprise foreground seeds and background seeds; if the stroke is a background stroke, the pixels passed by the background stroke are the background seeds; if the stroke is a foreground stroke, the pixels passed by the foreground stroke are the foreground seeds; if the original designation region is used to select a foreground, the pixels around the regional area and within the original designation region are the foreground seeds, and the pixels around the regional area and outside the original designation region are the background seeds; if the original designation region is used to select a background, the pixels around the regional area and within the original designation region are the background seeds, and the pixels around the regional area and outside the original designation region are the foreground seeds; and the pixels in the regional area not passed by the stroke are not classified as the foreground seeds or the background seeds; performing a segmentation within the regional area according to the seeds to update the original designation region; wherein under a first condition, the segmentation within the regional area is performed to increase an area of the original designation region within the regional area, and wherein under a second condition, the segmentation within the regional area is performed to decrease the area of the original designation region within the regional area; and wherein the regional area is determined according to the stroke by extending the regional area from the pixels passed by the stroke for w pixels, wherein w is an integer and is directly proportional to a length of the stroke.