摘要 |
PROBLEM TO BE SOLVED: To provide an image segmentation method and an image segmentation device.SOLUTION: The method comprises receiving a video image of a dynamic movement of a target object, acquiring a full-image optical flow of the video image to estimate a first displacement of each pixel therein, acquiring a background image optical flow of the video image to estimate a second displacement of a background pixel therein; comparing the first displacement with the second displacement to obtain a foreground region of the target object; extracting feature points in the video image in the foreground region, calculating a probability density of the feature points to determine the number of the target objects; performing visual tracking and movement trajectory analysis on the target object to track the target object; and performing stationary judgment and image segmentation on the target object according to an interframe displacement of the feature points, an interframe cutting window similarity and tracking box scaling.SELECTED DRAWING: Figure 1 |